Re: [PATCH] x86/mrst/pci: avoid enabling intx for msi capabledevices

From: Jesse Barnes
Date: Mon Jun 21 2010 - 15:14:46 EST


On Mon, 21 Jun 2010 12:01:30 -0700
"H. Peter Anvin" <hpa@xxxxxxxxx> wrote:

> Jesse: are you taking this or should I?
>
> -hpa
>
> On 06/21/2010 11:30 AM, Jacob Pan wrote:
> > On Moorestown platform, true PCI devices with MSI capabilities do not support
> > INTx mode. IRQ line# for those devices are zeros in the PCI shim, an attempt
> > to enable INTx on these MSI capable devices will cause conflict in the system
> > such as IRQ0 for the system timers.
> > If the device driver probes/enables MSI before pci_enable_device(), the conflict
> > is not shown since INTx will be disabled. But if the driver tries to enable INTx
> > before MSI, the conflict will cause system timer IRQ0 to break.
> >
> > This patch will ensure the ordering of INTx and MSI setup by the driver is
> > not relavent to INTx conflict. We will always skip INTx setup for MSI capable
> > devices on Moorestown.

You go ahead. You can add my:

Acked-by: Jesse Barnes <jbarnes@xxxxxxxxxxxxxxxx>

Thanks,
--
Jesse Barnes, Intel Open Source Technology Center
--
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/