From: Mike Travis <travis@sgi.com>
To: Thomas Gleixner <tglx@linutronix.de>, Ingo Molnar <mingo@elte.hu>,
"H. Peter Anvin" <hpa@zytor.com>
Cc: Andrew Morton <akpm@linux-foundation.org>,
x86@kernel.org, linux-kernel@vger.kernel.org,
Russ Anderson <rja@sgi.com>, Jiang Liu <liuj97@gmail.com>,
Bjorn Helgaas <bhelgaas@google.com>,
Yinghai Lu <yinghai@kernel.org>,
Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Subject: [PATCH 2/7] x86, UV: UV3 Update ACPI Check
Date: Tue, 05 Feb 2013 16:26:50 -0600 [thread overview]
Message-ID: <20130205222648.534517884@gulag1.americas.sgi.com> (raw)
In-Reply-To: 20130205222648.204965172@gulag1.americas.sgi.com
[-- Attachment #1: uv3-update-acpi-check.patch --]
[-- Type: text/plain, Size: 901 bytes --]
Add UV3 to exclusion list. Instead of adding every
new series of SGI UV systems, just check oem_id to
have a prefix of "SGI".
Signed-off-by: Mike Travis <travis@sgi.com>
Acked-by: Russ Anderson <rja@sgi.com>
Reviewed-by: Dimitri Sivanich <sivanich@sgi.com>
Cc: Jiang Liu <liuj97@gmail.com>
Cc: Bjorn Helgaas <bhelgaas@google.com>
Cc: Yinghai Lu <yinghai@kernel.org>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
---
arch/x86/pci/mmconfig-shared.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
--- linux.orig/arch/x86/pci/mmconfig-shared.c
+++ linux/arch/x86/pci/mmconfig-shared.c
@@ -548,8 +548,7 @@ static int __init acpi_mcfg_check_entry(
if (cfg->address < 0xFFFFFFFF)
return 0;
- if (!strcmp(mcfg->header.oem_id, "SGI") ||
- !strcmp(mcfg->header.oem_id, "SGI2"))
+ if (!strncmp(mcfg->header.oem_id, "SGI", 3))
return 0;
if (mcfg->header.revision >= 1) {
next prev parent reply other threads:[~2013-02-05 22:26 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-02-05 22:26 [PATCH 0/7] x86: SGI UV3 Kernel Updates Mike Travis
2013-02-05 22:26 ` [PATCH 1/7] x86, UV: UV3 Update MMR register definitions Mike Travis
2013-02-05 22:26 ` Mike Travis [this message]
2013-02-05 22:26 ` [PATCH 3/7] x86: UV3 Update Hub Info Mike Travis
2013-02-05 22:26 ` [PATCH 4/7] x86, UV: UV3 Update x2apic Support Mike Travis
2013-02-06 11:13 ` Ingo Molnar
2013-02-06 20:43 ` Mike Travis
2013-02-05 22:26 ` [PATCH 5/7] x86, UV: UV3 Update Time Support Mike Travis
2013-02-05 22:26 ` [PATCH 6/7] x86, UV: UV3 Check current gru hub support Mike Travis
2013-02-05 22:26 ` [PATCH 7/7] x86, UV: UV3 Trim MMR register definitions after code changes Mike Travis
2013-02-06 22:22 ` [PATCH 0/7] x86: SGI UV3 Kernel Updates H. Peter Anvin
2013-02-08 18:43 Mike Travis
2013-02-08 18:43 ` [PATCH 2/7] x86, UV: UV3 Update ACPI Check Mike Travis
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=20130205222648.534517884@gulag1.americas.sgi.com \
--to=travis@sgi.com \
--cc=akpm@linux-foundation.org \
--cc=bhelgaas@google.com \
--cc=gregkh@linuxfoundation.org \
--cc=hpa@zytor.com \
--cc=linux-kernel@vger.kernel.org \
--cc=liuj97@gmail.com \
--cc=mingo@elte.hu \
--cc=rja@sgi.com \
--cc=tglx@linutronix.de \
--cc=x86@kernel.org \
--cc=yinghai@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.