Re: [PATCH 8/8] KVM: arm64: Avoid accessing ICH registers

2016-02-10 Thread Marc Zyngier
On 10/02/16 12:45, Christoffer Dall wrote: > On Mon, Feb 08, 2016 at 11:40:22AM +, Marc Zyngier wrote: >> Just like on GICv2, we're a bit hammer-happy with GICv3, and access >> them more often than we should. >> >> Adopt a policy similar to what we do for GICv2, only save/restoring >> the minim

Re: [PATCH 8/8] KVM: arm64: Avoid accessing ICH registers

2016-02-10 Thread Christoffer Dall
On Mon, Feb 08, 2016 at 11:40:22AM +, Marc Zyngier wrote: > Just like on GICv2, we're a bit hammer-happy with GICv3, and access > them more often than we should. > > Adopt a policy similar to what we do for GICv2, only save/restoring > the minimal set of registers. As we don't access the regis

[PATCH 8/8] KVM: arm64: Avoid accessing ICH registers

2016-02-08 Thread Marc Zyngier
Just like on GICv2, we're a bit hammer-happy with GICv3, and access them more often than we should. Adopt a policy similar to what we do for GICv2, only save/restoring the minimal set of registers. As we don't access the registers linearly anymore (we may skip some), the convoluted accessors becom