[stable:PATCH v5.4.225 0/2] arm64: errata: Spectre-BHB fixes

Greg KH greg at kroah.com
Sat Dec 3 05:32:39 PST 2022


On Wed, Nov 30, 2022 at 06:28:17PM +0000, James Morse wrote:
> Hello!
> 
> The first patch fixes an issue reported by Sami, where linux panic()s
> when bringing secondary CPUs online. The problem was the Spectre
> workarounds trying to allocate a new slot for mitigating KVM when
> those pages are no longer writeable.
> 
> While debugging that issue, I spotted the Spectre-BHB KVM mitigation was
> over-riding the Spectre-v2 KVM Mitigation. It's supposed to happen the
> other way round.
> 
> The backports aren't the same as mainline because the spectre mitigation code
> was totally rewritten for v5.10, and prior to that the KVM infrastructure
> is very different.

All now queued up, thanks.

greg k-h



More information about the linux-arm-kernel mailing list