Current KVM code has lots of old redundancies, which can be cleaned up. This patchset is actually a better alternative to http://www.spinics.net/lists/arm-kernel/msg430726.html, which allows to keep piggy-backed LRs. The idea is based on the fact that our code also maintains LR state in elrsr, and this information is enough to track LR usage. This patchset is made against linux-next of 02.10.2015. Thanks to Andre for pointing out some 4.3 specifics. Pavel Fedin (2): Optimize away redundant LR tracking Merge vgic_set_lr() and vgic_sync_lr_elrsr() include/kvm/arm_vgic.h | 7 ---- virt/kvm/arm/vgic-v2.c | 5 --- virt/kvm/arm/vgic-v3.c | 5 --- virt/kvm/arm/vgic.c | 104 +++++++++++++++---------------------------------- 4 files changed, 32 insertions(+), 89 deletions(-) -- 2.4.4 -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html