Skip to content

pal_pcie: walk IRQ domain hierarchy to get LPI hwirq

Rajat Goyal requested to merge lpi_fix into master

On systems using hierarchical IRQ domains (e.g. MSI domain stacked on top of GICv3 ITS), irq_data->hwirq at the MSI domain level is only the EventID (0..n), not the final LPI INTID in the GIC.

The ACS code was using irq_data->hwirq directly, which causes the PCIe LPI tests to see small numbers (0..7) and incorrectly conclude that MSI vectors are not LPIs.

Fix this by walking irq_data->parent_data up to the top-most IRQ domain (ITS level) and returning that hwirq instead.

Signed-off-by: Rajat Goyal rajat.goyal@arm.com

Merge request reports

Loading