]> git.baikalelectronics.ru Git - kernel.git/commit
irqchip/gic-v4.1: Move doorbell management to the GICv4 abstraction layer
authorMarc Zyngier <maz@kernel.org>
Wed, 4 Mar 2020 20:33:20 +0000 (20:33 +0000)
committerMarc Zyngier <maz@kernel.org>
Tue, 24 Mar 2020 12:15:51 +0000 (12:15 +0000)
commitb860010fcdc0a441ff5900ed1a46dccaf096e714
tree82593ec6caed02972b4c63e58bb22a11dcb663e2
parentffe4dab0ad538c258f66496210fdb41cfd71696f
irqchip/gic-v4.1: Move doorbell management to the GICv4 abstraction layer

In order to hide some of the differences between v4.0 and v4.1, move
the doorbell management out of the KVM code, and into the GICv4-specific
layer. This allows the calling code to ask for the doorbell when blocking,
and otherwise to leave the doorbell permanently disabled.

This matches the v4.1 code perfectly, and only results in a minor
refactoring of the v4.0 code.

Signed-off-by: Marc Zyngier <maz@kernel.org>
Reviewed-by: Zenghui Yu <yuzenghui@huawei.com>
Link: https://lore.kernel.org/r/20200304203330.4967-14-maz@kernel.org
drivers/irqchip/irq-gic-v4.c
include/kvm/arm_vgic.h
include/linux/irqchip/arm-gic-v4.h
virt/kvm/arm/vgic/vgic-v3.c
virt/kvm/arm/vgic/vgic-v4.c