HomeFreeBSD

Increase interrupt cells in generic_pcie_fdt_route_interrupt

Description

Increase interrupt cells in generic_pcie_fdt_route_interrupt

ARM GIC specification in device trees use 3 cells, so the current
limit of 2 causes the last cell to be dropped. This in turn can
cause the interrupt polarity and trigger settings to be incorrect.

Increase the limit to 4 which should handle all reasonable cases.
This fixes issues seen in QEMU when registering PCI interrupts.

Details

Provenance
jchandraAuthored on
Parents
rS309889: Document UDP_ENCAP socket option.
Branches
Unknown
Tags
Unknown