]> 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)
commit5586544fd248571d1fe4024e409d445708550d4f
tree38efb2ec1a3e1553abfd713b250c38c4f1db95d7
parentcfd5a01fc6601f572488e724d57fb67a728e9310
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