x86: Add Centaur and Transmeta CPUs to PAT whitelist
authorDave Jones <davej@redhat.com>
Thu, 22 May 2008 17:02:23 +0000 (13:02 -0400)
committerH. 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

index c2e1ce3..d8b3e4a 100644 (file)
@@ -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 ?