Re: [PATCH RFC 0/2] x86/PCI: SiS PIRQ router updates

From: Nikolai Zhubr
Date: Fri Jul 02 2021 - 13:16:11 EST


Hello Maciej,

24.06.2021 2:38, Maciej W. Rozycki:
As we use the generic `sis' infix (capitalised or not) for the SiS85C503
southbridge I have prepared this small patch series to first make the
existing SiS program entities use a more specific `sis503' infix, and then
provide a suitable PIRQ router for the SiS85C497 device.

Posted as an RFC at this stage as it still has to be verified.

Nikolai, can you please give it a hit with the extra debug patch as
requested in my other message?

With
linux-x86-pirq-router-sis85c503.diff applied
linux-x86-pirq-router-sis85c497.diff applied
and DEBUG 1 in arch/x86/include/asm/pci_x86.h
here is new log:

https://pastebin.com/n3udQgcq

My feeling is that something went a bit wrong because:

8139too 0000:00:0d.0: can't route interrupt

and

# 8259A.pl
irq 0: 00, edge
irq 1: 00, edge
irq 2: 00, edge
irq 3: 00, edge
irq 4: 00, edge
irq 5: 00, edge
irq 6: 00, edge
irq 7: 00, edge
irq 8: 00, edge
irq 9: 00, edge
irq 10: 00, edge
irq 11: 00, edge
irq 12: 00, edge
irq 13: 00, edge
irq 14: 00, edge
irq 15: 00, edge

Note: I still used 4.14 kernel for this test but your patches applied cleanly with no fuzz so I suppose it should be ok.


Thank you,

Regards,
Nikolai



Maciej