arm/pci: update interrupt-map only for legacy interrupts
The interrupt pin cell in "interrupt-map" property is defined only for legacy interrupts with a valid range in [1-4] corrspoding to INTA#..INTD#. And the PCI endpoint devices that support advance interrupt mechanism like MSI or MSI-X should not have an entry with value 0 in "interrupt-map". This patch takes care of this problem by avoiding redundant entries. Signed-off-by:Sathyam Panda <sathyam.panda@arm.com> Reviewed-by:
Vivek Kumar Gautam <vivek.gautam@arm.com> Reviewed-by:
Alexandru Elisei <alexandru.elisei@arm.com> Link: https://lore.kernel.org/r/20211111120231.5468-1-sathyam.panda@arm.com Signed-off-by:
Will Deacon <will@kernel.org>
Loading
Please register or sign in to comment