PCI reset using x86 or x86-64 BIOS calls?

From: Linas Vepstas
Date: Thu May 25 2006 - 12:34:47 EST



I've go a newbie x86 BIOS question: is there a BIOS function that
can be called to reset a PCI device? (By "reset a device" I mean
raise the #RST PCI signal line to electrical high for 1.5 seconds).
I know that BIOS does this during a soft reboot, but I was wondering
if there's a stand-alone function for doing this while the system is up
and running.

This question ame up during conversations about kexec. When kexec is
used to get out from under a crashed system, the PCI devices are
typically in some unknown state, and need to be brought to heel.
It seems to me that a brute-force reset would be a particularly
straightforward way of doing this.

--linas
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/