lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <tip-6a5b78b32d10cd7901f639870eca304b270769f9@git.kernel.org>
Date:   Wed, 26 Jun 2019 05:36:00 -0700
From:   tip-bot for Catalin Marinas <tipbot@...or.com>
To:     linux-tip-commits@...r.kernel.org
Cc:     will.deacon@....com, linux-kernel@...r.kernel.org,
        huw@...eweavers.com, vincenzo.frascino@....com, shuah@...nel.org,
        linux@...linux.org.uk, paul.burton@...s.com, arnd@...db.de,
        pcc@...gle.com, andre.przywara@....com, tglx@...utronix.de,
        ralf@...ux-mips.org, linux@...musvillemoes.dk,
        daniel.lezcano@...aro.org, mingo@...nel.org, sthotton@...vell.com,
        salyzyn@...roid.com, catalin.marinas@....com, hpa@...or.com,
        0x7f454c46@...il.com
Subject: [tip:timers/vdso] arm64: compat: No need for pre-ARMv7 barriers on
 an ARMv8 system

Commit-ID:  6a5b78b32d10cd7901f639870eca304b270769f9
Gitweb:     https://git.kernel.org/tip/6a5b78b32d10cd7901f639870eca304b270769f9
Author:     Catalin Marinas <catalin.marinas@....com>
AuthorDate: Mon, 24 Jun 2019 15:00:19 +0100
Committer:  Thomas Gleixner <tglx@...utronix.de>
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 <catalin.marinas@....com>
Signed-off-by: Thomas Gleixner <tglx@...utronix.de>
Cc: Vincenzo Frascino <vincenzo.frascino@....com>
Cc: linux-arch@...r.kernel.org
Cc: linux-arm-kernel@...ts.infradead.org
Cc: linux-mips@...r.kernel.org
Cc: linux-kselftest@...r.kernel.org
Cc: Will Deacon <will.deacon@....com>
Cc: Arnd Bergmann <arnd@...db.de>
Cc: Russell King <linux@...linux.org.uk>
Cc: Ralf Baechle <ralf@...ux-mips.org>
Cc: Paul Burton <paul.burton@...s.com>
Cc: Daniel Lezcano <daniel.lezcano@...aro.org>
Cc: Mark Salyzyn <salyzyn@...roid.com>
Cc: Peter Collingbourne <pcc@...gle.com>
Cc: Shuah Khan <shuah@...nel.org>
Cc: Dmitry Safonov <0x7f454c46@...il.com>
Cc: Rasmus Villemoes <linux@...musvillemoes.dk>
Cc: Huw Davies <huw@...eweavers.com>
Cc: Shijith Thotton <sthotton@...vell.com>
Cc: Andre Przywara <andre.przywara@....com>
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)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ