Re: [PATCH] KVM: arm64: Avoid rewinding the PC for trapped SMCs

2020-07-15 Thread James Morse
Hi Andrew, On 14/07/2020 10:45, Andrew Scull wrote: > When handling a guest's SError that was identified in __guest_exit, it > is injected back into the guest at the instruction that caused the > switch into hyp. A trapped SMC does not advance the PC so no adjustment > needs to be made to the PC.

[PATCH] KVM: arm64: Avoid rewinding the PC for trapped SMCs

2020-07-14 Thread Andrew Scull
When handling a guest's SError that was identified in __guest_exit, it is injected back into the guest at the instruction that caused the switch into hyp. A trapped SMC does not advance the PC so no adjustment needs to be made to the PC. Fixes: ddb3d07cfe90 ("arm64: KVM: Inject a Virtual SError