"ahci: drop intx manipulation on msi enable" breaks ULI M1575
Timur Tabi
timur at freescale.com
Fri Apr 17 07:27:59 EST 2009
On Thu, Apr 9, 2009 at 12:32 AM, Jeff Garzik <jeff at garzik.org> wrote:
> 3) As a result, Timur's 'ahci' is no longer receiving interrupts. Presumably
> this means that BOTH of the following conditions are true
>
> a) INTX is disabled
> b) MSI is not available
>
> Today I am thinking we should either revert the libata commit
> (a5bfc4714b3f01365aef89a92673f2ceb1ccf246), or poke PCI to twiddle INTX for
> us at pci_enable_device() time, perhaps.
We (Freescale) have discussed and debugged this issue, and I'm 99%
certain that we have a board-specific fix, so there's no need to
revert the patch.
According to the original developer, he had to disable the INTX on the
board if SATA were disabled, otherwise some other problem occurred.
He noticed that the interrupt was re-enabled (presumably by the
pre-patch code in ahci.c), so he thought it would be okay to disable
it.
I've run some tests, and so far it appears that the problem does not
occur with the latest kernel (or the latest revision of the hardware).
I need to run some more tests to be absolutely certain. If those
tests pass, then I will post a patch that modifies
hpcd_quirk_uli5288().
So please, don't revert any patches. And thanks to everyone for
helping me resolve this issue.
--
Timur Tabi
Linux kernel developer at Freescale
More information about the Linuxppc-dev
mailing list