diff options
author | Julien Grall <julien.grall@arm.com> | 2019-05-01 16:58:22 +0300 |
---|---|---|
committer | Marc Zyngier <marc.zyngier@arm.com> | 2019-05-03 17:20:20 +0300 |
commit | 2cb3b16545495ee31dc9438f88232c2cfe44a41f (patch) | |
tree | 1641d13f22231ed16318af8e0fc5eb4b71696598 /drivers/iommu | |
parent | 35ae7df21be098848722f96f0f33bf33467436a8 (diff) | |
download | linux-2cb3b16545495ee31dc9438f88232c2cfe44a41f.tar.xz |
irqchip/ls-scfg-msi: Don't map the MSI page in ls_scfg_msi_compose_msg()
ls_scfg_msi_compose_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 FreeScale SCFG MSI driver is reworked to avoid executing preemptible
code in non-preemptible context. This can be achieved by preparing the
MSI maping when allocating the MSI interrupt.
Signed-off-by: Julien Grall <julien.grall@arm.com>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
Diffstat (limited to 'drivers/iommu')
0 files changed, 0 insertions, 0 deletions