From patchwork Mon Nov 27 10:38:20 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mark Rutland X-Patchwork-Id: 119664 Delivered-To: patch@linaro.org Received: by 10.140.22.227 with SMTP id 90csp55532qgn; Mon, 27 Nov 2017 02:38:34 -0800 (PST) X-Google-Smtp-Source: AGs4zMbTYykXHVqi2BAPpzfy4GDGW+QahYGnykuK5/mIjk+o+Wq2pAG7OCLmSQRAPfNwmh5V3N2b X-Received: by 10.159.234.75 with SMTP id c11mr39674214plr.422.1511779114810; Mon, 27 Nov 2017 02:38:34 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1511779114; cv=none; d=google.com; s=arc-20160816; b=KmXZC+F4FCc3vePgJiktXFbt0cfR2SaOFSnn2Gnf+U1zDoGmN0E0A92nyzOpqyUqTq ghoEIA1xITmyCuxmaX/2t/tj7wv3kWGV5XQVPkxBU6W24ywhkfTDbyAQKhbDfkqaUrUm ZrLq8HfurA/jq3rHVwofrXSa9kxjipjl38rHF93eYnf6QRnINqmrNSzrIqdRHUkxzYKJ y43CpjEkPAtXacZLbNI5CiXs0BmdlJRnXeZhOW7K7ZPsJpOQOBUxsDNziVTYeV1Jbk/p lhQs1aFHmyvGPJuw7DVa8tAHSnZ2gkHNAPl2G0JAytsS/INwjAEiIi2BDTT2CO6hu5wi N8ZA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :arc-authentication-results; bh=h2n/FegfhbpOKLrZ9JosjppKwaWKn3PPfVz7rv2j8Yg=; b=gPJWOhn/I2KUtFsNsg/Nlj9l1WePCg7lJy6XKXwOPFUiuP/Rwd+jaVq94vs58j3K63 XPzfZqixHpAUq12kkVPwxZmjvC/nRbYjmHtiQKMUf8Ai0QxQfwUmCpnUPFeGtbAa5jMY Y80v4fZ57UIgEsBYwhM88dIVsa8a/fGPbYcoDPslHJZYOTM9CH9MfJQ8280RS+07CGKy fHUg6hYXWOUUWAL9rD3ebubo6jHuWnXVKZjQoTFO10gHOm1VCMJJMXsJaTehQacZ3i0/ zwnSbKZhRqt9zSQedbDpsTZmkMDJRfWtMZ5CSWTaNRdkA6lqhDlyvtIYECWuAkb+GVaD Ndew== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id h90si17333237plb.644.2017.11.27.02.38.34; Mon, 27 Nov 2017 02:38:34 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751897AbdK0Kic (ORCPT + 28 others); Mon, 27 Nov 2017 05:38:32 -0500 Received: from usa-sjc-mx-foss1.foss.arm.com ([217.140.101.70]:35738 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751835AbdK0Kib (ORCPT ); Mon, 27 Nov 2017 05:38:31 -0500 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.72.51.249]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 0ECD81435; Mon, 27 Nov 2017 02:38:31 -0800 (PST) Received: from lakrids.cambridge.arm.com (usa-sjc-imap-foss1.foss.arm.com [10.72.51.249]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id 7CEC83F246; Mon, 27 Nov 2017 02:38:29 -0800 (PST) From: Mark Rutland To: linux-kernel@vger.kernel.org, mingo@redhat.com Cc: acme@redhat.com, apw@canonical.com, joe@perches.com, mark.rutland@arm.com, paulmck@linux.vnet.ibm.com, peterz@infradead.org Subject: [PATCH 0/4] Final ACCESS_ONCE() cleanups for v4.15 Date: Mon, 27 Nov 2017 10:38:20 +0000 Message-Id: <20171127103824.36526-1-mark.rutland@arm.com> X-Mailer: git-send-email 2.11.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Now that the ACCESS_ONCE() conversion settled in v4.15-rc1, these patches remove the ACCESS_ONCE() definitions from the kernel, along with the newly redundant checkpatch warning suggesting {READ,WRITE}_ONCE() are preferred. One new user of ACCESS_ONCE() snuck into v4.15-rc1; the first patch in this series (previously sent on its own [1]) moves that over to READ_ONCE(). Otherwise, there are no remaining uses of ACCESS_ONCE(). Ingo, assuming there are no complaints, would you be happy to take this via the tip tree as a fixup for v4.15? I've also pushed the series to my core/access-once-removal branch [2]. Thanks, Mark. [1] https://lkml.kernel.org/r/20171114103138.9931-1-mark.rutland@arm.com [2] git://git.kernel.org/pub/scm/linux/kernel/git/mark/linux.git core/access-once-removal Mark Rutland (4): perf mmap: Convert ACCESS_ONCE() to READ_ONCE() tools: include: remove ACCESS_ONCE() compiler.h: remove ACCESS_ONCE() checkpatch: remove ACCESS_ONCE() warning include/linux/compiler.h | 47 ++++++++++-------------------------------- scripts/checkpatch.pl | 22 -------------------- tools/include/linux/compiler.h | 21 ++++++++----------- tools/perf/util/mmap.h | 2 +- 4 files changed, 21 insertions(+), 71 deletions(-) -- 2.11.0 Tested-by: Paul E. McKenney