1 |
Author: psomas |
2 |
Date: 2011-08-29 23:14:59 +0000 (Mon, 29 Aug 2011) |
3 |
New Revision: 1973 |
4 |
|
5 |
Added: |
6 |
genpatches-2.6/trunk/3.0/1700_i386-bigsmp-early-lapicid-override.patch |
7 |
Modified: |
8 |
genpatches-2.6/trunk/3.0/0000_README |
9 |
Log: |
10 |
Eliminate false warnings regarding logical APIC ID mismatches for i386/bigsmp |
11 |
|
12 |
Modified: genpatches-2.6/trunk/3.0/0000_README |
13 |
=================================================================== |
14 |
--- genpatches-2.6/trunk/3.0/0000_README 2011-08-29 23:09:32 UTC (rev 1972) |
15 |
+++ genpatches-2.6/trunk/3.0/0000_README 2011-08-29 23:14:59 UTC (rev 1973) |
16 |
@@ -55,6 +55,10 @@ |
17 |
From: http://www.kernel.org |
18 |
Desc: Linux 3.0.4 |
19 |
|
20 |
+Patch: 1700_i386-bigsmp-early-lapicid-override.patch |
21 |
+From: http://bugs.gentoo.org/show_bug.cgi?id=379867 |
22 |
+Desc: Eliminate false warnings regarding logical APIC ID mismatches for i386/bigsmp |
23 |
+ |
24 |
Patch: 1800_fix-zcache-build.patch |
25 |
From: http://bugs.gentoo.org/show_bug.cgi?id=376325 |
26 |
Desc: Fix zcache build error |
27 |
|
28 |
Added: genpatches-2.6/trunk/3.0/1700_i386-bigsmp-early-lapicid-override.patch |
29 |
=================================================================== |
30 |
--- genpatches-2.6/trunk/3.0/1700_i386-bigsmp-early-lapicid-override.patch (rev 0) |
31 |
+++ genpatches-2.6/trunk/3.0/1700_i386-bigsmp-early-lapicid-override.patch 2011-08-29 23:14:59 UTC (rev 1973) |
32 |
@@ -0,0 +1,21 @@ |
33 |
+--- a/arch/x86/kernel/apic/probe_32.c |
34 |
++++ b/arch/x86/kernel/apic/probe_32.c |
35 |
+@@ -203,7 +203,18 @@ void __init default_setup_apic_routing(v |
36 |
+ if (!cmdline_apic && apic == &apic_default) { |
37 |
+ struct apic *bigsmp = generic_bigsmp_probe(); |
38 |
+ if (bigsmp) { |
39 |
++ unsigned int cpu; |
40 |
++ |
41 |
+ apic = bigsmp; |
42 |
++ for_each_possible_cpu(cpu) { |
43 |
++ if (early_per_cpu(x86_cpu_to_logical_apicid, |
44 |
++ cpu) == BAD_APICID) |
45 |
++ continue; |
46 |
++ early_per_cpu(x86_cpu_to_logical_apicid, |
47 |
++ cpu) = |
48 |
++ bigsmp->x86_32_early_logical_apicid |
49 |
++ (cpu); |
50 |
++ } |
51 |
+ printk(KERN_INFO "Overriding APIC driver with %s\n", |
52 |
+ apic->name); |
53 |
+ } |