]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: arm64: nVHE: Don't consume host SErrors with ESB
authorAndrew Scull <ascull@google.com>
Tue, 15 Sep 2020 10:46:31 +0000 (11:46 +0100)
committerMarc Zyngier <maz@kernel.org>
Tue, 15 Sep 2020 17:39:02 +0000 (18:39 +0100)
commit99e7bdb5c842cd90c81c756e3bfddc0a04d87c21
tree38efb2ec1a3e1553abfd713b250c38c4f1db95d7
parent671860eae56f3f845b08d0e6ba146f85db53c068
KVM: arm64: nVHE: Don't consume host SErrors with ESB

The ESB at the start of the host vector may cause SErrors to be consumed
to DISR_EL1. However, this is not checked for the host so the SError
could go unhandled.

Remove the ESB so that SErrors are not consumed but are instead left
pending for the host to consume. __guest_enter already defers entry into
a guest if there are any SErrors pending.

Signed-off-by: Andrew Scull <ascull@google.com>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Cc: James Morse <james.morse@arm.com>
Link: https://lore.kernel.org/r/20200915104643.2543892-8-ascull@google.com
arch/arm64/kvm/hyp/nvhe/host.S