[PATCH v2 0/3] KVM: arm64: Floating point documentation updates and code tweaks

Mark Brown broonie at kernel.org
Tue Mar 7 09:37:13 PST 2023


This series has some improvements to the documentation and code for the
KVM floating point code, the main one being that it documents that the
current behaviour where we disable streaming mode and ZA prior to
running guests as being the intended behaviour. There's a more detailed
discussion of that change in the patch commit log, but briefly we need
to disable streaming mode in order to avoid EL1 triggering SME traps to
itself due to executing instructions which should be valid.

Support for SME in guests is still in progress, due to the introduction
of new register state in SME2 it interacts with the pending SME2 support
series so I was hoping to get that merged first.

Changes in v2:
- Rebased onto v6.3-rc1.
- Small clarifications and tweaks.
- Link to v1: https://lore.kernel.org/r/20221214-kvm-arm64-sme-context-switch-v1-0-383b4699de06@kernel.org

---
Mark Brown (3):
      KVM: arm64: Document check for TIF_FOREIGN_FPSTATE
      KVM: arm64: Restructure check for SVE support in FP trap handler
      KVM: arm64: Clarify host SME state management

 arch/arm64/kvm/fpsimd.c                 | 26 +++++++++++++++++---------
 arch/arm64/kvm/hyp/include/hyp/switch.h | 12 ++++++++++--
 2 files changed, 27 insertions(+), 11 deletions(-)
---
base-commit: fe15c26ee26efa11741a7b632e9f23b01aca4cc6
change-id: 20221214-kvm-arm64-sme-context-switch-532dcefafb81

Best regards,
-- 
Mark Brown <broonie at kernel.org>




More information about the linux-arm-kernel mailing list