Star64_linux/include/linux/irqchip
Marc Zyngier 8e01d9a396 KVM: arm64: vgic-v4: Move the GICv4 residency flow to be driven by vcpu_load/put
When the VHE code was reworked, a lot of the vgic stuff was moved around,
but the GICv4 residency code did stay untouched, meaning that we come
in and out of residency on each flush/sync, which is obviously suboptimal.

To address this, let's move things around a bit:

- Residency entry (flush) moves to vcpu_load
- Residency exit (sync) moves to vcpu_put
- On blocking (entry to WFI), we "put"
- On unblocking (exit from WFI), we "load"

Because these can nest (load/block/put/load/unblock/put, for example),
we now have per-VPE tracking of the residency state.

Additionally, vgic_v4_put gains a "need doorbell" parameter, which only
gets set to true when blocking because of a WFI. This allows a finer
control of the doorbell, which now also gets disabled as soon as
it gets signaled.

Signed-off-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20191027144234.8395-2-maz@kernel.org
2019-10-28 16:20:58 +00:00
..
arm-gic-common.h Merge branch 'irq-core-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip 2019-07-08 11:01:13 -07:00
arm-gic-v3.h irqchip/gic-v3: Warn about inconsistent implementations of extended ranges 2019-08-20 10:23:35 +01:00
arm-gic-v4.h KVM: arm64: vgic-v4: Move the GICv4 residency flow to be driven by vcpu_load/put 2019-10-28 16:20:58 +00:00
arm-gic.h Merge branch 'irq-core-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip 2019-07-08 11:01:13 -07:00
arm-vic.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 156 2019-05-30 11:26:35 -07:00
chained_irq.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 234 2019-06-19 17:09:07 +02:00
ingenic.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 151 2019-05-30 11:26:28 -07:00
irq-bcm2836.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 157 2019-05-30 11:26:37 -07:00
irq-davinci-aintc.h ARM: davinci: aintc: use the new config structure 2019-02-19 19:55:17 +05:30
irq-davinci-cp-intc.h ARM: davinci: cp-intc: use the new-style config structure 2019-02-19 20:03:34 +05:30
irq-ixp4xx.h irqchip: Add driver for IXP4xx 2019-04-19 20:37:50 +02:00
irq-madera.h irqchip: Add driver for Cirrus Logic Madera codecs 2018-12-18 14:06:56 +00:00
irq-omap-intc.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 396 2019-06-05 17:37:12 +02:00
irq-partition-percpu.h irqchip: Add include guard to irq-partition-percpu.h 2019-08-20 10:35:46 +01:00
irq-sa11x0.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
mmp.h
mxs.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
versatile-fpga.h
xtensa-mx.h
xtensa-pic.h