Skip to content
  • Julien Grall's avatar
    irqchip/gic-v3-mbi: Don't map the MSI page in mbi_compose_m{b, s}i_msg() · 73103975
    Julien Grall authored
    
    
    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: default avatarJulien Grall <julien.grall@arm.com>
    [maz: only call iommu_dma_prepare_msi once, fix commit log accordingly]
    Signed-off-by: default avatarMarc Zyngier <marc.zyngier@arm.com>
    73103975