diff options
author | 2022-04-05 19:38:57 +0100 | |
---|---|---|
committer | 2022-05-04 15:38:55 +0100 | |
commit | 63f13483f0689a4de20fbfd847866ab39bec736f (patch) | |
tree | a1cd74945474d5581409ee50635000b93da0aec1 /include/linux/cc_platform.h | |
parent | irqchip/gic-v3: Detect LPI invalidation MMIO registers (diff) | |
download | wireguard-linux-63f13483f0689a4de20fbfd847866ab39bec736f.tar.xz wireguard-linux-63f13483f0689a4de20fbfd847866ab39bec736f.zip |
irqchip/gic-v3: Relax polling of GIC{R,D}_CTLR.RWP
Recent work on the KVM GIC emulation has revealed that the GICv3
driver is a bit RWP-happy, as it polls this bit for each and
every write MMIO access involving a single interrupt.
As it turns out, polling RWP is only required when:
- Disabling an SGI, PPI or SPI
- Disabling LPIs at the redistributor level
- Disabling groups
- Enabling ARE
- Dealing with DPG*
Simplify the driver by removing all the other instances of RWP
polling, and add the one that was missing when enabling the distributor
(as that's where we set ARE).
Signed-off-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20220405183857.205960-4-maz@kernel.org
Diffstat (limited to 'include/linux/cc_platform.h')
0 files changed, 0 insertions, 0 deletions