diff options
author | Julien Grall <julien.grall@arm.com> | 2019-05-01 15:58:20 +0200 |
---|---|---|
committer | Marc Zyngier <marc.zyngier@arm.com> | 2019-05-03 16:20:20 +0200 |
commit | 737be74710f30e611ee871f7b4f47975d1c6f71a (patch) | |
tree | 6facbc07d348ab0e0a991726f6d46784beb51072 /ipc | |
parent | iommu/dma-iommu: Split iommu_dma_map_msi_msg() in two parts (diff) | |
download | linux-737be74710f30e611ee871f7b4f47975d1c6f71a.tar.xz linux-737be74710f30e611ee871f7b4f47975d1c6f71a.zip |
irqchip/gicv2m: Don't map the MSI page in gicv2m_compose_msi_msg()
gicv2m_compose_msi_msg() may be called from non-preemptible context.
However, on RT, iommu_dma_map_msi_msg() requires to be called from a
preemptible context.
A recent change split iommu_dma_map_msi_msg() in two new functions:
one that should be called in preemptible context, the other does
not have any requirement.
The GICv2m driver is reworked to avoid executing preemptible code in
non-preemptible context. This can be achieved by preparing the MSI
mapping when allocating the MSI interrupt.
Signed-off-by: Julien Grall <julien.grall@arm.com>
Reviewed-by: Eric Auger <eric.auger@redhat.com>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
Diffstat (limited to 'ipc')
0 files changed, 0 insertions, 0 deletions