Potential source of interrupt aliasing

Andrew Gallatin gallatin at cs.duke.edu
Mon Apr 11 08:46:10 PDT 2005


Scott Long writes:
 > 
 > See also: sbus(4), msi(4).
 > 
 > MSI is something that I'd like to work on, but simply had the time.
 > It's not a panacea since it will only work for MSI-enabled PCI devices,
 > but many peripherals found on these Intel systems fall into that
 > category.

Bear in mind that MSI is another can of worms.  

I spent some time last month getting MSI interrupts working for our
linux driver.  I had the misfortune to start with a system
(ServerWorks GC-SL based) which did not even support MSIs, but where
linux let my driver enable MSI operation and allocate MSI interrupts.
Any DMA to the address given by the linux MSI code resulted in a PCI
master abort.  That was not fun..

If/when we do MSI support, I really hope we do a better job of determining
if MSIs actually work before enabling them ;)

Drew





More information about the freebsd-current mailing list