Thread (2 messages) 2 messages, 2 authors, 2025-07-21

Re: [PATCH] KVM: arm64: Check for SYSREGS_ON_CPU before accessing the CPU state

From: Oliver Upton <hidden>
Date: 2025-07-21 22:25:00
Also in: kvm, kvmarm, stable

On Sun, 20 Jul 2025 11:22:29 +0100, Marc Zyngier wrote:
Mark Brown reports that since we commit to making exceptions
visible without the vcpu being loaded, the external abort selftest
fails.

Upon investigation, it turns out that the code that makes registers
affected by an exception visible to the guest is completely broken
on VHE, as we don't check whether the system registers are loaded
on the CPU at this point. We managed to get away with this so far,
but that's obviously as bad as it gets,

[...]
Applied to next, thanks!

[1/1] KVM: arm64: Check for SYSREGS_ON_CPU before accessing the CPU state
      https://git.kernel.org/kvmarm/kvmarm/c/c6e35dff58d3

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