diff options
author | Marc Zyngier <maz@kernel.org> | 2020-03-04 20:33:12 +0000 |
---|---|---|
committer | Marc Zyngier <maz@kernel.org> | 2020-03-20 17:48:21 +0000 |
commit | 9058a4e980648e7d068a7f7726a8ea4c67d0e88a (patch) | |
tree | 80a4e1431d39b6e0dcbcee6d9dad9f1b4c627a6b /certs | |
parent | b978c25f6ee7d4c79cbe918eed684e53887ec001 (diff) | |
download | linux-9058a4e980648e7d068a7f7726a8ea4c67d0e88a.tar.bz2 |
irqchip/gic-v4.1: Ensure mutual exclusion betwen invalidations on the same RD
The GICv4.1 spec says that it is CONTRAINED UNPREDICTABLE to write to
any of the GICR_INV{LPI,ALL}R registers if GICR_SYNCR.Busy == 1.
To deal with it, we must ensure that only a single invalidation can
happen at a time for a given redistributor. Add a per-RD lock to that
effect and take it around the invalidation/syncr-read to deal with this.
Signed-off-by: Marc Zyngier <maz@kernel.org>
Reviewed-by: Zenghui Yu <yuzenghui@huawei.com>
Reviewed-by: Eric Auger <eric.auger@redhat.com>
Link: https://lore.kernel.org/r/20200304203330.4967-6-maz@kernel.org
Diffstat (limited to 'certs')
0 files changed, 0 insertions, 0 deletions