Re: [PATCH v3 03/18] arm64: KVM: Increment PC after handling an SMC trap

2018-02-02 Thread Christoffer Dall
On Thu, Feb 01, 2018 at 11:46:42AM +, Marc Zyngier wrote: > When handling an SMC trap, the "preferred return address" is set > to that of the SMC, and not the next PC (which is a departure from > the behaviour of an SMC that isn't trapped). > > Increment PC in the handler, as the guest is othe

[PATCH v3 03/18] arm64: KVM: Increment PC after handling an SMC trap

2018-02-01 Thread Marc Zyngier
When handling an SMC trap, the "preferred return address" is set to that of the SMC, and not the next PC (which is a departure from the behaviour of an SMC that isn't trapped). Increment PC in the handler, as the guest is otherwise forever stuck... Cc: sta...@vger.kernel.org Fixes: acfb3b883f6d (