Thread (31 messages) 31 messages, 4 authors, 2025-02-11

Re: [PATCH v2 0/8] KVM: arm64: FPSIMD/SVE/SME fixes

From: Mark Brown <broonie@kernel.org>
Date: 2025-02-08 00:27:37
Also in: stable

On Thu, Feb 06, 2025 at 02:10:54PM +0000, Mark Rutland wrote:
These patches fix some issues with the way KVM manages FPSIMD/SVE/SME
state. The series supersedes my earlier attempt at fixing the host SVE
state corruption issue:
...
Patch 8 addresses some mismanagement of ZCR_EL{1,2} which can result in
the host VMM unexpectedly receiving a SIGKILL. To fix this, we eagerly
switch ZCR_EL{1,2} at guest<->host transitions, as discussed on another
series:
  https://lore.kernel.org/linux-arm-kernel/Z4pAMaEYvdLpmbg2@J2N7QTR9R3/ (local)
  https://lore.kernel.org/linux-arm-kernel/86o6zzukwr.wl-maz@kernel.org/ (local)
  https://lore.kernel.org/linux-arm-kernel/Z5Dc-WMu2azhTuMn@J2N7QTR9R3/ (local)
The end result is that KVM loses ~100 lines of code, and becomes a bit
simpler to reason about.
Quite a bit, and much more clearly too which makes the whole thing more
managable and discoverable.

Reviewed-by: Mark Brown <broonie@kernel.org>
Tested-by: Mark Brown <broonie@kernel.org>

although I'm not sure I was actually testing anything you weren't.

Attachments

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help