* [PATCH] PCI: Add new PCI id for Intel GPU interrupt quirk
@ 2014-04-07 13:10 Thomas Jarosch
2014-04-07 16:58 ` Greg KH
` (2 more replies)
0 siblings, 3 replies; 7+ messages in thread
From: Thomas Jarosch @ 2014-04-07 13:10 UTC (permalink / raw)
To: linux-pci; +Cc: Jesse Barnes, stable
After a CPU upgrade while keeping the same mainboard,
we faced "spurious interrupt" problems again.
It turned out that the new CPU also featured a
new GPU with a different PCI id.
-> Add this PCI id to the quirk table. Probably all other
Intel GPU PCI ids are affected, too, but I don't want
to add them without a test system.
Signed-off-by: Thomas Jarosch <thomas.jarosch@intra2net.com>
Tested-by: Thomas Jarosch <thomas.jarosch@intra2net.com>
---
drivers/pci/quirks.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/pci/quirks.c b/drivers/pci/quirks.c
index e729206..0feb4a3 100644
--- a/drivers/pci/quirks.c
+++ b/drivers/pci/quirks.c
@@ -2954,6 +2954,7 @@ static void disable_igfx_irq(struct pci_dev *dev)
}
DECLARE_PCI_FIXUP_FINAL(PCI_VENDOR_ID_INTEL, 0x0102, disable_igfx_irq);
DECLARE_PCI_FIXUP_FINAL(PCI_VENDOR_ID_INTEL, 0x010a, disable_igfx_irq);
+DECLARE_PCI_FIXUP_FINAL(PCI_VENDOR_ID_INTEL, 0x0152, disable_igfx_irq);
/*
* PCI devices which are on Intel chips can skip the 10ms delay
--
1.8.1.4
^ permalink raw reply related [flat|nested] 7+ messages in thread
* Re: [PATCH] PCI: Add new PCI id for Intel GPU interrupt quirk
2014-04-07 13:10 [PATCH] PCI: Add new PCI id for Intel GPU interrupt quirk Thomas Jarosch
@ 2014-04-07 16:58 ` Greg KH
2014-04-11 13:42 ` Thomas Jarosch
2014-04-25 17:35 ` Bjorn Helgaas
2014-04-29 23:35 ` Bjorn Helgaas
2 siblings, 1 reply; 7+ messages in thread
From: Greg KH @ 2014-04-07 16:58 UTC (permalink / raw)
To: Thomas Jarosch; +Cc: linux-pci, Jesse Barnes, stable
On Mon, Apr 07, 2014 at 03:10:32PM +0200, Thomas Jarosch wrote:
> After a CPU upgrade while keeping the same mainboard,
> we faced "spurious interrupt" problems again.
>
> It turned out that the new CPU also featured a
> new GPU with a different PCI id.
>
> -> Add this PCI id to the quirk table. Probably all other
> Intel GPU PCI ids are affected, too, but I don't want
> to add them without a test system.
>
> Signed-off-by: Thomas Jarosch <thomas.jarosch@intra2net.com>
> Tested-by: Thomas Jarosch <thomas.jarosch@intra2net.com>
> ---
> drivers/pci/quirks.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/drivers/pci/quirks.c b/drivers/pci/quirks.c
> index e729206..0feb4a3 100644
> --- a/drivers/pci/quirks.c
> +++ b/drivers/pci/quirks.c
> @@ -2954,6 +2954,7 @@ static void disable_igfx_irq(struct pci_dev *dev)
> }
> DECLARE_PCI_FIXUP_FINAL(PCI_VENDOR_ID_INTEL, 0x0102, disable_igfx_irq);
> DECLARE_PCI_FIXUP_FINAL(PCI_VENDOR_ID_INTEL, 0x010a, disable_igfx_irq);
> +DECLARE_PCI_FIXUP_FINAL(PCI_VENDOR_ID_INTEL, 0x0152, disable_igfx_irq);
>
> /*
> * PCI devices which are on Intel chips can skip the 10ms delay
> --
> 1.8.1.4
<formletter>
This is not the correct way to submit patches for inclusion in the
stable kernel tree. Please read Documentation/stable_kernel_rules.txt
for how to do this properly.
</formletter>
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Re: [PATCH] PCI: Add new PCI id for Intel GPU interrupt quirk
2014-04-07 16:58 ` Greg KH
@ 2014-04-11 13:42 ` Thomas Jarosch
0 siblings, 0 replies; 7+ messages in thread
From: Thomas Jarosch @ 2014-04-11 13:42 UTC (permalink / raw)
To: Greg KH; +Cc: linux-pci, Jesse Barnes, stable
Hi Greg,
On Monday, 7. April 2014 09:58:08 Greg KH wrote:
> On Mon, Apr 07, 2014 at 03:10:32PM +0200, Thomas Jarosch wrote:
> > After a CPU upgrade while keeping the same mainboard,
> > we faced "spurious interrupt" problems again.
> ..
> <formletter>
>
> This is not the correct way to submit patches for inclusion in the
> stable kernel tree. Please read Documentation/stable_kernel_rules.txt
> for how to do this properly.
>
> </formletter>
sorry 'bout that :)
I had on my mind I should CC: stable@ and then the patch will be picked up
automatically once / if it gets applied to the normal git tree or lost
in space if it gets rejected. Guess that was wishful thinking :)
Have a nice weekend,
Thomas
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH] PCI: Add new PCI id for Intel GPU interrupt quirk
2014-04-07 13:10 [PATCH] PCI: Add new PCI id for Intel GPU interrupt quirk Thomas Jarosch
2014-04-07 16:58 ` Greg KH
@ 2014-04-25 17:35 ` Bjorn Helgaas
2014-04-25 17:37 ` Bjorn Helgaas
2014-04-29 23:35 ` Bjorn Helgaas
2 siblings, 1 reply; 7+ messages in thread
From: Bjorn Helgaas @ 2014-04-25 17:35 UTC (permalink / raw)
To: Thomas Jarosch
Cc: linux-pci, Jesse Barnes, Daniel Vetter, Jani Nikula, intel-gfx,
dri-devel
[+cc Daniel, Jani, intel-gfx, dri-devel, -cc stable]
On Mon, Apr 07, 2014 at 03:10:32PM +0200, Thomas Jarosch wrote:
> After a CPU upgrade while keeping the same mainboard,
> we faced "spurious interrupt" problems again.
>
> It turned out that the new CPU also featured a
> new GPU with a different PCI id.
>
> -> Add this PCI id to the quirk table. Probably all other
> Intel GPU PCI ids are affected, too, but I don't want
> to add them without a test system.
Daniel, Jani, et al, do we need a better solution to this? Is there
a more general way to solve this than by tripping over affected machines
one-by-one? Could this be done in the driver rather than in a quirk?
> Signed-off-by: Thomas Jarosch <thomas.jarosch@intra2net.com>
> Tested-by: Thomas Jarosch <thomas.jarosch@intra2net.com>
> ---
> drivers/pci/quirks.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/drivers/pci/quirks.c b/drivers/pci/quirks.c
> index e729206..0feb4a3 100644
> --- a/drivers/pci/quirks.c
> +++ b/drivers/pci/quirks.c
> @@ -2954,6 +2954,7 @@ static void disable_igfx_irq(struct pci_dev *dev)
> }
> DECLARE_PCI_FIXUP_FINAL(PCI_VENDOR_ID_INTEL, 0x0102, disable_igfx_irq);
> DECLARE_PCI_FIXUP_FINAL(PCI_VENDOR_ID_INTEL, 0x010a, disable_igfx_irq);
> +DECLARE_PCI_FIXUP_FINAL(PCI_VENDOR_ID_INTEL, 0x0152, disable_igfx_irq);
>
> /*
> * PCI devices which are on Intel chips can skip the 10ms delay
> --
> 1.8.1.4
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-pci" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH] PCI: Add new PCI id for Intel GPU interrupt quirk
2014-04-25 17:35 ` Bjorn Helgaas
@ 2014-04-25 17:37 ` Bjorn Helgaas
2014-04-25 18:13 ` Daniel Vetter
0 siblings, 1 reply; 7+ messages in thread
From: Bjorn Helgaas @ 2014-04-25 17:37 UTC (permalink / raw)
To: Thomas Jarosch
Cc: linux-pci, Jesse Barnes, Daniel Vetter, Jani Nikula, intel-gfx,
dri-devel
On Fri, Apr 25, 2014 at 11:35:21AM -0600, Bjorn Helgaas wrote:
> [+cc Daniel, Jani, intel-gfx, dri-devel, -cc stable]
>
> On Mon, Apr 07, 2014 at 03:10:32PM +0200, Thomas Jarosch wrote:
> > After a CPU upgrade while keeping the same mainboard,
> > we faced "spurious interrupt" problems again.
> >
> > It turned out that the new CPU also featured a
> > new GPU with a different PCI id.
> >
> > -> Add this PCI id to the quirk table. Probably all other
> > Intel GPU PCI ids are affected, too, but I don't want
> > to add them without a test system.
>
> Daniel, Jani, et al, do we need a better solution to this? Is there
> a more general way to solve this than by tripping over affected machines
> one-by-one? Could this be done in the driver rather than in a quirk?
I guess it can't be done in the driver because the problem happens even if
the driver isn't loaded, per f67fd55fa96f ("PCI: Add quirk for still
enabled interrupts on Intel Sandy Bridge GPUs").
> > Signed-off-by: Thomas Jarosch <thomas.jarosch@intra2net.com>
> > Tested-by: Thomas Jarosch <thomas.jarosch@intra2net.com>
> > ---
> > drivers/pci/quirks.c | 1 +
> > 1 file changed, 1 insertion(+)
> >
> > diff --git a/drivers/pci/quirks.c b/drivers/pci/quirks.c
> > index e729206..0feb4a3 100644
> > --- a/drivers/pci/quirks.c
> > +++ b/drivers/pci/quirks.c
> > @@ -2954,6 +2954,7 @@ static void disable_igfx_irq(struct pci_dev *dev)
> > }
> > DECLARE_PCI_FIXUP_FINAL(PCI_VENDOR_ID_INTEL, 0x0102, disable_igfx_irq);
> > DECLARE_PCI_FIXUP_FINAL(PCI_VENDOR_ID_INTEL, 0x010a, disable_igfx_irq);
> > +DECLARE_PCI_FIXUP_FINAL(PCI_VENDOR_ID_INTEL, 0x0152, disable_igfx_irq);
> >
> > /*
> > * PCI devices which are on Intel chips can skip the 10ms delay
> > --
> > 1.8.1.4
> >
> > --
> > To unsubscribe from this list: send the line "unsubscribe linux-pci" in
> > the body of a message to majordomo@vger.kernel.org
> > More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH] PCI: Add new PCI id for Intel GPU interrupt quirk
2014-04-25 17:37 ` Bjorn Helgaas
@ 2014-04-25 18:13 ` Daniel Vetter
0 siblings, 0 replies; 7+ messages in thread
From: Daniel Vetter @ 2014-04-25 18:13 UTC (permalink / raw)
To: Bjorn Helgaas
Cc: Thomas Jarosch, linux-pci, Jesse Barnes, Daniel Vetter,
Jani Nikula, intel-gfx, dri-devel
On Fri, Apr 25, 2014 at 11:37:18AM -0600, Bjorn Helgaas wrote:
> On Fri, Apr 25, 2014 at 11:35:21AM -0600, Bjorn Helgaas wrote:
> > [+cc Daniel, Jani, intel-gfx, dri-devel, -cc stable]
> >
> > On Mon, Apr 07, 2014 at 03:10:32PM +0200, Thomas Jarosch wrote:
> > > After a CPU upgrade while keeping the same mainboard,
> > > we faced "spurious interrupt" problems again.
> > >
> > > It turned out that the new CPU also featured a
> > > new GPU with a different PCI id.
> > >
> > > -> Add this PCI id to the quirk table. Probably all other
> > > Intel GPU PCI ids are affected, too, but I don't want
> > > to add them without a test system.
> >
> > Daniel, Jani, et al, do we need a better solution to this? Is there
> > a more general way to solve this than by tripping over affected machines
> > one-by-one? Could this be done in the driver rather than in a quirk?
>
> I guess it can't be done in the driver because the problem happens even if
> the driver isn't loaded, per f67fd55fa96f ("PCI: Add quirk for still
> enabled interrupts on Intel Sandy Bridge GPUs").
Hm, this is new to me. The only thing wrt spurious interrupts I was aware
of is on g4x platforms which also fire legacy interrupts (but only for
some chip functions) when we use msi. See
commit 4e6b788c3f2388c519ab6ed7fe59f372c85d26e9
Author: Daniel Vetter <daniel.vetter@ffwll.ch>
Date: Fri Feb 7 16:33:20 2014 +0100
drm/i915: Disable dp aux irq on g4x
we simply opted to not enable those interrupts on g4x to keep things
quiet. For other platforms I'm not aware of any such issues.
I guess you could just match on all of them, but the master irq control
bit moves around a _lot_. We already have a differen early platform quirk
and for that exposed pci ids as macros in include/drm/i915_pciids.h
-Daniel
>
> > > Signed-off-by: Thomas Jarosch <thomas.jarosch@intra2net.com>
> > > Tested-by: Thomas Jarosch <thomas.jarosch@intra2net.com>
> > > ---
> > > drivers/pci/quirks.c | 1 +
> > > 1 file changed, 1 insertion(+)
> > >
> > > diff --git a/drivers/pci/quirks.c b/drivers/pci/quirks.c
> > > index e729206..0feb4a3 100644
> > > --- a/drivers/pci/quirks.c
> > > +++ b/drivers/pci/quirks.c
> > > @@ -2954,6 +2954,7 @@ static void disable_igfx_irq(struct pci_dev *dev)
> > > }
> > > DECLARE_PCI_FIXUP_FINAL(PCI_VENDOR_ID_INTEL, 0x0102, disable_igfx_irq);
> > > DECLARE_PCI_FIXUP_FINAL(PCI_VENDOR_ID_INTEL, 0x010a, disable_igfx_irq);
> > > +DECLARE_PCI_FIXUP_FINAL(PCI_VENDOR_ID_INTEL, 0x0152, disable_igfx_irq);
> > >
> > > /*
> > > * PCI devices which are on Intel chips can skip the 10ms delay
> > > --
> > > 1.8.1.4
> > >
> > > --
> > > To unsubscribe from this list: send the line "unsubscribe linux-pci" in
> > > the body of a message to majordomo@vger.kernel.org
> > > More majordomo info at http://vger.kernel.org/majordomo-info.html
--
Daniel Vetter
Software Engineer, Intel Corporation
+41 (0) 79 365 57 48 - http://blog.ffwll.ch
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH] PCI: Add new PCI id for Intel GPU interrupt quirk
2014-04-07 13:10 [PATCH] PCI: Add new PCI id for Intel GPU interrupt quirk Thomas Jarosch
2014-04-07 16:58 ` Greg KH
2014-04-25 17:35 ` Bjorn Helgaas
@ 2014-04-29 23:35 ` Bjorn Helgaas
2 siblings, 0 replies; 7+ messages in thread
From: Bjorn Helgaas @ 2014-04-29 23:35 UTC (permalink / raw)
To: Thomas Jarosch; +Cc: linux-pci, Jesse Barnes, stable
On Mon, Apr 07, 2014 at 03:10:32PM +0200, Thomas Jarosch wrote:
> After a CPU upgrade while keeping the same mainboard,
> we faced "spurious interrupt" problems again.
>
> It turned out that the new CPU also featured a
> new GPU with a different PCI id.
>
> -> Add this PCI id to the quirk table. Probably all other
> Intel GPU PCI ids are affected, too, but I don't want
> to add them without a test system.
>
> Signed-off-by: Thomas Jarosch <thomas.jarosch@intra2net.com>
> Tested-by: Thomas Jarosch <thomas.jarosch@intra2net.com>
I applied this to pci/misc for v3.16, with a stable tag for v3.4+, thanks!
> ---
> drivers/pci/quirks.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/drivers/pci/quirks.c b/drivers/pci/quirks.c
> index e729206..0feb4a3 100644
> --- a/drivers/pci/quirks.c
> +++ b/drivers/pci/quirks.c
> @@ -2954,6 +2954,7 @@ static void disable_igfx_irq(struct pci_dev *dev)
> }
> DECLARE_PCI_FIXUP_FINAL(PCI_VENDOR_ID_INTEL, 0x0102, disable_igfx_irq);
> DECLARE_PCI_FIXUP_FINAL(PCI_VENDOR_ID_INTEL, 0x010a, disable_igfx_irq);
> +DECLARE_PCI_FIXUP_FINAL(PCI_VENDOR_ID_INTEL, 0x0152, disable_igfx_irq);
>
> /*
> * PCI devices which are on Intel chips can skip the 10ms delay
> --
> 1.8.1.4
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-pci" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2014-04-29 23:35 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-04-07 13:10 [PATCH] PCI: Add new PCI id for Intel GPU interrupt quirk Thomas Jarosch
2014-04-07 16:58 ` Greg KH
2014-04-11 13:42 ` Thomas Jarosch
2014-04-25 17:35 ` Bjorn Helgaas
2014-04-25 17:37 ` Bjorn Helgaas
2014-04-25 18:13 ` Daniel Vetter
2014-04-29 23:35 ` Bjorn Helgaas
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).