aboutsummaryrefslogtreecommitdiff
path: root/lib/netdev-notifier-error-inject.c
diff options
context:
space:
mode:
authorMarc Zyngier <[email protected]>2023-06-17 08:32:42 +0100
committerMarc Zyngier <[email protected]>2023-07-03 19:48:04 +0100
commit926846a703cbf5d0635cc06e67d34b228746554b (patch)
treed09a9c7b08caa400c29d58e75fdef750b3f1a560 /lib/netdev-notifier-error-inject.c
parent55ad24857341c36616ecc1d9580af5626c226cf1 (diff)
irqchip/gic-v4.1: Properly lock VPEs when doing a directLPI invalidation
We normally rely on the irq_to_cpuid_[un]lock() primitives to make sure nothing will change col->idx while performing a LPI invalidation. However, these primitives do not cover VPE doorbells, and we have some open-coded locking for that. Unfortunately, this locking is pretty bogus. Instead, extend the above primitives to cover VPE doorbells and convert the whole thing to it. Fixes: f3a059219bc7 ("irqchip/gic-v4.1: Ensure mutual exclusion between vPE affinity change and RD access") Reported-by: Kunkun Jiang <[email protected]> Signed-off-by: Marc Zyngier <[email protected]> Cc: Zenghui Yu <[email protected]> Cc: [email protected] Tested-by: Kunkun Jiang <[email protected]> Reviewed-by: Zenghui Yu <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'lib/netdev-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions