Re: Adaptec 1420SA issues with MSI

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Andrew Morton wrote:
Andi says "It's more likely a hardware bug that needs to be handled by the
driver maintainer.  sata_mv has an pci_enable_msi().  Hardware that reports
MSI capability but breaks when it's actually used is not unheard of."


It seems strange that pci_enable_msi() succeeded if the device is not
MSI-capable?

Unfortunately this is not strange :( People have been coding interrupt tests into MSI drivers -- shades of the early 90's -- because pci_enable_msi() does not fail for systems that do not support MSI. -Sometimes- it will fail as expected, if system does not support MSI, sometimes not.

For this case -- 32bit non-Intel mobo chipset -- the cause of the failure is likely the poor pci_enable_msi() test.

However, I know of at least one MSI-related sata_mv hardware bug that needs working around, but that only affects 64-bit. Given that MSI works with this chip on other systems, I'm leaning towards blaming the system.

The following are reasonable workarounds:

* Add pci=nomsi kernel parameter... we really need this
* Add 'msi' module option to sata_mv

I'll try to get around to committing the errata to source code. Marvell's triple-layered vendor driver is GPL'd, so anyone can steal this task from me...

	Jeff


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

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux