浏览代码

x86: Add Centaur and Transmeta CPUs to PAT whitelist

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>
Dave Jones 17 年之前
父节点
当前提交
873b274a41
共有 1 个文件被更改,包括 3 次插入0 次删除
  1. 3 0
      arch/x86/kernel/cpu/addon_cpuid_features.c

+ 3 - 0
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))
 		if (c->x86 == 0xF || (c->x86 == 6 && c->x86_model >= 15))
 			return;
 			return;
 		break;
 		break;
+	case X86_VENDOR_CENTAUR:
+	case X86_VENDOR_TRANSMETA:
+		return;
 	}
 	}
 
 
 	pat_disable(cpu_has_pat ?
 	pat_disable(cpu_has_pat ?