]> git.ipfire.org Git - thirdparty/linux.git/commit
PCI: iproc: Implement MSI controller node detection with of_msi_xlate()
authorLorenzo Pieralisi <lpieralisi@kernel.org>
Tue, 21 Oct 2025 12:41:02 +0000 (14:41 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Sat, 22 Nov 2025 16:09:03 +0000 (17:09 +0100)
commit4f32612f6a4e5a9b1344aebf856aa1a1581a426d
tree6597e57da97fffa4b16265e3ba6935bb22d10a3f
parentebb922c920cefbeb2ce93775a66da0df479661cc
PCI: iproc: Implement MSI controller node detection with of_msi_xlate()

The functionality implemented in the iproc driver in order to detect an
OF MSI controller node is now fully implemented in of_msi_xlate().

Replace the current msi-map/msi-parent parsing code with of_msi_xlate().

Since of_msi_xlate() is also a deviceID mapping API, pass in a fictitious
0 as deviceID - the driver only requires detecting the OF MSI controller
node not the deviceID mapping per-se (of_msi_xlate() return value is
ignored for the same reason).

Signed-off-by: Lorenzo Pieralisi <lpieralisi@kernel.org>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Reviewed-by: Frank Li <Frank.Li@nxp.com>
Acked-by: Bjorn Helgaas <bhelgaas@google.com>
Link: https://patch.msgid.link/20251021124103.198419-5-lpieralisi@kernel.org
drivers/pci/controller/pcie-iproc.c