Received: by 2002:a25:f815:0:0:0:0:0 with SMTP id u21csp3358644ybd; Tue, 25 Jun 2019 00:56:59 -0700 (PDT) X-Google-Smtp-Source: APXvYqz6A7b9qprPAW6RlR6BpI+IcoD7g3nS5DFpsCaT7q2NMNqIh2/UrYL0pIeeJUfXwhMSp13h X-Received: by 2002:a17:902:e58b:: with SMTP id cl11mr130850289plb.24.1561449419168; Tue, 25 Jun 2019 00:56:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1561449419; cv=none; d=google.com; s=arc-20160816; b=cx0kFcYYa9aXSSMCSoEh6VsimvfbsRaQtUQl3MIiy0uj+ml8wJa4w4VBnYdqDZlArW 9GXgRr24ny0+14aR7NIx3mKRcJyv590TY+mMoQRpBs9mQE4r+Wno2cVjkkuTQwLG49u2 AsRLEjt+MfVjchnC1uv6WfYh/DOJNLU7BmatRdOUNwD6u2lp/sYLm/pciYk6DRIHoB/3 Wfp9wZIO0ttfPrD0UMXETWTMlKtLCkPFXNVLr3mKjQm4KWW075r1thjHfRd4YzBG4h16 VLLq6VhJh7BuY934o+dyIszbT9ZwqUazE2XEQoTeaN3lQIbbBeQ+9hvhqQXvRSHV0bB7 WUCg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-disposition :content-transfer-encoding:mime-version:robot-unsubscribe:robot-id :git-commit-id:subject:to:references:in-reply-to:reply-to:cc :message-id:from:date:dkim-signature:dkim-filter; bh=LWAeiaRvnA4EspPNinf6f+GmKruliu9fUWn5B93cIZk=; b=EELDJyvssCbQ8Zr8bYQi1lrKIKTIZ3BVe47LAJXoh3HRRKQCbmJ74x4MyUH+63ngH9 xSCEnJn2ajePvMCNnYfoSOuGpuj9tA3To8ecU2hGZObt9eHUrft9IUSnN6MIy4+IEUpH +RRYxnPvBqLa98ycSJ5VHF9ndqiyi7NYddKataQgETV2tNrW0y+HOGKaJbCrsibKG234 h/XFqPDbxQGLYrNMlDK1qiX4LbJD1CoT1jZQaiO1+V61eonklQFkgLMY3AJtMadB6Wrk UpJGduXwZ6AjKoYQr2SBaL3KZEeTvW269tcQXPJ+MXh1LYfWdZhm3ftD35iRs4BIpjYi 432A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@zytor.com header.s=2019061801 header.b=gm0Vc1+Z; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=zytor.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v45si2919049pgn.305.2019.06.25.00.56.43; Tue, 25 Jun 2019 00:56:59 -0700 (PDT) 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; dkim=pass header.i=@zytor.com header.s=2019061801 header.b=gm0Vc1+Z; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=zytor.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729857AbfFYHu7 (ORCPT + 99 others); Tue, 25 Jun 2019 03:50:59 -0400 Received: from terminus.zytor.com ([198.137.202.136]:50347 "EHLO terminus.zytor.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726441AbfFYHu7 (ORCPT ); Tue, 25 Jun 2019 03:50:59 -0400 Received: from terminus.zytor.com (localhost [127.0.0.1]) by terminus.zytor.com (8.15.2/8.15.2) with ESMTPS id x5P7oVvs3516923 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO); Tue, 25 Jun 2019 00:50:31 -0700 DKIM-Filter: OpenDKIM Filter v2.11.0 terminus.zytor.com x5P7oVvs3516923 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=zytor.com; s=2019061801; t=1561449032; bh=LWAeiaRvnA4EspPNinf6f+GmKruliu9fUWn5B93cIZk=; h=Date:From:Cc:Reply-To:In-Reply-To:References:To:Subject:From; b=gm0Vc1+ZFp4YJzQ1J/ODjijFLxjO4TOeoF+eywI2MVM8SFGkUIXpL8+dxNgs77dzS xkER888c7ILNz7HrbguYC75itEKJcu6RjcPsJlzQrbPepKKrbjNGVGTuTGAlzsIrKb gP8XPZlwg7bTn0zSnraKQ4KoZNL2JGR7t4pQndbdngtc0MWKfDd6G/W482RzZlmoSk BqybW8l1OJo6IDPJGwN7YsbYBafIQD6gTnQYlayKESxEfEtvGbVveaiZ8PO2AlKfUV MMZv5vKgaTDGX8BTDygVwxcnIQZgB97tbFFzgo7K5CQBB7i1IW9hDd/FmU9E4ii1i7 fjAixmahKr67w== Received: (from tipbot@localhost) by terminus.zytor.com (8.15.2/8.15.2/Submit) id x5P7oVdA3516917; Tue, 25 Jun 2019 00:50:31 -0700 Date: Tue, 25 Jun 2019 00:50:31 -0700 X-Authentication-Warning: terminus.zytor.com: tipbot set sender to tipbot@zytor.com using -f From: tip-bot for Catalin Marinas Message-ID: Cc: linux-kernel@vger.kernel.org, linux@armlinux.org.uk, tglx@linutronix.de, 0x7f454c46@gmail.com, salyzyn@android.com, daniel.lezcano@linaro.org, shuah@kernel.org, paul.burton@mips.com, andre.przywara@arm.com, catalin.marinas@arm.com, sthotton@marvell.com, huw@codeweavers.com, ralf@linux-mips.org, arnd@arndb.de, pcc@google.com, linux@rasmusvillemoes.dk, hpa@zytor.com, mingo@kernel.org, vincenzo.frascino@arm.com, will.deacon@arm.com Reply-To: 0x7f454c46@gmail.com, salyzyn@android.com, linux-kernel@vger.kernel.org, linux@armlinux.org.uk, tglx@linutronix.de, shuah@kernel.org, daniel.lezcano@linaro.org, sthotton@marvell.com, ralf@linux-mips.org, huw@codeweavers.com, paul.burton@mips.com, andre.przywara@arm.com, catalin.marinas@arm.com, pcc@google.com, linux@rasmusvillemoes.dk, hpa@zytor.com, mingo@kernel.org, vincenzo.frascino@arm.com, will.deacon@arm.com, arnd@arndb.de In-Reply-To: <20190624140018.GD29120@arrakis.emea.arm.com> References: <20190624140018.GD29120@arrakis.emea.arm.com> To: linux-tip-commits@vger.kernel.org Subject: [tip:timers/vdso] arm64: compat: No need for pre-ARMv7 barriers on an ARMv8 system Git-Commit-ID: 53d87b37a2a4a4b6b0c7f8073c4be04022252e26 X-Mailer: tip-git-log-daemon Robot-ID: Robot-Unsubscribe: Contact to get blacklisted from these emails MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset=UTF-8 Content-Disposition: inline X-Spam-Status: No, score=-0.8 required=5.0 tests=ALL_TRUSTED,BAYES_00, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, FREEMAIL_FORGED_REPLYTO,FREEMAIL_REPLYTO_END_DIGIT autolearn=no autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on terminus.zytor.com Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Commit-ID: 53d87b37a2a4a4b6b0c7f8073c4be04022252e26 Gitweb: https://git.kernel.org/tip/53d87b37a2a4a4b6b0c7f8073c4be04022252e26 Author: Catalin Marinas AuthorDate: Mon, 24 Jun 2019 15:00:19 +0100 Committer: Thomas Gleixner CommitDate: Tue, 25 Jun 2019 09:43:38 +0200 arm64: compat: No need for pre-ARMv7 barriers on an ARMv8 system Remove the deprecated (pre-ARMv7) compat barriers as they would not be used on an ARMv8 system. Fixes: a7f71a2c8903 ("arm64: compat: Add vDSO") Signed-off-by: Catalin Marinas Cc: Vincenzo Frascino Cc: linux-arch@vger.kernel.org Cc: linux-arm-kernel@lists.infradead.org Cc: linux-mips@vger.kernel.org Cc: linux-kselftest@vger.kernel.org Cc: Will Deacon Cc: Arnd Bergmann Cc: Russell King Cc: Ralf Baechle Cc: Paul Burton Cc: Daniel Lezcano Cc: Mark Salyzyn Cc: Peter Collingbourne Cc: Shuah Khan Cc: Dmitry Safonov <0x7f454c46@gmail.com> Cc: Rasmus Villemoes Cc: Huw Davies Cc: Shijith Thotton Cc: Andre Przywara Link: https://lkml.kernel.org/r/20190624140018.GD29120@arrakis.emea.arm.com --- arch/arm64/include/asm/vdso/compat_barrier.h | 7 ------- 1 file changed, 7 deletions(-) diff --git a/arch/arm64/include/asm/vdso/compat_barrier.h b/arch/arm64/include/asm/vdso/compat_barrier.h index ea24ea856b07..fb60a88b5ed4 100644 --- a/arch/arm64/include/asm/vdso/compat_barrier.h +++ b/arch/arm64/include/asm/vdso/compat_barrier.h @@ -18,14 +18,7 @@ #undef dmb #endif -#if __LINUX_ARM_ARCH__ >= 7 #define dmb(option) __asm__ __volatile__ ("dmb " #option : : : "memory") -#elif __LINUX_ARM_ARCH__ == 6 -#define dmb(x) __asm__ __volatile__ ("mcr p15, 0, %0, c7, c10, 5" \ - : : "r" (0) : "memory") -#else -#define dmb(x) __asm__ __volatile__ ("" : : : "memory") -#endif #if __LINUX_ARM_ARCH__ >= 8 #define aarch32_smp_mb() dmb(ish)