[PATCH 0/3] x86/PCI: Odd generic PIRQ router improvements
From: Maciej W. Rozycki
Date: Fri Jun 25 2021 - 05:23:20 EST
Hi,
While working on the SiS85C497 PIRQ router I have noticed an odd
phenomenon with my venerable Tyan Tomcat IV S1564D board, where the PCI
INTD# line of the USB host controller included as function 3 of the PIIX3
southbridge cannot be routed in the `noapic' mode. As it turns out the
reason for this is the BIOS has two individual entries in its PIRQ table
for two of its three functions, and the wrong one is chosen for routing
said line.
Strictly speaking this violates the PCI BIOS specification, but it can be
easily worked around while preserving the semantics for compliant systems.
Therefore I have come up with this patch series, which addresses this
problem with 3/3, adds function reporting to the debug PIRQ table dump
with 2/3 and also prints a usable physical memory address of the PIRQ
table in a debug message with 1/3.
See individual change descriptions for further details.
Please apply.
Maciej