From: Neil Horman <nhorman@tuxdriver.com>
To: Thomas Gleixner <tglx@linutronix.de>
Cc: linux-kernel@vger.kernel.org, Ingo Molnar <mingo@redhat.com>,
"H. Peter Anvin" <hpa@zytor.com>,
x86@kernel.org, stable@vger.kernel.org
Subject: Re: [PATCH v2] x86: adjust irq remapping quirk for older revisions of 5500/5520 chipsets
Date: Thu, 13 Mar 2014 06:59:40 -0400 [thread overview]
Message-ID: <20140313105940.GA20768@hmsreliant.think-freely.org> (raw)
In-Reply-To: <alpine.DEB.2.02.1403122318130.18573@ionos.tec.linutronix.de>
On Wed, Mar 12, 2014 at 11:18:29PM +0100, Thomas Gleixner wrote:
> On Wed, 12 Mar 2014, Neil Horman wrote:
>
> > A while back I posted this commit:
> >
> > commit 03bbcb2e7e292838bb0244f5a7816d194c911d62
> > Author: Neil Horman <nhorman@tuxdriver.com>
> > Date: Tue Apr 16 16:38:32 2013 -0400
> >
> > iommu/vt-d: add quirk for broken interrupt remapping on 55XX chipsets
> >
> > Which properly disables irq remapping on the 5500/5520 chipsets that don't
> > correctly perform that feature. However, when I wrote it, I followed the errata
> > sheet linked in that commit too closely, and explicitly tied the activation of
> > the quirk to revision 0x13 of the chip, under the assumption that earlier
> > revisions were not in the field. Recently a system was reported to be suffering
> > from this remap bug and the quirk hadn't triggered, because the revision id
> > register read at a lower value that 0x13, so the quirk test failed improperly.
> > Given this, it seems only prudent to adjust this quirk so that any revision less
> > than 0x13 has the quirk asserted.
> >
> > Signed-off-by: Neil Horman <nhorman@tuxdriver.com>
> > CC: Thomas Gleixner <tglx@linutronix.de>
> > CC: Ingo Molnar <mingo@redhat.com>
> > CC: "H. Peter Anvin" <hpa@zytor.com>
> > CC: x86@kernel.org
>
> That probably wants to go to stable as well.
>
Thanks, your right, cc-ing stable
Neil
> > ---
> > Change notes:
> >
> > v2) fix stupid < / <= error
> > ---
> > arch/x86/kernel/early-quirks.c | 2 +-
> > 1 file changed, 1 insertion(+), 1 deletion(-)
> >
> > diff --git a/arch/x86/kernel/early-quirks.c b/arch/x86/kernel/early-quirks.c
> > index bc4a088..e69907a 100644
> > --- a/arch/x86/kernel/early-quirks.c
> > +++ b/arch/x86/kernel/early-quirks.c
> > @@ -208,7 +208,7 @@ static void __init intel_remapping_check(int num, int slot, int func)
> > * and should be flagged as broken. Additionally revisions 0x12
> > * and 0x22 of device id 0x3405 has this problem.
> > */
> > - if (revision == 0x13)
> > + if (revision <= 0x13)
> > set_irq_remapping_broken();
> > else if ((device == 0x3405) &&
> > ((revision == 0x12) ||
> > --
> > 1.8.3.1
> >
> >
>
next prev parent reply other threads:[~2014-03-13 10:59 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-03-12 18:44 [PATCH] " Neil Horman
2014-03-12 20:05 ` Neil Horman
2014-03-12 20:07 ` [PATCH v2] " Neil Horman
2014-03-12 22:18 ` Thomas Gleixner
2014-03-13 10:59 ` Neil Horman [this message]
2014-03-19 13:00 ` [tip:x86/iommu] x86: Adjust " tip-bot for Neil Horman
2014-03-31 20:09 ` tip-bot for Neil Horman
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=20140313105940.GA20768@hmsreliant.think-freely.org \
--to=nhorman@tuxdriver.com \
--cc=hpa@zytor.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@redhat.com \
--cc=stable@vger.kernel.org \
--cc=tglx@linutronix.de \
--cc=x86@kernel.org \
/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
all inboxes | Powered by JetHome®