projects
/
profile
/
ivi
/
kernel-x86-ivi.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
x86: prevent C-states hang on AMD C1E enabled machines
[profile/ivi/kernel-x86-ivi.git]
/
include
/
asm-x86
/
acpi.h
diff --git
a/include/asm-x86/acpi.h
b/include/asm-x86/acpi.h
index
635d764
..
35d1743
100644
(file)
--- a/
include/asm-x86/acpi.h
+++ b/
include/asm-x86/acpi.h
@@
-140,6
+140,8
@@
static inline unsigned int acpi_processor_cstate_check(unsigned int max_cstate)
boot_cpu_data.x86_model <= 0x05 &&
boot_cpu_data.x86_mask < 0x0A)
return 1;
+ else if (boot_cpu_has(X86_FEATURE_AMDC1E))
+ return 1;
else
return max_cstate;
}