[PATCH v6 10/13] KVM: arm64: Save ESR_EL2 on guest SError

Marc Zyngier marc.zyngier at arm.com
Tue Jan 16 01:41:02 PST 2018


On 15/01/18 19:39, James Morse wrote:
> 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.
> 
> Signed-off-by: James Morse <james.morse at arm.com>
> ---
> Changes since v4:
>  * Switched to Marc's exit_code != irq version
> 
> (Christoffer gave Reviewed-by for v2, which I missed (sorry), the patch
>  has changed since then..)
> 
>  arch/arm64/kvm/hyp/switch.c | 9 ++++++---
>  1 file changed, 6 insertions(+), 3 deletions(-)

Acked-by: Marc Zyngier <marc.zyngier at arm.com>

	M.
-- 
Jazz is not dead. It just smells funny...



More information about the linux-arm-kernel mailing list