[PATCH v2 07/17] arm64: KVM: vgic-v2: Avoid accessing GICH registers

2016-02-17 Thread Marc Zyngier
GICv2 registers are *slow*. As in "terrifyingly slow". Which is bad. But we're equaly bad, as we make a point in accessing them even if we don't have any interrupt in flight. A good solution is to first find out if we have anything useful to write into the GIC, and if we don't, to simply not do it

Re: [PATCH v2 07/17] arm64: KVM: vgic-v2: Avoid accessing GICH registers

2016-03-02 Thread Christoffer Dall
On Wed, Feb 17, 2016 at 04:40:39PM +, Marc Zyngier wrote: > GICv2 registers are *slow*. As in "terrifyingly slow". Which is bad. > But we're equaly bad, as we make a point in accessing them even if > we don't have any interrupt in flight. > > A good solution is to first find out if we have any