Re: [PATCH v1 2/6] KVM: arm64: Consume pending SError as early as possible

2019-06-05 Thread James Morse
Hi Julien, On 05/06/2019 10:00, Julien Thierry wrote: > On 04/06/2019 15:45, James Morse wrote: >> On systems with v8.2 we switch the 'vaxorcism' of guest SError with an >> alternative sequence that uses the ESB-instruction, then reads DISR_EL1. >> This saves the unmasking and re-masking of asynch

Re: [PATCH v1 2/6] KVM: arm64: Consume pending SError as early as possible

2019-06-05 Thread Julien Thierry
Hi James, On 04/06/2019 15:45, James Morse wrote: > On systems with v8.2 we switch the 'vaxorcism' of guest SError with an > alternative sequence that uses the ESB-instruction, then reads DISR_EL1. > This saves the unmasking and re-masking of asynchronous exceptions. > > We do this after we've sa

[PATCH v1 2/6] KVM: arm64: Consume pending SError as early as possible

2019-06-04 Thread James Morse
On systems with v8.2 we switch the 'vaxorcism' of guest SError with an alternative sequence that uses the ESB-instruction, then reads DISR_EL1. This saves the unmasking and re-masking of asynchronous exceptions. We do this after we've saved the guest registers and restored the host's. Any SError t