[PATCH v2 05/10] KVM: arm/arm64: vgic: Get rid of unnecessary process_maintenance operation

Marc Zyngier marc.zyngier at arm.com
Mon Mar 27 04:03:03 PDT 2017


On 21/03/17 21:10, Christoffer Dall wrote:
> From: Christoffer Dall <christoffer.dall at linaro.org>
> 
> Since we always read back the LRs that we wrote to the guest and the
> MISR and EISR registers simply provide a summary of the configuration of
> the bits in the LRs, there is really no need to read back those status
> registers and process them.  We can might as well just signal the
                                  ^^^
Typo.

> notifyfd when folding the LR state and save some cycles in the process.
> 
> We now clear the underflow bit in the fold_lr_state functions as we only
> need to clear this bit if we had used all the LRs, so this is as good a
> place as any to do that work.
> 
> Signed-off-by: Christoffer Dall <christoffer.dall at linaro.org>

Reviewed-by: Marc Zyngier <marc.zyngier at arm.com>

	M.
-- 
Jazz is not dead. It just smells funny...



More information about the linux-arm-kernel mailing list