[PATCH 1/2] of/irq: Fix irq-mapping in of_irq_parse_raw()
Tim Harvey
tharvey at gateworks.com
Tue Mar 4 14:40:46 EST 2014
On Tue, Mar 4, 2014 at 6:54 AM, Tim Harvey <tharvey at gateworks.com> 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
More information about the linux-arm-kernel
mailing list