]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
irqchip/ls-scfg-msi: Map MSIs in the iommu
authorLaurentiu Tudor <laurentiu.tudor@nxp.com>
Tue, 5 Jun 2018 12:27:27 +0000 (15:27 +0300)
committerStefan Bader <stefan.bader@canonical.com>
Fri, 1 Mar 2019 13:20:31 +0000 (14:20 +0100)
commit026f51266d389c33d01a634d5c611bcc39a448bc
treea69b96093bd877f6876c380b1dc4425b48db348e
parentaecab59d01e9a9a2a1d885a6d120570d359a5734
irqchip/ls-scfg-msi: Map MSIs in the iommu

BugLink: http://bugs.launchpad.net/bugs/1815234
[ Upstream commit 0cdd431c337e99177e68597f3de34bedd3a20a74 ]

Add the required iommu_dma_map_msi_msg() when composing the MSI message,
otherwise the interrupts will not work.

Signed-off-by: Laurentiu Tudor <laurentiu.tudor@nxp.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: jason@lakedaemon.net
Cc: marc.zyngier@arm.com
Cc: zhiqiang.hou@nxp.com
Cc: minghuan.lian@nxp.com
Link: https://lkml.kernel.org/r/20180605122727.12831-1-laurentiu.tudor@nxp.com
Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Signed-off-by: Stefan Bader <stefan.bader@canonical.com>
drivers/irqchip/irq-ls-scfg-msi.c