Re: [PATCH 0/4] Fastboot revisited: Asynchronous function calls

Robert Hancock
2009-01-04T19:46:40Z

Andi Kleen wrote:
> Linus Torvalds <torvalds@linux-foundation.org> writes:
>
>> That said, I also wonder if we really even need to autoprobe the
>> interrupts on any modern hardware. Rather than trying to speed up irq
>> probing, maybe we could figure it out some other way..
>
> You'll hate that suggestion, but i8250_pnp should already discover
> it fine via ACPI on modern systems. ia64 has done it this way
> forever.
>
> It probably won't work on really old system, but one could always
> use DMI year to distingush (not pretty, but works usually)

Well, we should be able to tell where we got the port information from,
if it's somewhere expected to be reliable like PCI configuration, ISAPnP
or PnPACPI, or whether we're just probing magical ports and hoping to
find something.

The only cases on x86 hardware where I would think probing would have to
happen would be where the machine was too old to do either ISA Plug &
Play or PnPACPI, or if you added in a non-PnP ISA modem or serial card.