Received: by 2002:a25:f815:0:0:0:0:0 with SMTP id u21csp755069ybd; Wed, 26 Jun 2019 05:37:48 -0700 (PDT) X-Google-Smtp-Source: APXvYqz7nnNUjz8WQ+eKzONgP0HLiZiwf2B5QEYMomJ0apOxBCdk53sHKxUycoBCghHrY2A9o8qI X-Received: by 2002:a17:902:363:: with SMTP id 90mr5112081pld.340.1561552668632; Wed, 26 Jun 2019 05:37:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1561552668; cv=none; d=google.com; s=arc-20160816; b=1IjCHJ3lzTJwv91is62bmFU4jMQA+8JwWPjfUC3YOxaaGoQ0Gt+G8RgA6j4BMjnQgT 3qrD+tazB18DBd187OwzYCagNsFL8gNKgX+bNM/ixZY2AJhq5HWDXjLoFuxpVe8SdcFP EgA1RF/+lbseIPhx9Tv1CouTFiOQ024rZoekuw0PBqY9DiDVBEyutNYvnOevAN3m0nGO YZOTq+pO1XM5F3l9EGxPJXl52SyZTPcxuLypFdaH1fql5RdsmlnUCO0NEpb+eqrG1Np1 ilWfew4uf/Q+DNibHKY0XJ7jC9/zwlavq3nVjFWVFrUlayBw1U/uHVlxCjuYCgUevtaS 8I6w== 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=42+yJjAoGpxbbBcXAXkO7smhtLvMGHoPbOt+S/aE0Mg=; b=MDpgSUdA/1WWA8WPxRjvsN1TY/xykASX+sovbUrhHhQxB0tI7upx3sQIJoKAb4SFqU fKunTcJeSBlAFEVg/ZDK1yrDpxm3+M2E7foPUF0lkhN6CTLltH3yYjeSkR4LQf7qlxuv QsfD4Me22Yuuh2q4pm+YN7oLqJfgiplnaTI4GT7iCL07cSmzDUCb8zonajf9RyNyKpCR Eio0ht/DiYatJn82wX7VTM4vspwrqNHtBigZ4fl9JDItIdECIZjGZAlcecGpapENybeo ymg87avy0dVxJQRzCPtqvuQJB9kTzusBj6qsuO+Lw4BP7kzoem8uV4G9vJ9Z/zNYUJ7u B/jw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@zytor.com header.s=2019061801 header.b=opTctyyK; 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 g12si14892126pgd.488.2019.06.26.05.37.32; Wed, 26 Jun 2019 05:37:48 -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=opTctyyK; 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 S1727432AbfFZMgl (ORCPT + 99 others); Wed, 26 Jun 2019 08:36:41 -0400 Received: from terminus.zytor.com ([198.137.202.136]:36253 "EHLO terminus.zytor.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726297AbfFZMgl (ORCPT ); Wed, 26 Jun 2019 08:36:41 -0400 Received: from terminus.zytor.com (localhost [127.0.0.1]) by terminus.zytor.com (8.15.2/8.15.2) with ESMTPS id x5QCa0o64104321 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO); Wed, 26 Jun 2019 05:36:00 -0700 DKIM-Filter: OpenDKIM Filter v2.11.0 terminus.zytor.com x5QCa0o64104321 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=zytor.com; s=2019061801; t=1561552561; bh=42+yJjAoGpxbbBcXAXkO7smhtLvMGHoPbOt+S/aE0Mg=; h=Date:From:Cc:Reply-To:In-Reply-To:References:To:Subject:From; b=opTctyyKRDAiqeaPBRPgPdfxItUVMNCUWdWhTwFeQuiD6vWsggDKr/VKuk5TkVBh1 vvs0ab43ETbmbosc/J7Bi9mw4zdA8fFwvuVbnnIlgIp2m/IC+dvsFMPfhtAss0C3NP op+zHYxYy9teNSuJJ7o4v/FbB/fTd5JTJzxmhy483yaG2AHe1wjwjFiFDYTu9ay0aY 0XsH5j9vpo/8yhDZ2vU6nboZX45PhURDj6g+GMpz4RX0ZfuVV1wXUDK0HqXXYYhmXI 42tnu1E3/wbjpS62KSYru0bHVa6SijfNAVDsBa96EiGMeEC5Zu2SzA+v164JpUzViA skDrUVrKSTMOw== Received: (from tipbot@localhost) by terminus.zytor.com (8.15.2/8.15.2/Submit) id x5QCa0A04104316; Wed, 26 Jun 2019 05:36:00 -0700 Date: Wed, 26 Jun 2019 05:36:00 -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: will.deacon@arm.com, linux-kernel@vger.kernel.org, huw@codeweavers.com, vincenzo.frascino@arm.com, shuah@kernel.org, linux@armlinux.org.uk, paul.burton@mips.com, arnd@arndb.de, pcc@google.com, andre.przywara@arm.com, tglx@linutronix.de, ralf@linux-mips.org, linux@rasmusvillemoes.dk, daniel.lezcano@linaro.org, mingo@kernel.org, sthotton@marvell.com, salyzyn@android.com, catalin.marinas@arm.com, hpa@zytor.com, 0x7f454c46@gmail.com Reply-To: huw@codeweavers.com, linux-kernel@vger.kernel.org, vincenzo.frascino@arm.com, shuah@kernel.org, will.deacon@arm.com, andre.przywara@arm.com, paul.burton@mips.com, arnd@arndb.de, pcc@google.com, linux@armlinux.org.uk, ralf@linux-mips.org, linux@rasmusvillemoes.dk, tglx@linutronix.de, catalin.marinas@arm.com, salyzyn@android.com, 0x7f454c46@gmail.com, hpa@zytor.com, sthotton@marvell.com, mingo@kernel.org, daniel.lezcano@linaro.org 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: 6a5b78b32d10cd7901f639870eca304b270769f9 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=2.4 required=5.0 tests=ALL_TRUSTED,BAYES_00, DATE_IN_FUTURE_12_24,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-Level: ** 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: 6a5b78b32d10cd7901f639870eca304b270769f9 Gitweb: https://git.kernel.org/tip/6a5b78b32d10cd7901f639870eca304b270769f9 Author: Catalin Marinas AuthorDate: Mon, 24 Jun 2019 15:00:19 +0100 Committer: Thomas Gleixner CommitDate: Wed, 26 Jun 2019 07:28:10 +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 Signed-off-by: Thomas Gleixner 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)