[PATCH v1] arm64: errata: pass REVIDR when matching target implementation CPUs

Marc Zyngier maz at kernel.org
Wed Sep 2 00:50:52 PDT 2026


On Mon, 31 Aug 2026 11:54:44 +0100,
Khushit Shah <khushit.shah at nutanix.com> wrote:
> 
> When target implementation CPUs are provided, is_affected_midr_range()
> accidentally passed the MIDR as both arguments to __is_affected_midr_range(),
> so the REVIDR mask check operated on the wrong register.
> 
> Pass REVIDR as intended.
> 
> Fixes: 86edf6bdcf05 ("smccc/kvm_guest: Enable errata based on implementation CPUs")
> Cc: stable at vger.kernel.org
> Signed-off-by: Khushit Shah <khushit.shah at nutanix.com>

Acked-by: Marc Zyngier <maz at kernel.org>

	M.

-- 
Jazz isn't dead. It just smells funny.



More information about the linux-arm-kernel mailing list