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]
Date: Fri, 31 May 2024 18:54:54 +0200
From: "Arnd Bergmann" <arnd@...nel.org>
To: "Linus Torvalds" <torvalds@...ux-foundation.org>,
 "Arnd Bergmann" <arnd@...db.de>
Cc: "Maciej W. Rozycki" <macro@...am.me.uk>,
 "Paul E. McKenney" <paulmck@...nel.org>,
 "John Paul Adrian Glaubitz" <glaubitz@...sik.fu-berlin.de>,
 linux-alpha@...r.kernel.org,
 "Richard Henderson" <richard.henderson@...aro.org>,
 "Ivan Kokshaysky" <ink@...assic.park.msu.ru>,
 "Matt Turner" <mattst88@...il.com>,
 "Alexander Viro" <viro@...iv.linux.org.uk>, "Marc Zyngier" <maz@...nel.org>,
 linux-kernel@...r.kernel.org, "Michael Cree" <mcree@...on.net.nz>,
 "Frank Scheiner" <frank.scheiner@....de>
Subject: Re: [PATCH 00/14] alpha: cleanups for 6.10

On Fri, May 31, 2024, at 18:32, Linus Torvalds wrote:
> On Fri, 31 May 2024 at 08:48, Arnd Bergmann <arnd@...db.de> wrote:
>
> and the solution would be to make a __WRITE_ONCE() that then uses
> "sizeof()" to decide at compile-time whether it can just do it as a
> regular write, or whether it needs to do it as a LL/SC loop.

Just to clarify: I did not mean to suggest we actually
apply the patch from my email or anything close to it, this was
meant as a demonstration for instances that are likely broken but
each one would need to be individually documented if we were to
try to fix them, as Maciej asked about what it would take.

My "alpha: drop pre-EV56 support" actually removed two workarounds
for non-BWX alphas, and neither of them even uses WRITE_ONCE,
so these would also have gone unnoticed by any changes we do
to WRITE_ONCE.

https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/include/linux/?id=a4184174be36369c3af8d937e165f28a43ef1e02

    Arnd

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ