Re: [PATCH] PCI: disable MSI on SiS 761

From: Ondrej Zary
Date: Thu Sep 24 2015 - 15:21:49 EST


On Thursday 24 September 2015 20:21:16 Bjorn Helgaas wrote:
> Hi Ondrej,
>
> On Fri, Sep 11, 2015 at 11:12:17PM +0200, Ondrej Zary wrote:
> > MSI is broken on SiS 761 chipset at least on PC Chips A31G board.
> > No interrupts are delivered once MSI is enabled for a device. This causes
> > hang on X11 start with a nVidia card installed (with nouveau driver).
> >
> > Disable MSI completely for this chipset.
> >
> > Signed-off-by: Ondrej Zary <linux@xxxxxxxxxxxxxxxxxxxx>
>
> This is a pretty old chipset, isn't it? Google finds a reference to
> SiS 761GX from 2005. I wonder why we're only finding this problem
> now. Is there a problem report? I wonder if the problem is really
> elsewhere, and turning off MSI just avoids the real problem.

Yes, it's an old chipset and board (Socket 754) and not very common. Nouveau
was not usable back then, MSI support was added to Nouveau in 2010 and
enabled by default only in 2013. Maybe I'm the only one who tested MSI on
this board/chipset...

The facts are:
- zero interrupts in /proc/interrupts with MSI enabled and X11 hangs
- everything works fine with MSI disabled
- tested with two different nVidia cards (don't have any other PCIe card to
test)

I guess that either the MSI support in the chipset is broken or the BIOS does
not set up some secret chipset register(s) correctly.

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