aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--arch/x86/kernel/cpu/amd.c23
-rw-r--r--arch/x86/kernel/cpu/bugs_64.c2
-rw-r--r--arch/x86/kernel/cpu/centaur.c10
-rw-r--r--arch/x86/kernel/cpu/common.c42
-rw-r--r--arch/x86/kernel/cpu/cyrix.c10
-rw-r--r--arch/x86/kernel/cpu/hypervisor.c2
-rw-r--r--arch/x86/kernel/cpu/intel.c10
-rw-r--r--arch/x86/kernel/cpu/intel_cacheinfo.c2
-rw-r--r--arch/x86/kernel/cpu/mcheck/mce-inject.c15
-rw-r--r--arch/x86/kernel/cpu/mcheck/p5.c18
-rw-r--r--arch/x86/kernel/cpu/mcheck/therm_throt.c15
-rw-r--r--arch/x86/kernel/cpu/mcheck/threshold.c4
-rw-r--r--arch/x86/kernel/cpu/mcheck/winchip.c5
-rw-r--r--arch/x86/kernel/cpu/microcode/amd.c2
-rw-r--r--arch/x86/kernel/cpu/mshyperv.c8
-rw-r--r--arch/x86/kernel/cpu/mtrr/centaur.c2
-rw-r--r--arch/x86/kernel/cpu/mtrr/cleanup.c44
-rw-r--r--arch/x86/kernel/cpu/mtrr/generic.c23
-rw-r--r--arch/x86/kernel/cpu/mtrr/main.c20
-rw-r--r--arch/x86/kernel/cpu/perf_event.c9
-rw-r--r--arch/x86/kernel/cpu/perf_event_amd_ibs.c10
-rw-r--r--arch/x86/kernel/cpu/perf_event_amd_uncore.c4
-rw-r--r--arch/x86/kernel/cpu/perf_event_intel_ds.c6
-rw-r--r--arch/x86/kernel/cpu/rdrand.c2
-rw-r--r--arch/x86/kernel/cpu/topology.c4
-rw-r--r--arch/x86/kernel/cpu/transmeta.c8
-rw-r--r--arch/x86/kernel/cpu/vmware.c5
27 files changed, 146 insertions, 159 deletions
diff --git a/arch/x86/kernel/cpu/amd.c b/arch/x86/kernel/cpu/amd.c
index a07956a08936..97c59fd60702 100644
--- a/arch/x86/kernel/cpu/amd.c
+++ b/arch/x86/kernel/cpu/amd.c
@@ -117,7 +117,7 @@ static void init_amd_k6(struct cpuinfo_x86 *c)
117 void (*f_vide)(void); 117 void (*f_vide)(void);
118 u64 d, d2; 118 u64 d, d2;
119 119
120 printk(KERN_INFO "AMD K6 stepping B detected - "); 120 pr_info("AMD K6 stepping B detected - ");
121 121
122 /* 122 /*
123 * It looks like AMD fixed the 2.6.2 bug and improved indirect 123 * It looks like AMD fixed the 2.6.2 bug and improved indirect
@@ -133,10 +133,9 @@ static void init_amd_k6(struct cpuinfo_x86 *c)
133 d = d2-d; 133 d = d2-d;
134 134
135 if (d > 20*K6_BUG_LOOP) 135 if (d > 20*K6_BUG_LOOP)
136 printk(KERN_CONT 136 pr_cont("system stability may be impaired when more than 32 MB are used.\n");
137 "system stability may be impaired when more than 32 MB are used.\n");
138 else 137 else
139 printk(KERN_CONT "probably OK (after B9730xxxx).\n"); 138 pr_cont("probably OK (after B9730xxxx).\n");
140 } 139 }
141 140
142 /* K6 with old style WHCR */ 141 /* K6 with old style WHCR */
@@ -154,7 +153,7 @@ static void init_amd_k6(struct cpuinfo_x86 *c)
154 wbinvd(); 153 wbinvd();
155 wrmsr(MSR_K6_WHCR, l, h); 154 wrmsr(MSR_K6_WHCR, l, h);
156 local_irq_restore(flags); 155 local_irq_restore(flags);
157 printk(KERN_INFO "Enabling old style K6 write allocation for %d Mb\n", 156 pr_info("Enabling old style K6 write allocation for %d Mb\n",
158 mbytes); 157 mbytes);
159 } 158 }
160 return; 159 return;
@@ -175,7 +174,7 @@ static void init_amd_k6(struct cpuinfo_x86 *c)
175 wbinvd(); 174 wbinvd();
176 wrmsr(MSR_K6_WHCR, l, h); 175 wrmsr(MSR_K6_WHCR, l, h);
177 local_irq_restore(flags); 176 local_irq_restore(flags);
178 printk(KERN_INFO "Enabling new style K6 write allocation for %d Mb\n", 177 pr_info("Enabling new style K6 write allocation for %d Mb\n",
179 mbytes); 178 mbytes);
180 } 179 }
181 180
@@ -202,7 +201,7 @@ static void init_amd_k7(struct cpuinfo_x86 *c)
202 */ 201 */
203 if (c->x86_model >= 6 && c->x86_model <= 10) { 202 if (c->x86_model >= 6 && c->x86_model <= 10) {
204 if (!cpu_has(c, X86_FEATURE_XMM)) { 203 if (!cpu_has(c, X86_FEATURE_XMM)) {
205 printk(KERN_INFO "Enabling disabled K7/SSE Support.\n"); 204 pr_info("Enabling disabled K7/SSE Support.\n");
206 msr_clear_bit(MSR_K7_HWCR, 15); 205 msr_clear_bit(MSR_K7_HWCR, 15);
207 set_cpu_cap(c, X86_FEATURE_XMM); 206 set_cpu_cap(c, X86_FEATURE_XMM);
208 } 207 }
@@ -216,9 +215,8 @@ static void init_amd_k7(struct cpuinfo_x86 *c)
216 if ((c->x86_model == 8 && c->x86_mask >= 1) || (c->x86_model > 8)) { 215 if ((c->x86_model == 8 && c->x86_mask >= 1) || (c->x86_model > 8)) {
217 rdmsr(MSR_K7_CLK_CTL, l, h); 216 rdmsr(MSR_K7_CLK_CTL, l, h);
218 if ((l & 0xfff00000) != 0x20000000) { 217 if ((l & 0xfff00000) != 0x20000000) {
219 printk(KERN_INFO 218 pr_info("CPU: CLK_CTL MSR was %x. Reprogramming to %x\n",
220 "CPU: CLK_CTL MSR was %x. Reprogramming to %x\n", 219 l, ((l & 0x000fffff)|0x20000000));
221 l, ((l & 0x000fffff)|0x20000000));
222 wrmsr(MSR_K7_CLK_CTL, (l & 0x000fffff)|0x20000000, h); 220 wrmsr(MSR_K7_CLK_CTL, (l & 0x000fffff)|0x20000000, h);
223 } 221 }
224 } 222 }
@@ -485,7 +483,7 @@ static void bsp_init_amd(struct cpuinfo_x86 *c)
485 if (!rdmsrl_safe(MSR_K8_TSEG_ADDR, &tseg)) { 483 if (!rdmsrl_safe(MSR_K8_TSEG_ADDR, &tseg)) {
486 unsigned long pfn = tseg >> PAGE_SHIFT; 484 unsigned long pfn = tseg >> PAGE_SHIFT;
487 485
488 printk(KERN_DEBUG "tseg: %010llx\n", tseg); 486 pr_debug("tseg: %010llx\n", tseg);
489 if (pfn_range_is_mapped(pfn, pfn + 1)) 487 if (pfn_range_is_mapped(pfn, pfn + 1))
490 set_memory_4k((unsigned long)__va(tseg), 1); 488 set_memory_4k((unsigned long)__va(tseg), 1);
491 } 489 }
@@ -500,8 +498,7 @@ static void bsp_init_amd(struct cpuinfo_x86 *c)
500 498
501 rdmsrl(MSR_K7_HWCR, val); 499 rdmsrl(MSR_K7_HWCR, val);
502 if (!(val & BIT(24))) 500 if (!(val & BIT(24)))
503 printk(KERN_WARNING FW_BUG "TSC doesn't count " 501 pr_warn(FW_BUG "TSC doesn't count with P0 frequency!\n");
504 "with P0 frequency!\n");
505 } 502 }
506 } 503 }
507 504
diff --git a/arch/x86/kernel/cpu/bugs_64.c b/arch/x86/kernel/cpu/bugs_64.c
index 04f0fe5af83e..a972ac4c7e7d 100644
--- a/arch/x86/kernel/cpu/bugs_64.c
+++ b/arch/x86/kernel/cpu/bugs_64.c
@@ -15,7 +15,7 @@ void __init check_bugs(void)
15{ 15{
16 identify_boot_cpu(); 16 identify_boot_cpu();
17#if !defined(CONFIG_SMP) 17#if !defined(CONFIG_SMP)
18 printk(KERN_INFO "CPU: "); 18 pr_info("CPU: ");
19 print_cpu_info(&boot_cpu_data); 19 print_cpu_info(&boot_cpu_data);
20#endif 20#endif
21 alternative_instructions(); 21 alternative_instructions();
diff --git a/arch/x86/kernel/cpu/centaur.c b/arch/x86/kernel/cpu/centaur.c
index ae20be6e483c..ce197bb7c129 100644
--- a/arch/x86/kernel/cpu/centaur.c
+++ b/arch/x86/kernel/cpu/centaur.c
@@ -29,7 +29,7 @@ static void init_c3(struct cpuinfo_x86 *c)
29 rdmsr(MSR_VIA_FCR, lo, hi); 29 rdmsr(MSR_VIA_FCR, lo, hi);
30 lo |= ACE_FCR; /* enable ACE unit */ 30 lo |= ACE_FCR; /* enable ACE unit */
31 wrmsr(MSR_VIA_FCR, lo, hi); 31 wrmsr(MSR_VIA_FCR, lo, hi);
32 printk(KERN_INFO "CPU: Enabled ACE h/w crypto\n"); 32 pr_info("CPU: Enabled ACE h/w crypto\n");
33 } 33 }
34 34
35 /* enable RNG unit, if present and disabled */ 35 /* enable RNG unit, if present and disabled */
@@ -37,7 +37,7 @@ static void init_c3(struct cpuinfo_x86 *c)
37 rdmsr(MSR_VIA_RNG, lo, hi); 37 rdmsr(MSR_VIA_RNG, lo, hi);
38 lo |= RNG_ENABLE; /* enable RNG unit */ 38 lo |= RNG_ENABLE; /* enable RNG unit */
39 wrmsr(MSR_VIA_RNG, lo, hi); 39 wrmsr(MSR_VIA_RNG, lo, hi);
40 printk(KERN_INFO "CPU: Enabled h/w RNG\n"); 40 pr_info("CPU: Enabled h/w RNG\n");
41 } 41 }
42 42
43 /* store Centaur Extended Feature Flags as 43 /* store Centaur Extended Feature Flags as
@@ -130,7 +130,7 @@ static void init_centaur(struct cpuinfo_x86 *c)
130 name = "C6"; 130 name = "C6";
131 fcr_set = ECX8|DSMC|EDCTLB|EMMX|ERETSTK; 131 fcr_set = ECX8|DSMC|EDCTLB|EMMX|ERETSTK;
132 fcr_clr = DPDC; 132 fcr_clr = DPDC;
133 printk(KERN_NOTICE "Disabling bugged TSC.\n"); 133 pr_notice("Disabling bugged TSC.\n");
134 clear_cpu_cap(c, X86_FEATURE_TSC); 134 clear_cpu_cap(c, X86_FEATURE_TSC);
135 break; 135 break;
136 case 8: 136 case 8:
@@ -163,11 +163,11 @@ static void init_centaur(struct cpuinfo_x86 *c)
163 newlo = (lo|fcr_set) & (~fcr_clr); 163 newlo = (lo|fcr_set) & (~fcr_clr);
164 164
165 if (newlo != lo) { 165 if (newlo != lo) {
166 printk(KERN_INFO "Centaur FCR was 0x%X now 0x%X\n", 166 pr_info("Centaur FCR was 0x%X now 0x%X\n",
167 lo, newlo); 167 lo, newlo);
168 wrmsr(MSR_IDT_FCR1, newlo, hi); 168 wrmsr(MSR_IDT_FCR1, newlo, hi);
169 } else { 169 } else {
170 printk(KERN_INFO "Centaur FCR is 0x%X\n", lo);