]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: arm64: Save ESR_EL2 on guest SError
authorJames Morse <james.morse@arm.com>
Mon, 15 Jan 2018 19:39:03 +0000 (19:39 +0000)
committerCatalin Marinas <catalin.marinas@arm.com>
Tue, 16 Jan 2018 15:09:00 +0000 (15:09 +0000)
commit21876c86102546acfd830cca1d4d662050152748
tree7c58bf1e5324b22957298a7c4e0ac400815c107e
parent6b66260863ab92a3992a808a19c94efc50bdded7
KVM: arm64: Save ESR_EL2 on guest SError

When we exit a guest due to an SError the vcpu fault info isn't updated
with the ESR. Today this is only done for traps.

The v8.2 RAS Extensions define ISS values for SError. Update the vcpu's
fault_info with the ESR on SError so that handle_exit() can determine
if this was a RAS SError and decode its severity.

Acked-by: Marc Zyngier <marc.zyngier@arm.com>
Signed-off-by: James Morse <james.morse@arm.com>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
arch/arm64/kvm/hyp/switch.c