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

Mark Brown broonie at kernel.org
Tue Dec 27 06:33:38 PST 2022


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.

To: Marc Zyngier <maz at kernel.org>
To: James Morse <james.morse at arm.com>
To: Alexandru Elisei <alexandru.elisei at arm.com>
To: Suzuki K Poulose <suzuki.poulose at arm.com>
To: Oliver Upton <oliver.upton at linux.dev>
To: Catalin Marinas <catalin.marinas at arm.com>
To: Will Deacon <will at kernel.org>
Cc: linux-arm-kernel at lists.infradead.org
Cc: kvmarm at lists.linux.dev
Signed-off-by: Mark Brown <broonie at 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                 | 33 +++++++++++++++++++---------
 arch/arm64/kvm/hyp/include/hyp/switch.h | 38 +++++++++++++++++++++++++++++++--
 2 files changed, 59 insertions(+), 12 deletions(-)
---
base-commit: 1b929c02afd37871d5afb9d498426f83432e71c2
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