Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 242524
b: refs/heads/master
c: 45daae5
h: refs/heads/master
v: v3
  • Loading branch information
Ingo Molnar committed Mar 25, 2011
1 parent 8c2229a commit 344231f
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 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: 242214f9c1eeaae40eca11e3b4d37bfce960a7cd
refs/heads/master: 45daae575e08bbf7405c5a3633e956fa364d1b4f
9 changes: 7 additions & 2 deletions trunk/arch/x86/kernel/cpu/perf_event.c
Original file line number Diff line number Diff line change
Expand Up @@ -500,12 +500,17 @@ static bool check_hw_exists(void)
return true;

bios_fail:
printk(KERN_CONT "Broken BIOS detected, using software events only.\n");
/*
* We still allow the PMU driver to operate:
*/
printk(KERN_CONT "Broken BIOS detected, complain to your hardware vendor.\n");
printk(KERN_ERR FW_BUG "the BIOS has corrupted hw-PMU resources (MSR %x is %Lx)\n", reg, val);
return false;

return true;

msr_fail:
printk(KERN_CONT "Broken PMU hardware detected, using software events only.\n");

return false;
}

Expand Down

0 comments on commit 344231f

Please sign in to comment.