[PATCH v2 1/4] of/irq: Add msi-parent check to of_msi_xlate()
Lorenzo Pieralisi
lpieralisi at kernel.org
Wed Oct 15 00:38:11 PDT 2025
On Tue, Oct 14, 2025 at 05:29:40PM -0500, Bjorn Helgaas wrote:
> On Tue, Oct 14, 2025 at 11:58:42AM +0200, Lorenzo Pieralisi wrote:
> > In some legacy platforms the MSI controller for a PCI host bridge is
> > identified by an msi-parent property whose phandle points at an MSI
> > controller node with no #msi-cells property, that implicitly means
>
> Looks like you intended to continue the sentence here?
Sigh. "that implicitly means #msi-cells == 0", the `#` caused this.
Apologies.
Lorenzo
> > For such platforms, mapping a device ID and retrieving the MSI controller
> > node becomes simply a matter of checking whether in the device hierarchy
> > there is an msi-parent property pointing at an MSI controller node with
> > such characteristics.
> >
> > Add a helper function to of_msi_xlate() to check the msi-parent property in
> > addition to msi-map and retrieve the MSI controller node (with a 1:1 ID
> > deviceID-IN<->deviceID-OUT mapping) to provide support for deviceID
> > mapping and MSI controller node retrieval for such platforms.
More information about the linux-arm-kernel
mailing list