Enable PAT for more AMD CPUs
PATCH 1/1 Enable PAT for more AMD CPUs
I checked some K7 errata files and couldn't find anything related to PAT. Also for Fam10h and 11h it should be definitely enabled.
Enable PAT for all AMD CPUs >= 6, which is K7 and newer.
Signed-off-by Andi Kleen <[email protected]>
arch/x86/mm/pat.c +1 -1
@@ -49,7 +49,7 @@ static int pat_known_cpu(void)return cpu_has_pat;if (boot_cpu_data.x86_vendor ==X86_VENDOR_AMD && - (boot_cpu_data.x86 ==0xF )) + (boot_cpu_data.x86 >=6 ))return cpu_has_pat;return 0 ;
Ingo Molnar
AppliedQuoted 4 lines · Andi Kleen
I checked some K7 errata files and couldn't find anything related to PAT. Also for Fam10h and 11h it should be definitely enabled.
Enable PAT for all AMD CPUs >= 6, which is K7 and newer.
thanks, applied.
Ingo