[PATCH 0/3] arm64: errata: remove BF16 HWCAP due to incorrect result on Cortex-A510

Catalin Marinas catalin.marinas at arm.com
Fri Sep 16 10:44:07 PDT 2022


On Fri, 9 Sep 2022 17:59:35 +0100, James Morse wrote:
> Cortex-A510 has an erratum where the BFMMLA or VMMLA instructions might
> produce the incorrect result. This only happens if two Cortex-A510 CPUs
> are configured by the SoC manafacturer in a particular way to share some
> hardware, and are using it at the same time. It isn't possible for linux
> to know how the CPUs were configured, so the only option is to disable
> the BF16 feature for all Cortex-A510 CPUs.
> 
> [...]

Applied to arm64 (for-next/a510-erratum-2658417), thanks!

(I updated the last patch following Suzuki's comments)

[1/3] arm64: cpufeature: Force HWCAP to be based on the sysreg visible to user-space
      https://git.kernel.org/arm64/c/237405ebef58
[2/3] arm64: cpufeature: Expose get_arm64_ftr_reg() outside cpufeature.c
      https://git.kernel.org/arm64/c/445c953e4a84
[3/3] arm64: errata: remove BF16 HWCAP due to incorrect result on Cortex-A510
      https://git.kernel.org/arm64/c/1bdb0fbb2e27

-- 
Catalin




More information about the linux-arm-kernel mailing list