[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] [PATCH] x86/AMD: Remove AMD_ERRATUM_400 definition



# HG changeset patch
# User Boris Ostrovsky <boris.ostrovsky@xxxxxxx>
# 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.

Signed-off-by: Boris Ostrovsky <boris.ostrovsky@xxxxxxx>

diff -r 4374a261682e -r 17e4b237ec5f xen/include/asm-x86/amd.h
--- a/xen/include/asm-x86/amd.h Thu Oct 06 11:36:35 2011 -0400
+++ b/xen/include/asm-x86/amd.h Fri Oct 07 12:34:04 2011 -0400
@@ -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, ...);
 


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.