On Tue, Mar 4, 2014 at 6:54 AM, Tim Harvey <tharvey@xxxxxxxxxxxxx> wrote: > When an interrupt-map contains multiple entries an imap pointer arithmetic > bug can cause only the first entry to be properly evaluated and causes > the out_irq parameters to be incorrect depending on the #interrupt-cells > and #address-cells of the parent interrupt controller. > > Specifically, the imap pointer into the interrupt-map table should be > adjusted by the parent interrupt controller #interrupt-cells size only > as at this point the only the parent unit interrupt specifier needs to be > stepped over. > > This resolves an issue encountered when using the of_irq_parse_and_map_pci() > for the imx6 pcie host controller driver map_irq function where a P2P bridge > is on the bus and legacy PCI interrupts are to be used. > Note the subject of my patch was incorrect - its a single patch, not a series. The subject should read: [PATCH] of/irq: Fix irq-mapping in of_irq_parse_raw() Sorry for the confusion, Tim -- To unsubscribe from this list: send the line "unsubscribe linux-pci" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html