From: Mike Travis <travis@sgi.com>
To: Ingo Molnar <mingo@redhat.com>,
Andrew Morton <akpm@linux-foundation.org>,
Thomas Gleixner <tglx@linutronix.de>,
"H. Peter Anvin" <hpa@zytor.com>
Cc: Hedi Berriche <hedi@sgi.com>, Dimitri Sivanich <sivanich@sgi.com>,
x86@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: [PATCH 3/3] X86, UV: Update UV APIC HUB check
Date: Thu, 09 Apr 2015 13:26:31 -0500 [thread overview]
Message-ID: <20150409182629.267239403@asylum.americas.sgi.com> (raw)
In-Reply-To: <20150409182628.627594537@asylum.americas.sgi.com>
[-- Attachment #1: update-uv-apic-hub-check --]
[-- Type: text/plain, Size: 903 bytes --]
Update check for UV2000/3000. Note when HUB is not recognized.
Signed-off-by: Mike Travis <travis@sgi.com>
Acked-by: Hedi Berriche <hedi@sgi.com>
Acked-by: Dimitri Sivanich <sivanich@sgi.com>
---
arch/x86/kernel/apic/x2apic_uv_x.c | 10 +++++++---
1 file changed, 7 insertions(+), 3 deletions(-)
--- linux.orig/arch/x86/kernel/apic/x2apic_uv_x.c
+++ linux/arch/x86/kernel/apic/x2apic_uv_x.c
@@ -881,10 +881,14 @@ void __init uv_system_init(void)
unsigned long mmr_base, present, paddr;
unsigned short pnode_mask;
unsigned char n_lshift;
- char *hub = (is_uv1_hub() ? "UV1" :
- (is_uv2_hub() ? "UV2" :
- "UV3"));
+ char *hub = (is_uv1_hub() ? "UV100/1000" :
+ (is_uv2_hub() ? "UV2000/3000" :
+ (is_uv3_hub() ? "UV300" : NULL)));
+ if (!hub) {
+ pr_err("UV: Unknown/unsupported UV hub\n");
+ return;
+ }
pr_info("UV: Found %s hub\n", hub);
map_low_mmrs();
--
next prev parent reply other threads:[~2015-04-09 18:26 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-04-09 18:26 [PATCH 0/3] UV: Update UV APIC checks for new systems Mike Travis
2015-04-09 18:26 ` [PATCH 1/3] X86, UV: Update UV APIC OEM check Mike Travis
2015-04-10 17:43 ` [tip:x86/apic] x86/apic/uv: Update the APIC UV " tip-bot for Mike Travis
2015-04-09 18:26 ` [PATCH 2/3] X86, UV: Update UV APIC driver check Mike Travis
2015-04-10 17:43 ` [tip:x86/apic] x86/apic/uv: Update the " tip-bot for Mike Travis
2015-04-09 18:26 ` Mike Travis [this message]
2015-04-10 17:44 ` [tip:x86/apic] x86/apic/uv: Update the UV APIC HUB check tip-bot for 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=20150409182629.267239403@asylum.americas.sgi.com \
--to=travis@sgi.com \
--cc=akpm@linux-foundation.org \
--cc=hedi@sgi.com \
--cc=hpa@zytor.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@redhat.com \
--cc=sivanich@sgi.com \
--cc=tglx@linutronix.de \
--cc=x86@vger.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
Powered by JetHome