KVM: arm64: pkvm: Preserve pending SError on exit from AArch32
authorMarc Zyngier <maz@kernel.org>
Wed, 13 Oct 2021 12:03:42 +0000 (13:03 +0100)
committerMarc Zyngier <maz@kernel.org>
Mon, 18 Oct 2021 15:57:09 +0000 (16:57 +0100)
commit271b7286058da636ab6f5f47722e098ca3a0478b
treebefc3b6e1ec3886d86ea7348c550000a685f4d4a
parentcbca19738472be8156d854663ed724b01255c932
KVM: arm64: pkvm: Preserve pending SError on exit from AArch32

Don't drop a potential SError when a guest gets caught red-handed
running AArch32 code.

Signed-off-by: Marc Zyngier <maz@kernel.org>
Reviewed-by: Fuad Tabba <tabba@google.com>
Tested-by: Fuad Tabba <tabba@google.com>
Link: https://lore.kernel.org/r/20211013120346.2926621-8-maz@kernel.org
arch/arm64/kvm/hyp/nvhe/switch.c