diff options
author | Julien Grall <julien.grall@arm.com> | 2019-05-01 15:58:23 +0200 |
---|---|---|
committer | Marc Zyngier <marc.zyngier@arm.com> | 2019-05-03 16:30:03 +0200 |
commit | 73103975425786ebdb6c4d2868ecf26f391fb77e (patch) | |
tree | 38988ca2b22ef18a68ce28d56e2ee288b978d43e /drivers/iommu | |
parent | irqchip/ls-scfg-msi: Don't map the MSI page in ls_scfg_msi_compose_msg() (diff) | |
download | linux-73103975425786ebdb6c4d2868ecf26f391fb77e.tar.xz linux-73103975425786ebdb6c4d2868ecf26f391fb77e.zip |
irqchip/gic-v3-mbi: Don't map the MSI page in mbi_compose_m{b, s}i_msg()
The functions mbi_compose_m{b, s}i_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 patch 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 GICv3 MSI 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>
[maz: only call iommu_dma_prepare_msi once, fix commit log accordingly]
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
Diffstat (limited to 'drivers/iommu')
0 files changed, 0 insertions, 0 deletions