summaryrefslogtreecommitdiffstats
path: root/arch/x86/include/uapi/asm/vmx.h
diff options
context:
space:
mode:
authorPavel Fedin2015-10-27 09:37:30 +0100
committerChristoffer Dall2015-11-04 15:29:49 +0100
commit212c76545dde8370ebde2a170e4f8e1ed8441dc0 (patch)
tree29f75e26593b1fc78e492e70beeb0c3190e69c4a /arch/x86/include/uapi/asm/vmx.h
parentKVM: arm/arm64: Optimize away redundant LR tracking (diff)
downloadkernel-qcow2-linux-212c76545dde8370ebde2a170e4f8e1ed8441dc0.tar.gz
kernel-qcow2-linux-212c76545dde8370ebde2a170e4f8e1ed8441dc0.tar.xz
kernel-qcow2-linux-212c76545dde8370ebde2a170e4f8e1ed8441dc0.zip
KVM: arm/arm64: Clean up vgic_retire_lr() and surroundings
1. Remove unnecessary 'irq' argument, because irq number can be retrieved from the LR. 2. Since cff9211eb1a1f58ce7f5a2d596b617928fd4be0e ("arm/arm64: KVM: Fix arch timer behavior for disabled interrupts ") LR_STATE_PENDING is queued back by vgic_retire_lr() itself. Also, it clears vlr.state itself. Therefore, we remove the same, now duplicated, check with all accompanying bit manipulations from vgic_unqueue_irqs(). 3. vgic_retire_lr() is always accompanied by vgic_irq_clear_queued(). Since it already does more than just clearing the LR, move vgic_irq_clear_queued() inside of it. Signed-off-by: Pavel Fedin <p.fedin@samsung.com> Signed-off-by: Christoffer Dall <christoffer.dall@linaro.org>
Diffstat (limited to 'arch/x86/include/uapi/asm/vmx.h')
0 files changed, 0 insertions, 0 deletions