Home
last modified time | relevance | path

Searched hist:"528 ada2811ba0bb2b2db5bf0f829b48c50f3c13c" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/arch/arm64/kvm/
H A Dhypercalls.cdiff 528ada2811ba0bb2b2db5bf0f829b48c50f3c13c Mon May 16 11:32:54 CDT 2022 Marc Zyngier <maz@kernel.org> KVM: arm64: Fix hypercall bitmap writeback when vcpus have already run

We generally want to disallow hypercall bitmaps being changed
once vcpus have already run. But we must allow the write if
the written value is unchanged so that userspace can rewrite
the register file on reboot, for example.

Without this, a QEMU-based VM will fail to reboot correctly.

The original code was correct, and it is me that introduced
the regression.

Fixes: 05714cab7d63 ("KVM: arm64: Setup a framework for hypercall bitmap firmware registers")
Signed-off-by: Marc Zyngier <maz@kernel.org>