]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: arm64: vgic: move irq->get_input_level into an ops structure
authorMarc Zyngier <maz@kernel.org>
Mon, 1 Mar 2021 17:39:39 +0000 (17:39 +0000)
committerMarc Zyngier <maz@kernel.org>
Tue, 1 Jun 2021 09:45:59 +0000 (10:45 +0100)
commit55048c36277d600c7ef614d384f89ca098ccdf1d
tree07fad6697aebf6c31113c7ff510a3de5854f594b
parente1850dc913253943030ac0672def12e8ec629f60
KVM: arm64: vgic: move irq->get_input_level into an ops structure

We already have the option to attach a callback to an interrupt
to retrieve its pending state. As we are planning to expand this
facility, move this callback into its own data structure.

This will limit the size of individual interrupts as the ops
structures can be shared across multiple interrupts.

Signed-off-by: Marc Zyngier <maz@kernel.org>
arch/arm64/kvm/arch_timer.c
arch/arm64/kvm/vgic/vgic.c
include/kvm/arm_vgic.h