lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20080725020609.GB11800@us.ibm.com>
Date:	Thu, 24 Jul 2008 19:06:09 -0700
From:	Chris McDermott <lcm@...ux.vnet.ibm.com>
To:	linux-next@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: [PATCH] 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.

thanks,

Chris McDermott <lcm@...ux.vnet.ibm.com>


Signed-off-by: Chris McDermott <lcm@...ux.vnet.ibm.com>
Tested-by: Tim Pepper <lnxninga@...ux.vnet.ibm.com>


--- a/include/asm-x86/mach-summit/mach_apic.h	2008-07-24 18:06:39.000000000 -0700
+++ b/include/asm-x86/mach-summit/mach_apic.h	2008-07-24 18:09:29.000000000 -0700
@@ -122,7 +122,7 @@ static inline physid_mask_t ioapic_phys_
 
 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)
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ