Skip to content
Commit 7a60af05 authored by Sathyam Panda's avatar Sathyam Panda Committed by Will Deacon
Browse files

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's avatarSathyam Panda <sathyam.panda@arm.com>
Reviewed-by: Vivek Kumar Gautam's avatarVivek Kumar Gautam <vivek.gautam@arm.com>
Reviewed-by: Alexandru Elisei's avatarAlexandru Elisei <alexandru.elisei@arm.com>
Link: https://lore.kernel.org/r/20211111120231.5468-1-sathyam.panda@arm.com


Signed-off-by: default avatarWill Deacon <will@kernel.org>
parent 39181fc6
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment