Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/x86/x86 fix the cpuids for the zen2 client CPUs.



details:   https://anonhg.NetBSD.org/src/rev/75ff3979067f
branches:  trunk
changeset: 378192:75ff3979067f
user:      mrg <mrg%NetBSD.org@localhost>
date:      Wed Jul 26 00:19:04 2023 +0000

description:
fix the cpuids for the zen2 client CPUs.

i'm not exactly how i came up with the values i had, though one
of them was still valid and matched my test systems.

XXX: pullup-*

diffstat:

 sys/arch/x86/x86/errata.c |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (29 lines):

diff -r 6c41117dbaf3 -r 75ff3979067f sys/arch/x86/x86/errata.c
--- a/sys/arch/x86/x86/errata.c Tue Jul 25 16:56:35 2023 +0000
+++ b/sys/arch/x86/x86/errata.c Wed Jul 26 00:19:04 2023 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: errata.c,v 1.31 2023/07/25 01:09:05 mrg Exp $  */
+/*     $NetBSD: errata.c,v 1.32 2023/07/26 00:19:04 mrg Exp $  */
 
 /*-
  * Copyright (c) 2007 The NetBSD Foundation, Inc.
@@ -47,7 +47,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: errata.c,v 1.31 2023/07/25 01:09:05 mrg Exp $");
+__KERNEL_RCSID(0, "$NetBSD: errata.c,v 1.32 2023/07/26 00:19:04 mrg Exp $");
 
 #include <sys/types.h>
 #include <sys/systm.h>
@@ -98,8 +98,8 @@ static const u_int cpurevs[] = {
        ML_A1, 0x0730F01, ZP_B1, 0x0800F11, ZP_B2, 0x0800F12,
        PiR_B2, 0x0800F82, Rome_B0, 0x0830F10,
        /* XXX client Zen2 names aren't known yet. */
-       Z2_XB, 0x0840F70, Z2_Ren, 0x0860F80, Z2_Luc, 0x0870F10,
-       Z2_Mat, 0x0890F70, Z2_VG, 0x0890F80, Z2_Men, 0x08A0F10,
+       Z2_XB, 0x0840F70, Z2_Ren, 0x0860F01, Z2_Luc, 0x0860F81,
+       Z2_Mat, 0x0870F10, Z2_VG, 0x0890F02, Z2_Men, 0x08A0F00,
        Milan_B1, 0x0A00F11, Milan_B2, 0x0A00F12,
        Genoa_B1, 0x0A10F11,
        OINK



Home | Main Index | Thread Index | Old Index