kvmarm.lists.cs.columbia.edu archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/3] KVM: arm64: Floating point documentation updates and code tweaks
@ 2023-03-07 17:37 Mark Brown
  2023-03-07 17:37 ` [PATCH v2 1/3] KVM: arm64: Document check for TIF_FOREIGN_FPSTATE Mark Brown
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Mark Brown @ 2023-03-07 17:37 UTC (permalink / raw)
  To: Marc Zyngier, James Morse, Alexandru Elisei, Suzuki K Poulose,
	Oliver Upton, Catalin Marinas, Will Deacon
  Cc: linux-arm-kernel, kvmarm, Mark Brown

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@kernel.org>


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2023-04-21 12:54 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-03-07 17:37 [PATCH v2 0/3] KVM: arm64: Floating point documentation updates and code tweaks Mark Brown
2023-03-07 17:37 ` [PATCH v2 1/3] KVM: arm64: Document check for TIF_FOREIGN_FPSTATE Mark Brown
2023-03-07 17:37 ` [PATCH v2 2/3] KVM: arm64: Restructure check for SVE support in FP trap handler Mark Brown
2023-03-07 17:37 ` [PATCH v2 3/3] KVM: arm64: Clarify host SME state management Mark Brown
2023-04-21 12:54 ` [PATCH v2 0/3] KVM: arm64: Floating point documentation updates and code tweaks Marc Zyngier

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).