Skip to contentSkip to conversation

x86/AMD: Remove AMD_ERRATUM_400 definition

PATCH New Boris Ostrovsky 1 participant 1 message Oct 7, 2011

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 x86/AMD: Remove AMD_ERRATUM_400 definition

# HG changeset patch
# User Boris Ostrovsky <[email protected]> # Date 1318005244 14400
# Node ID 17e4b237ec5f162cba2069934ec608ba8be03016 # Parent 4374a261682e78d6bbf3b3fefb1e779b7a1fc3b3 x86/AMD: Remove AMD_ERRATUM_400 definition

AMD_ERRATUM_400 was used to determine whether the processor supports Always Running APIC Counter (ARAT) feature in init_amd(). Now that ARAT support is based solely on family number this macro is no longer needed.

Keep it in comments section as an example in case we ever need to use it for somethnig else.

xen/include/asm-x86/amd.h +0 -4
diff -r 4374a261682e -r 17e4b237ec5f xen/include/asm-x86/amd.h
@@ -134,10 +134,6 @@
     AMD_OSVW_ERRATUM(3, AMD_MODEL_RANGE(0x10, 0x2, 0x1, 0xff, 0xf),	\
 		        AMD_MODEL_RANGE(0x12, 0x0, 0x0, 0x1, 0x0))
 
-#define AMD_ERRATUM_400                                                 \
-    AMD_OSVW_ERRATUM(1, AMD_MODEL_RANGE(0xf, 0x41, 0x2, 0xff, 0xf),     \
-                        AMD_MODEL_RANGE(0x10, 0x2, 0x1, 0xff, 0xf))
-
 struct cpuinfo_x86;
 int cpu_has_amd_erratum(const struct cpuinfo_x86 *, int, ...);