diff options
| author | Fuad Tabba <fuad.tabba@linux.dev> | 2026-10-01 14:56:54 +0100 |
|---|---|---|
| committer | Marc Zyngier <maz@kernel.org> | 2026-10-02 15:22:39 +0100 |
| commit | 3708f6342f010d66a767b587dc881f18d95ceb3e (patch) | |
| tree | 76c31dfc341189cd12aa0d2f52a858d4c8760492 /tools/perf/scripts/python/task-analyzer.py | |
| parent | fd73f4a6659897191fa0d40695fe370925dd3780 (diff) | |
KVM: arm64: Sync HCR_EL2.VSE back to the host vCPU under pKVM
flush_hyp_vcpu() copies HCR_EL2.VSE from the host vCPU into the hyp
vCPU on every entry, and nothing copies it back. Once the guest takes
the vSError the hyp vCPU's copy clears with the hardware bit while the
host's stays set, so the next entry pends the same SError again,
KVM_GET_VCPU_EVENTS keeps reporting it, and kvm_arch_vcpu_runnable()
never lets the vCPU block in WFI.
Reflect VSE back on every exit, which the flush-side comment already
states.
Fixes: 734dc8c01c838 ("KVM: arm64: Implement lazy vCPU state sync for non-protected guests")
Signed-off-by: Fuad Tabba <fuad.tabba@linux.dev>
Link: https://patch.msgid.link/20261001135711.1640520-2-fuad.tabba@linux.dev
Signed-off-by: Marc Zyngier <maz@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions
