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: <Zhx/Ltwvue04nW7g@finisterre.sirena.org.uk>
Date: Mon, 15 Apr 2024 10:13:18 +0900
From: Mark Brown <broonie@...nel.org>
To: Liao Chang <liaochang1@...wei.com>
Cc: catalin.marinas@....com, will@...nel.org, maz@...nel.org,
	oliver.upton@...ux.dev, james.morse@....com, suzuki.poulose@....com,
	yuzenghui@...wei.com, tglx@...utronix.de, mark.rutland@....com,
	ardb@...nel.org, anshuman.khandual@....com, miguel.luis@...cle.com,
	joey.gouly@....com, ryan.roberts@....com, jeremy.linton@....com,
	daniel.thompson@...aro.org, sumit.garg@...aro.org,
	liwei391@...wei.com, peterz@...radead.org, jpoimboe@...nel.org,
	ericchancf@...gle.com, kristina.martsenko@....com, robh@...nel.org,
	scott@...amperecomputing.com, songshuaishuai@...ylab.org,
	shijie@...amperecomputing.com, bhe@...hat.com,
	akpm@...ux-foundation.org, horms@...nel.org,
	rmk+kernel@...linux.org.uk, Jonathan.Cameron@...wei.com,
	takakura@...inux.co.jp, dianders@...omium.org, swboyd@...omium.org,
	frederic@...nel.org, reijiw@...gle.com, ruanjinjie@...wei.com,
	linux-arm-kernel@...ts.infradead.org, linux-kernel@...r.kernel.org,
	kvmarm@...ts.linux.dev
Subject: Re: [PATCH v2 5/9] arm64/cpufeature: Use alternatives to check
 enabled ARM64_HAS_NMI feature

On Thu, Apr 11, 2024 at 06:48:54AM +0000, Liao Chang wrote:
> Due to the historical reasons, cpus_have_const_cap() is more complicated
> than it needs to be. When CONFIG_ARM64_NMI=y the ARM64_HAS_NMI cpucap is
> a strict boot cpu feature which is detected and patched early on the
> boot cpu, which means no code depends on ARM64_HAS_NMI cpucap run in the
> window between the ARM64_HAS_NMI cpucap is detected and alternative is
> patched. So it would be nice to migrate caller over to
> alternative_has_cap_likey().

Just squash this one in as well.

Download attachment "signature.asc" of type "application/pgp-signature" (489 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ