Module Name:    src
Committed By:   riastradh
Date:           Mon Jul 24 22:21:09 UTC 2023

Modified Files:
        src/sys/arch/x86/x86: errata.c

Log Message:
x86/errata.c: Say what revision we're searching for.


To generate a diff of this commit:
cvs rdiff -u -r1.28 -r1.29 src/sys/arch/x86/x86/errata.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/x86/x86/errata.c
diff -u src/sys/arch/x86/x86/errata.c:1.28 src/sys/arch/x86/x86/errata.c:1.29
--- src/sys/arch/x86/x86/errata.c:1.28	Mon Jul 24 22:20:53 2023
+++ src/sys/arch/x86/x86/errata.c	Mon Jul 24 22:21:08 2023
@@ -1,4 +1,4 @@
-/*	$NetBSD: errata.c,v 1.28 2023/07/24 22:20:53 riastradh Exp $	*/
+/*	$NetBSD: errata.c,v 1.29 2023/07/24 22:21:08 riastradh Exp $	*/
 
 /*-
  * Copyright (c) 2007 The NetBSD Foundation, Inc.
@@ -47,7 +47,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: errata.c,v 1.28 2023/07/24 22:20:53 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: errata.c,v 1.29 2023/07/24 22:21:08 riastradh Exp $");
 
 #include <sys/types.h>
 #include <sys/systm.h>
@@ -416,6 +416,8 @@ x86_errata(void)
 	ci = curcpu();
 
 	x86_cpuid(0x80000001, descs);
+	aprint_verbose_dev(ci->ci_dev, "searching errata for cpu revision"
+	    " 0x%08"PRIx32"\n", descs[0]);
 
 	for (i = 0;; i += 2) {
 		if ((rev = cpurevs[i]) == OINK)

Reply via email to