diff options
| author | Julien Grall <[email protected]> | 2019-05-01 13:58:22 +0000 |
|---|---|---|
| committer | Marc Zyngier <[email protected]> | 2019-05-03 14:20:20 +0000 |
| commit | 2cb3b16545495ee31dc9438f88232c2cfe44a41f (patch) | |
| tree | 1641d13f22231ed16318af8e0fc5eb4b71696598 /drivers/fpga/fpga-bridge.c | |
| parent | irqchip/gic-v3-its: Don't map the MSI page in its_irq_compose_msi_msg() (diff) | |
| download | kernel-2cb3b16545495ee31dc9438f88232c2cfe44a41f.tar.gz kernel-2cb3b16545495ee31dc9438f88232c2cfe44a41f.zip | |
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 <[email protected]>
Signed-off-by: Marc Zyngier <[email protected]>
Diffstat (limited to 'drivers/fpga/fpga-bridge.c')
0 files changed, 0 insertions, 0 deletions
