projects
/
GitHub
/
LineageOS
/
android_kernel_samsung_universal7580.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a8ac1ae
)
x86: Add Centaur and Transmeta CPUs to PAT whitelist
author
Dave Jones
<davej@redhat.com>
Thu, 22 May 2008 17:02:23 +0000
(13:02 -0400)
committer
H. Peter Anvin
<hpa@zytor.com>
Thu, 22 May 2008 20:25:22 +0000
(13:25 -0700)
Unconditionally enable PAT support on Centaur and Transmeta CPUs.
All known models that advertise PAT have no known errata.
Signed-off-by: Dave Jones <davej@redhat.com>
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
arch/x86/kernel/cpu/addon_cpuid_features.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/x86/kernel/cpu/addon_cpuid_features.c
b/arch/x86/kernel/cpu/addon_cpuid_features.c
index c2e1ce33c7cb0e9a9bdab5d16c204c9a83447f7a..d8b3e4a9d6639e4125e3eaf35f918da5a06a14f0 100644
(file)
--- a/
arch/x86/kernel/cpu/addon_cpuid_features.c
+++ b/
arch/x86/kernel/cpu/addon_cpuid_features.c
@@
-62,6
+62,9
@@
void __cpuinit validate_pat_support(struct cpuinfo_x86 *c)
if (c->x86 == 0xF || (c->x86 == 6 && c->x86_model >= 15))
return;
break;
+ case X86_VENDOR_CENTAUR:
+ case X86_VENDOR_TRANSMETA:
+ return;
}
pat_disable(cpu_has_pat ?