[Fault-injection-developer] Re: [Pcihpd-discuss] CPCI hotswap peripheral board simulator
Status: Alpha
Brought to you by:
rustyl
From: Stanley W. <sta...@li...> - 2003-03-11 08:29:10
|
On Mon, 10 Mar 2003, Greg KH wrote: > On Fri, Mar 07, 2003 at 12:05:45PM +0800, Stanley Wang wrote: > > I've completed a mock e100 CPCI peripheral board based on FITH > > project(http://fault-injection.sourceforge.net/). It would intercept all > > pci config access and could be used to test CPCI hotswap driver without real > > hardware support. > > You say, "Could be used". Does that mean you have used it in such a > manner? And does that mean that other pci hotplug drivers could be > tested with a modification of this framework? Certainly. I could use it to trigger an insertion/extraction event at any time. You could also list this mock peripheral board by "lspci" after it was inserted. I just implement the HotSwap part of the mock peripheral board, and you could let it be any device you want. This simulator is based on FITH. FITH provides ability to intercept and inject faults into any PIO/MMIO access or IRQ handler. Hence we could emulate a real device easily by intercept serval PIO/MMIO/IRQ. Best Regards, Stan -- Opinions expressed are those of the author and do not represent Intel Corporation |