From: David Miller <davem@davemloft.net>
To: Shane.Huang@amd.com
Cc: gregkh@suse.de, htejun@gmail.com, linux-kernel@vger.kernel.org,
linux-pci@atrey.karlin.mff.cuni.cz, Henry.Su@amd.com,
Libin.Yang@amd.com
Subject: Re: [patch] PCI: disable MSI on more ATI NorthBridges
Date: Thu, 18 Oct 2007 04:46:11 -0700 (PDT) [thread overview]
Message-ID: <20071018.044611.21595530.davem@davemloft.net> (raw)
In-Reply-To: <5CAB7B5D6F8AB84AA868A46B47A507055D8C67@sshaexmb1.amd.com>
From: "Shane Huang" <Shane.Huang@amd.com>
Date: Thu, 18 Oct 2007 18:37:59 +0800
> Hi Miller:
>
> Thank you for your response.
>
> The reason why MSIs of these northbridges do not work is still under
> further debug, we are NOT able to tell its hardware issue or software
> issue at this time. But enablement of them will lead to the OS
> installation failure in many distributions like openSUSE, Ubuntu etc:
> https://bugzilla.novell.com/show_bug.cgi?id=302016
>
> So we have to disable them firstly before we find out the root cause,
> maybe they are just workarounds.
This logic seems backwards, to me. "shoot first, ask questions later"
To me this it not how to approach this problem.
Once you turn MSI off, there is next to no incentive to fix the
problem because users aren't running into it any longer.
The only two devices in that bug report which should be using MSI
would be the SATA controller and the broadcom ethernet NIC. And by
the failed bootup logs provided by the user the problem is clearly
with the SATA controller.
One common problem we're finding is that some devices have a hardware
bug where setting INTX_DISABLE in the PCI COMMAND register masks MSI
interrupts too.
I mention this because the user in that report mentions that the
kernel upgrade causes the failure, and one thing we started doing not
too long ago was to set the INTX_DISABLE bit when MSI is enabled for a
device.
So maybe this SATA controller has this problem too. It is easy to
test, simply comment out all of the pci_intx() function calls in
drivers/pci/msi.c and perform a test boot with MSI enabled.
I would rather you approach analysis of these kinds of MSI bugs in
this manner, instead of disabling MSI wholesale. Because with the
latter approach it is nearly guarenteed that the real reason will only
be discovered with an extremely low priority.
Thank you.
next prev parent reply other threads:[~2007-10-18 11:46 UTC|newest]
Thread overview: 39+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-10-18 9:14 Shane Huang
2007-10-18 10:19 ` David Miller
2007-10-18 10:37 ` Shane Huang
2007-10-18 11:46 ` David Miller [this message]
2007-10-18 15:24 ` Greg KH
2007-10-19 17:42 ` Daniel Barkalow
2008-01-24 10:59 ` [patch] PCI: disable the MSI of AMD RS690 Shane Huang
2008-01-24 11:12 ` [patch] PCI: modify SB700 SATA MSI quirk Shane Huang
2008-01-25 0:19 ` Tejun Heo
2008-01-25 3:26 ` Shane Huang
2008-01-25 3:35 ` Tejun Heo
2008-01-25 3:48 ` Shane Huang
2008-01-25 4:33 ` Greg KH
2008-01-24 11:15 ` [patch] PCI: disable the MSI of AMD RS690 Brice Goglin
2008-01-25 10:39 ` Shane Huang
2007-10-19 13:17 [patch] PCI: disable MSI on more ATI NorthBridges Shane Huang
2007-10-19 19:57 ` Linas Vepstas
2007-10-19 20:21 ` Jeff Garzik
2007-10-20 22:03 ` Benjamin Herrenschmidt
2007-10-22 20:26 ` Daniel Barkalow
2007-10-22 20:41 ` Jeff Garzik
2007-10-22 21:31 ` Daniel Barkalow
2007-10-22 23:48 ` Krzysztof Halasa
2007-10-23 0:13 ` David Miller
2007-10-23 5:52 ` Daniel Barkalow
2007-10-23 9:39 ` Shane Huang
2007-10-23 10:01 ` Jeff Garzik
2007-10-23 10:06 ` David Miller
2007-10-24 2:46 ` David Miller
2007-10-23 10:15 ` Jeff Garzik
2007-10-22 23:40 ` Krzysztof Halasa
2007-10-22 23:58 ` David Miller
2007-10-23 10:13 ` Jeff Garzik
2007-10-20 14:50 ` Shane Huang
2007-10-20 20:52 ` David Gaarenstroom
2007-10-21 6:00 ` Shane Huang
2007-10-23 10:56 ` Shane Huang
2007-10-24 2:41 ` David Miller
2007-10-24 6:53 ` Greg KH
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20071018.044611.21595530.davem@davemloft.net \
--to=davem@davemloft.net \
--cc=Henry.Su@amd.com \
--cc=Libin.Yang@amd.com \
--cc=Shane.Huang@amd.com \
--cc=gregkh@suse.de \
--cc=htejun@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pci@atrey.karlin.mff.cuni.cz \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Powered by JetHome