diff options
author | Marc Zyngier <[email protected]> | 2022-04-05 19:38:57 +0100 |
---|---|---|
committer | Marc Zyngier <[email protected]> | 2022-05-04 15:38:55 +0100 |
commit | 63f13483f0689a4de20fbfd847866ab39bec736f (patch) | |
tree | a1cd74945474d5581409ee50635000b93da0aec1 /lib/mpi/mpi-sub-ui.c | |
parent | a837ed362e7070d48b6064138d3b61eb75eb9fd9 (diff) |
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 <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'lib/mpi/mpi-sub-ui.c')
0 files changed, 0 insertions, 0 deletions