Re: [PATCH v2 6/9] arm64: KVM: Treat sysreg accessors returning false as successful

2017-03-28 Thread Christoffer Dall
On Mon, Mar 27, 2017 at 05:03:42PM +0100, Marc Zyngier wrote: > Instead of considering that a sysreg accessor has failed when > returning false, let's consider that it is *always* successful > (after all, we won't stand for an incomplete emulation). That's right! > > The return value now simply

[PATCH v2 6/9] arm64: KVM: Treat sysreg accessors returning false as successful

2017-03-27 Thread Marc Zyngier
Instead of considering that a sysreg accessor has failed when returning false, let's consider that it is *always* successful (after all, we won't stand for an incomplete emulation). The return value now simply indicates whether we should skip the instruction (because it has now been emulated), or