Re: [PATCH v4 17/21] KVM: arm64: Save ESR_EL2 on guest SError

2017-11-01 Thread James Morse
Hi Marc, On 31/10/17 05:47, Marc Zyngier wrote: > On Tue, Oct 31 2017 at 4:26:01 am GMT, Marc Zyngier > wrote: >> On Thu, Oct 19 2017 at 4:58:03 pm BST, 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

Re: [PATCH v4 17/21] KVM: arm64: Save ESR_EL2 on guest SError

2017-10-30 Thread Marc Zyngier
On Tue, Oct 31 2017 at 4:26:01 am GMT, Marc Zyngier wrote: > On Thu, Oct 19 2017 at 4:58:03 pm BST, 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 valu

Re: [PATCH v4 17/21] KVM: arm64: Save ESR_EL2 on guest SError

2017-10-30 Thread Marc Zyngier
On Thu, Oct 19 2017 at 4:58:03 pm BST, 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

[PATCH v4 17/21] KVM: arm64: Save ESR_EL2 on guest SError

2017-10-19 Thread James Morse
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