Re: [PATCH v2] x86/PCI: Handle PIRQ routing tables with no router device given

From: Maciej W. Rozycki
Date: Thu Jul 08 2021 - 19:35:51 EST


On Fri, 9 Jul 2021, Nikolai Zhubr wrote:

> > Have you tried contacting Nvidia about your ALI chipset? Back in the day
> > I tried to avoid undocumented stuff and Intel was reasonably open about
> > most of their chipsets.
>
> Well, being neither their customer nor a kernel developer, I'm not sure my
> request would be considered serious. Anyway, probably I'll give it a try a bit
> later when I have an opportunity to dismount this board for more comfortable
> testing.

It never hurts asking. At worst you'll be ignored, and at the second
worst they'll say nay. They may have lost it too.

> I was also going to try to modify its BIOS to remove some unwanted
> behaviour unrelated to IRQs, and it might happen that I also discover
> something about PCI handling along with (It is just 64k size, after all, and I
> have a 8086 debugger)

Umm, the board may be old enough not to play any tricks with the BIOS,
but mind that at reset x86 starts in the flat mode from 0xfffffff0 and the
contents of ROM there may not be what you see at 0xf000:0xfff0 later on.

I once worked on a project where I had an opportunity to access the BIOS
at the reset vector (and poke at CPU registers, run, stop, single-step it,
place hardware breakpoints, etc.) using GDB over JTAG with an Intel Atom
board. It was an interesting experience, but sadly most x86 hardware does
not have the capability let alone a JTAG connector (called XDP or eXtended
Debug Port in Intel-speak) to attach a probe to.

You may try disassembling the PCI BIOS 2.1 service however.

Maciej