Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1566722

[PATCH 6/7] x86/platform/UV: Insure uv_system_init is called when necessary

From 'Mike Travis <travis@sgi.com>, '@sgi.com
Newsgroups linux.kernel
Subject [PATCH 6/7] x86/platform/UV: Insure uv_system_init is called when necessary
Date 2017-01-25 17:20 +0100
Message-ID <t3ysG-403-31@gated-at.bofh.it> (permalink)
References <t3ysF-403-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Move the check to whether this is a UV system that needs initialization
from is_uv_system() to the internal uv_system_init() function.  This is
because on a UV system without a HUB the is_uv_system() returns false.
But we still need some specific UV system initialization.  See the
uv_system_init() for change to a quick check if UV is applicable. This
change should not increase overhead since is_uv_system() also called
into this same area.

Signed-off-by: Mike Travis <travis@sgi.com>
###Acked-by: Dimitri Sivanich <sivanich@hpe.com>
###Reviewed-by: Russ Anderson <rja@hpe.com>
---
 arch/x86/kernel/smpboot.c |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

--- linux.orig/arch/x86/kernel/smpboot.c
+++ linux/arch/x86/kernel/smpboot.c
@@ -1341,8 +1341,7 @@ void __init native_smp_prepare_cpus(unsi
 	pr_info("CPU0: ");
 	print_cpu_info(&cpu_data(0));
 
-	if (is_uv_system())
-		uv_system_init();
+	uv_system_init();
 
 	set_mtrr_aps_delayed_init();
 

-- 

Back to linux.kernel | Previous | Next | Find similar | Unroll thread


Thread

[PATCH 6/7] x86/platform/UV: Insure uv_system_init is called when necessary 'Mike Travis <travis@sgi.com>, '@sgi.com - 2017-01-25 17:20 +0100

csiph-web