RE: [patch] PCI: disable MSI on more ATI NorthBridges

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Shane Huang
Date: Friday, October 19, 2007 - 6:17 am

Hi Guys:


Yes, you are right, to find out the root cause is better. Thank you
for all your suggestion and information to us.
Since we have little experience on PCI and MSI here, we had to try to
disable MSI  before we find a better solution. But as you are giving
us help now on this case, it's great! Then let's go...


I'm using kernel 2.6.23-rc5 to debug this MSI problem, which can NOT
boot on our Trevally board(RS690+SB700) without any kernel modification.

But if I comment out all the pci_intx() function calls in
drivers/pci/msi.c, it can boot now with MSI enabled as you expected!

# cat /proc/interrupts 
           CPU0       CPU1       
  0:        318     174060   IO-APIC-edge      timer
  8:          0          1   IO-APIC-edge      rtc
  9:          0          0   IO-APIC-fasteoi   acpi
 16:          0        204   IO-APIC-fasteoi   HDA Intel
 17:          0        479   IO-APIC-fasteoi   ohci_hcd:usb1, ohci_hcd:usb2, ehci_hcd:usb6
 18:          1          2   IO-APIC-fasteoi   ohci_hcd:usb3, ohci_hcd:usb4, ohci_hcd:usb5
 19:          0          0   IO-APIC-fasteoi   ehci_hcd:usb7
 22:          4          1   IO-APIC-fasteoi   yenta
8412:          0       1315   PCI-MSI-edge      eth0
8413:        381       4858   PCI-MSI-edge      ahci
NMI:          0          0 
LOC:     174285     174210 
ERR:          0

Also if I keep the pci_intx() calls in drivers/pci/msi.c and ONLY
comment out the pci_intx() call in drivers/ata/ahci.c
My system can boot up too with MSI enabled!

So does it mean that the root cause is our SB700 SATA controller
has a hardware bug where setting INTX_DISABLE in the PCI COMMAND
register masks MSI interrupts too? 
And what is the software solution or workaround?

I will continue debug this MSI problem next week. Any suggestions,
please don't hesitate to tell us.


Thanks
Best Regards

Shane

_________________________________________________________________
News, entertainment and everything you care about at Live.com. Get it now!
http://www.live.com/getstarted.aspx
-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
RE: [patch] PCI: disable MSI on more ATI NorthBridges, Shane Huang, (Fri Oct 19, 6:17 am)
Re: [patch] PCI: disable MSI on more ATI NorthBridges, Linas Vepstas, (Fri Oct 19, 12:57 pm)
Re: [patch] PCI: disable MSI on more ATI NorthBridges, Jeff Garzik, (Fri Oct 19, 1:21 pm)
RE: [patch] PCI: disable MSI on more ATI NorthBridges, Shane Huang, (Sat Oct 20, 7:50 am)
Re: [patch] PCI: disable MSI on more ATI NorthBridges, David Gaarenstroom, (Sat Oct 20, 1:52 pm)
Re: [patch] PCI: disable MSI on more ATI NorthBridges, Benjamin Herrenschmidt, (Sat Oct 20, 3:03 pm)
RE: [patch] PCI: disable MSI on more ATI NorthBridges, Shane Huang, (Sat Oct 20, 11:00 pm)
Re: [patch] PCI: disable MSI on more ATI NorthBridges, Daniel Barkalow, (Mon Oct 22, 1:26 pm)
Re: [patch] PCI: disable MSI on more ATI NorthBridges, Jeff Garzik, (Mon Oct 22, 1:41 pm)
Re: [patch] PCI: disable MSI on more ATI NorthBridges, Daniel Barkalow, (Mon Oct 22, 2:31 pm)
Re: [patch] PCI: disable MSI on more ATI NorthBridges, Krzysztof Halasa, (Mon Oct 22, 4:40 pm)
Re: [patch] PCI: disable MSI on more ATI NorthBridges, Krzysztof Halasa, (Mon Oct 22, 4:48 pm)
Re: [patch] PCI: disable MSI on more ATI NorthBridges, David Miller, (Mon Oct 22, 4:58 pm)
Re: [patch] PCI: disable MSI on more ATI NorthBridges, David Miller, (Mon Oct 22, 5:13 pm)
Re: [patch] PCI: disable MSI on more ATI NorthBridges, Daniel Barkalow, (Mon Oct 22, 10:52 pm)
RE: [patch] PCI: disable MSI on more ATI NorthBridges, Shane Huang, (Tue Oct 23, 2:39 am)
Re: [patch] PCI: disable MSI on more ATI NorthBridges, Jeff Garzik, (Tue Oct 23, 3:01 am)
Re: [patch] PCI: disable MSI on more ATI NorthBridges, David Miller, (Tue Oct 23, 3:06 am)
Re: [patch] PCI: disable MSI on more ATI NorthBridges, Jeff Garzik, (Tue Oct 23, 3:13 am)
Re: [patch] PCI: disable MSI on more ATI NorthBridges, Jeff Garzik, (Tue Oct 23, 3:15 am)
RE: [patch] PCI: disable MSI on more ATI NorthBridges, Shane Huang, (Tue Oct 23, 3:56 am)
Re: [patch] PCI: disable MSI on more ATI NorthBridges, David Miller, (Tue Oct 23, 7:41 pm)
Re: [patch] PCI: disable MSI on more ATI NorthBridges, David Miller, (Tue Oct 23, 7:46 pm)