(subset) [PATCH v2 0/2] arm64/sme: Fix SMPRI_EL1 traps for KVM guests

Marc Zyngier maz at kernel.org
Tue Nov 1 12:34:50 PDT 2022


On Tue, 1 Nov 2022 11:27:13 +0000, Mark Brown wrote:
> When adding support for SME I missed management of traps for SMPRI_EL1
> in KVM guests, and also the need to manage TPIDR2_EL0 fine grained traps
> for EL1.  This series adds that management, and also updates the
> documentation to help avoid such issues in future.
> 
> This was noticed due to Vincent Donnefort noticing that qemu has
> implemented support for SME virtualisation but not fine grained traps
> which was causing problems for qemu in nVHE mode since that already used
> fine grained traps with SME, the FGT registers are not implemented and
> UNDEF.  As a result of this change VHE will also be affected so a
> separate series "KVM: arm: Refuse to enable KVM on systems with SME but
> not FGT" has been sent which will ensure we don't run on such systems
> though initial review suggests that this will likely be treated as a
> qemu documentation issue.
> 
> [...]

Applied to fixes, thanks!

[1/2] arm64: booting: Document our requirements for fine grained traps with SME
      commit: be0ddf5293a7895a8c9096e1a8560930c6a0ab3f

Cheers,

	M.
-- 
Without deviation from the norm, progress is not possible.





More information about the linux-arm-kernel mailing list