diff usr/src/uts/i86pc/os/cpuid.c @ 359:a88cb999e7ec

6288246 amd64 kernel needs to detect AMD Opteron erratum 131
author kucharsk
date Tue, 16 Aug 2005 18:33:15 -0700
parents 68f95e015346
children 1c25a2120ec0
line wrap: on
line diff
--- a/usr/src/uts/i86pc/os/cpuid.c	Tue Aug 16 17:19:51 2005 -0700
+++ b/usr/src/uts/i86pc/os/cpuid.c	Tue Aug 16 18:33:15 2005 -0700
@@ -1694,7 +1694,7 @@
  * if it is, and negative if the status of the erratum is unknown.
  *
  * See "Revision Guide for AMD Athlon(tm) 64 and AMD Opteron(tm)
- * Processors" #25759, Rev 3.50, May 2005
+ * Processors" #25759, Rev 3.57, August 2005
  */
 int
 cpuid_opteron_erratum(cpu_t *cpu, uint_t erratum)
@@ -1852,6 +1852,8 @@
 		return (SH_C0(eax) || CG(eax) || D0(eax) || EX(eax));
 	case 123:
 		return (JH_E1(eax) || BH_E4(eax) || JH_E6(eax));
+	case 131:
+		return (1);
 
 	default:
 		return (-1);