Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 269535
b: refs/heads/master
c: 30963c0
h: refs/heads/master
i:
  269533: b0477cf
  269531: 8569362
  269527: 8754f82
  269519: f09d74c
  269503: 0bf35c5
v: v3
  • Loading branch information
Andi Kleen authored and Ingo Molnar committed Oct 14, 2011
1 parent 60dc7f1 commit d4e78d3
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 12 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 506ed6b53e00ba303ad778122f08e1fca7cf5efb
refs/heads/master: 30963c0ac721f70aea0352ed1cd0fc3cfbaef730
15 changes: 4 additions & 11 deletions trunk/arch/x86/kernel/cpu/intel.c
Original file line number Diff line number Diff line change
Expand Up @@ -64,17 +64,10 @@ static void __cpuinit early_init_intel(struct cpuinfo_x86 *c)
* need the microcode to have already been loaded... so if it is
* not, recommend a BIOS update and disable large pages.
*/
if (c->x86 == 6 && c->x86_model == 0x1c && c->x86_mask <= 2) {
u32 ucode, junk;

wrmsr(MSR_IA32_UCODE_REV, 0, 0);
sync_core();
rdmsr(MSR_IA32_UCODE_REV, junk, ucode);

if (ucode < 0x20e) {
printk(KERN_WARNING "Atom PSE erratum detected, BIOS microcode update recommended\n");
clear_cpu_cap(c, X86_FEATURE_PSE);
}
if (c->x86 == 6 && c->x86_model == 0x1c && c->x86_mask <= 2 &&
c->microcode < 0x20e) {
printk(KERN_WARNING "Atom PSE erratum detected, BIOS microcode update recommended\n");
clear_cpu_cap(c, X86_FEATURE_PSE);
}

#ifdef CONFIG_X86_64
Expand Down

0 comments on commit d4e78d3

Please sign in to comment.