]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
KVM: arm64: Re-mask SError after the one instruction window
authorJames Morse <james.morse@arm.com>
Tue, 18 Jun 2019 15:18:08 +0000 (16:18 +0100)
committerMarc Zyngier <marc.zyngier@arm.com>
Fri, 5 Jul 2019 12:03:34 +0000 (13:03 +0100)
commitdad6321ffacadbd1235faaf84897b63050b81a5f
tree6bf8a4feb46790a57d72b7ad50b57fc584468fd6
parent3276cc2489641f7f37e9558f5fe9d6ae17a25528
KVM: arm64: Re-mask SError after the one instruction window

KVM consumes any SError that were pending during guest exit with a
dsb/isb and unmasking SError. It currently leaves SError unmasked for
the rest of world-switch.

This means any SError that occurs during this part of world-switch
will cause a hyp-panic. We'd much prefer it to remain pending until
we return to the host.

Signed-off-by: James Morse <james.morse@arm.com>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
arch/arm64/kvm/hyp/entry.S