From: Jack Steiner <steiner@sgi.com>
To: Ingo Molnar <mingo@elte.hu>
Cc: tglx@linutronix.de, hpa@zytor.com, x86@kernel.org,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH] x66, UV: Enable 64-bit ACPI MFCG support for SGI UV2 platform
Date: Fri, 3 Jun 2011 08:17:35 -0500 [thread overview]
Message-ID: <20110603131735.GB15564@sgi.com> (raw)
In-Reply-To: <20110603082845.GC16694@elte.hu>
On Fri, Jun 03, 2011 at 10:28:45AM +0200, Ingo Molnar wrote:
>
> * Jack Steiner <steiner@sgi.com> wrote:
>
> > Enable 64-bit ACPI MFCG support for SGI UV2 platform. The check is similar
> > to the check on UV1. UV2 has a different oem_id string.
> >
> > Signed-off-by: Jack Steiner <steiner@sgi.com>
> >
> >
> > ---
> > arch/x86/pci/mmconfig-shared.c | 3 ++-
> > 1 file changed, 2 insertions(+), 1 deletion(-)
> >
> > Index: linux/arch/x86/pci/mmconfig-shared.c
> > ===================================================================
> > --- linux.orig/arch/x86/pci/mmconfig-shared.c 2011-05-31 12:13:19.635285219 -0500
> > +++ linux/arch/x86/pci/mmconfig-shared.c 2011-06-02 14:41:26.645034257 -0500
> > @@ -519,7 +519,8 @@ static int __init acpi_mcfg_check_entry(
> > if (cfg->address < 0xFFFFFFFF)
> > return 0;
> >
> > - if (!strcmp(mcfg->header.oem_id, "SGI"))
> > + if (!strcmp(mcfg->header.oem_id, "SGI") ||
> > + !strcmp(mcfg->header.oem_id, "SGI2"))
>
> Wouldnt strncmp(,,3) cover any future SGI3, SGI4 strings as well?
I considered that but was not certain whether I could safely claim all
oemid's starting with "SGI".
There is a weak precedent in x2apic_uv_x.c - only SGI & SGI2 will be
recognized as an SGI platform. An id such as SGIABC will be treated as
a non SGI platform.
--- jack
next prev parent reply other threads:[~2011-06-03 13:16 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-06-02 19:59 [PATCH] x66, UV: Enable 64-bit ACPI MFCG support for SGI UV2 platform Jack Steiner
2011-06-03 8:28 ` Ingo Molnar
2011-06-03 13:17 ` Jack Steiner [this message]
2011-06-03 14:03 ` [tip:x86/uv] " tip-bot for Jack Steiner
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=20110603131735.GB15564@sgi.com \
--to=steiner@sgi.com \
--cc=hpa@zytor.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@elte.hu \
--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