public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/5] x86: unconditionally enable PAT for AMD CPUs
@ 2008-06-10 14:04 Andreas Herrmann
  2008-06-10 21:40 ` H. Peter Anvin
  0 siblings, 1 reply; 2+ messages in thread
From: Andreas Herrmann @ 2008-06-10 14:04 UTC (permalink / raw)
  To: Thomas Gleixner, Ingo Molnar, H. Peter Anvin; +Cc: linux-kernel

If PAT support is advertised it should just work. No errata known.

Signed-off-by: Andreas Herrmann <andreas.herrmann3@amd.com>
---
 arch/x86/kernel/cpu/addon_cpuid_features.c |    5 +----
 1 files changed, 1 insertions(+), 4 deletions(-)

diff --git a/arch/x86/kernel/cpu/addon_cpuid_features.c b/arch/x86/kernel/cpu/addon_cpuid_features.c
index d8b3e4a..0fbd062 100644
--- a/arch/x86/kernel/cpu/addon_cpuid_features.c
+++ b/arch/x86/kernel/cpu/addon_cpuid_features.c
@@ -54,14 +54,11 @@ void __cpuinit init_scattered_cpuid_features(struct cpuinfo_x86 *c)
 void __cpuinit validate_pat_support(struct cpuinfo_x86 *c)
 {
 	switch (c->x86_vendor) {
-	case X86_VENDOR_AMD:
-		if (c->x86 >= 0xf && c->x86 <= 0x11)
-			return;
-		break;
 	case X86_VENDOR_INTEL:
 		if (c->x86 == 0xF || (c->x86 == 6 && c->x86_model >= 15))
 			return;
 		break;
+	case X86_VENDOR_AMD:
 	case X86_VENDOR_CENTAUR:
 	case X86_VENDOR_TRANSMETA:
 		return;
-- 
1.5.5.3




^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH 1/5] x86: unconditionally enable PAT for AMD CPUs
  2008-06-10 14:04 [PATCH 1/5] x86: unconditionally enable PAT for AMD CPUs Andreas Herrmann
@ 2008-06-10 21:40 ` H. Peter Anvin
  0 siblings, 0 replies; 2+ messages in thread
From: H. Peter Anvin @ 2008-06-10 21:40 UTC (permalink / raw)
  To: Andreas Herrmann; +Cc: Thomas Gleixner, Ingo Molnar, linux-kernel

Andreas Herrmann wrote:
> If PAT support is advertised it should just work. No errata known.

This kills off the remainder of the whitelist (which is good), please 
actually this; this function doesn't do anything anymore and should be 
removed.

	-hpa

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-06-10 21:41 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-06-10 14:04 [PATCH 1/5] x86: unconditionally enable PAT for AMD CPUs Andreas Herrmann
2008-06-10 21:40 ` H. Peter Anvin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox