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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 3 Aug 2018 05:50:24 +0000 (07:50 +0200)
commitd90c9b07cb325b5190f5a45ddcf66aa09ed5f552
treeebead42ecae8fc4ac3064d60931057a3b53f6ad5
parentff60eda504531b7730435f1730c8bf068a209221
irqchip/ls-scfg-msi: Map MSIs in the iommu

[ 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>
drivers/irqchip/irq-ls-scfg-msi.c