[PATCH v4 0/9] KVM: arm64: Fix handling of host fpsimd/sve state in protected mode

Marc Zyngier maz at kernel.org
Tue Jun 4 07:30:19 PDT 2024


On Mon, 03 Jun 2024 13:28:42 +0100, Fuad Tabba wrote:
> Changes since v3 [1]:
> - Rebased on Linux 6.10-rc2 (c3f38fa61af7)
> - Dropped v3 patches 8--11 (Oliver)
> - Removed unnecessary isb()s (Oliver)
> - Formatting/comments (Mark)
> - Fix __sve_save_state()/__sve_restore_state() prototypes (Mark)
> - Save/restore ffr with the sve state
> - Added a patch that checks at hyp that SME features aren't
> enabled on guest entry, to ensure it's not in streaming mode
> 
> [...]

Applied to fixes, thanks!

[1/9] KVM: arm64: Reintroduce __sve_save_state
      commit: 87bb39ed40bdf1596b8820e800226e24eb642677
[2/9] KVM: arm64: Fix prototype for __sve_save_state/__sve_restore_state
      commit: 45f4ea9bcfe909b3461059990b1e232e55dde809
[3/9] KVM: arm64: Abstract set/clear of CPTR_EL2 bits behind helper
      commit: 6d8fb3cbf7e06431a607c30c1bc4cd53a62c220a
[4/9] KVM: arm64: Specialize handling of host fpsimd state on trap
      commit: e511e08a9f496948b13aac50610f2d17335f56c3
[5/9] KVM: arm64: Allocate memory mapped at hyp for host sve state in pKVM
      commit: 66d5b53e20a6e00b7ce3b652a3e2db967f7b33d0
[6/9] KVM: arm64: Eagerly restore host fpsimd/sve state in pKVM
      commit: b5b9955617bc0b41546f2fa7c3dbcc048b43dc82
[7/9] KVM: arm64: Consolidate initializing the host data's fpsimd_state/sve in pKVM
      commit: 1696fc2174dbab12228ea9ec4c213d6aeea348f8
[8/9] KVM: arm64: Refactor CPACR trap bit setting/clearing to use ELx format
      commit: a69283ae1db8dd416870d931caa9e2d3d2c1cd8b
[9/9] KVM: arm64: Ensure that SME controls are disabled in protected mode
      commit: afb91f5f8ad7af172d993a34fde1947892408f53

Cheers,

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





More information about the linux-arm-kernel mailing list