[kernel] r13633 - in dists/lenny/linux-2.6/debian: . patches/bugfix/x86 patches/series

Dann Frazier dannf at alioth.debian.org
Mon May 18 22:59:38 UTC 2009


Author: dannf
Date: Mon May 18 22:59:36 2009
New Revision: 13633

Log:
[x86] fix IBM Summit based systems' phys_cpu_present_map on 32-bit
kernels (closes: #529312)

Added:
   dists/lenny/linux-2.6/debian/patches/bugfix/x86/fix-ibm-summit-phys_cpu_present_map.patch
Modified:
   dists/lenny/linux-2.6/debian/changelog
   dists/lenny/linux-2.6/debian/patches/series/16

Modified: dists/lenny/linux-2.6/debian/changelog
==============================================================================
--- dists/lenny/linux-2.6/debian/changelog	Mon May 18 17:53:20 2009	(r13632)
+++ dists/lenny/linux-2.6/debian/changelog	Mon May 18 22:59:36 2009	(r13633)
@@ -31,6 +31,10 @@
   * [x86/xen] Apply missing syscall detection patch to -xen-amd64 image
     (Closes: #527101)
 
+  [ dann frazier ]
+  * [x86] fix IBM Summit based systems' phys_cpu_present_map on 32-bit
+    kernels (closes: #529312)
+
  -- maximilian attems <maks at debian.org>  Mon, 30 Mar 2009 17:11:49 +0200
 
 linux-2.6 (2.6.26-15lenny2) stable-security; urgency=high

Added: dists/lenny/linux-2.6/debian/patches/bugfix/x86/fix-ibm-summit-phys_cpu_present_map.patch
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ dists/lenny/linux-2.6/debian/patches/bugfix/x86/fix-ibm-summit-phys_cpu_present_map.patch	Mon May 18 22:59:36 2009	(r13633)
@@ -0,0 +1,27 @@
+commit 1ca9fda4b2f3413e4bc748b983f5585629ca0560
+Author: Chris McDermott <lcm at linux.vnet.ibm.com>
+Date:   Thu Jul 24 19:06:09 2008 -0700
+
+    x86: fix IBM Summit based systems' phys_cpu_present_map on 32-bit kernels
+    
+    x86 kernels on IBM Summit based systems will only online 1 CPU because the
+    phys_cpu_present_map is not set up correctly. Patch below applied to
+    2.6.26-git10.
+    
+    Signed-off-by: Chris McDermott <lcm at linux.vnet.ibm.com>
+    Tested-by: Tim Pepper <lnxninga at linux.vnet.ibm.com>
+    Signed-off-by: Ingo Molnar <mingo at elte.hu>
+
+diff --git a/include/asm-x86/mach-summit/mach_apic.h b/include/asm-x86/mach-summit/mach_apic.h
+index 75d2c95..c47e2ab 100644
+--- a/include/asm-x86/mach-summit/mach_apic.h
++++ b/include/asm-x86/mach-summit/mach_apic.h
+@@ -122,7 +122,7 @@ static inline physid_mask_t ioapic_phys_id_map(physid_mask_t phys_id_map)
+ 
+ static inline physid_mask_t apicid_to_cpu_present(int apicid)
+ {
+-	return physid_mask_of_physid(0);
++	return physid_mask_of_physid(apicid);
+ }
+ 
+ static inline void setup_portio_remap(void)

Modified: dists/lenny/linux-2.6/debian/patches/series/16
==============================================================================
--- dists/lenny/linux-2.6/debian/patches/series/16	Mon May 18 17:53:20 2009	(r13632)
+++ dists/lenny/linux-2.6/debian/patches/series/16	Mon May 18 22:59:36 2009	(r13633)
@@ -3,3 +3,4 @@
 + bugfix/all/cdc-acm-mtk-gps-quirk.patch
 + bugfix/x86/gettimeofday-vDSO-NULL-tv-segv.patch
 + bugfix/all/sunrpc-fix-performance-regression-in-rpc-auth-code.patch
++ bugfix/x86/fix-ibm-summit-phys_cpu_present_map.patch



More information about the Kernel-svn-changes mailing list