CVS commit: src/sys/dev/pci

2022-08-02 Thread Nick Hudson
Module Name:src
Committed By:   skrll
Date:   Wed Aug  3 05:29:04 UTC 2022

Modified Files:
src/sys/dev/pci: if_wm.c

Log Message:
Add a KASSERT for the locking protocol in wm_ioctl.

Read the interface up/down status from sc_if_flags (under WM_CORE_LOCK)
when deciding if the multicast filter needs to be updated.

Discussed with msaitoh@, knakahara@ and riastradh@


To generate a diff of this commit:
cvs rdiff -u -r1.750 -r1.751 src/sys/dev/pci/if_wm.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/dev/pci/if_wm.c
diff -u src/sys/dev/pci/if_wm.c:1.750 src/sys/dev/pci/if_wm.c:1.751
--- src/sys/dev/pci/if_wm.c:1.750	Wed Aug  3 05:23:30 2022
+++ src/sys/dev/pci/if_wm.c	Wed Aug  3 05:29:04 2022
@@ -1,4 +1,4 @@
-/*	$NetBSD: if_wm.c,v 1.750 2022/08/03 05:23:30 skrll Exp $	*/
+/*	$NetBSD: if_wm.c,v 1.751 2022/08/03 05:29:04 skrll Exp $	*/
 
 /*
  * Copyright (c) 2001, 2002, 2003, 2004 Wasabi Systems, Inc.
@@ -82,7 +82,7 @@
  */
 
 #include 
-__KERNEL_RCSID(0, "$NetBSD: if_wm.c,v 1.750 2022/08/03 05:23:30 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_wm.c,v 1.751 2022/08/03 05:29:04 skrll Exp $");
 
 #ifdef _KERNEL_OPT
 #include "opt_net_mpsafe.h"
@@ -3972,6 +3972,14 @@ wm_ioctl(struct ifnet *ifp, u_long cmd, 
 	DPRINTF(sc, WM_DEBUG_INIT, ("%s: %s called\n",
 		device_xname(sc->sc_dev), __func__));
 
+	switch (cmd) {
+	case SIOCADDMULTI:
+	case SIOCDELMULTI:
+		break;
+	default:
+		KASSERT(IFNET_LOCKED(ifp));
+	}
+
 #ifndef WM_MPSAFE
 	s = splnet();
 #endif
@@ -4040,15 +4048,15 @@ wm_ioctl(struct ifnet *ifp, u_long cmd, 
 
 		if (cmd == SIOCSIFCAP)
 			error = if_init(ifp);
-		else if (cmd != SIOCADDMULTI && cmd != SIOCDELMULTI)
-			;
-		else if (ifp->if_flags & IFF_RUNNING) {
-			/*
-			 * Multicast list has changed; set the hardware filter
-			 * accordingly.
-			 */
+		else if (cmd == SIOCADDMULTI || cmd == SIOCDELMULTI) {
 			WM_CORE_LOCK(sc);
-			wm_set_filter(sc);
+			if (sc->sc_if_flags & IFF_RUNNING) {
+/*
+ * Multicast list has changed; set the hardware filter
+ * accordingly.
+ */
+wm_set_filter(sc);
+			}
 			WM_CORE_UNLOCK(sc);
 		}
 		break;



CVS commit: src/sys/dev/pci

2022-08-02 Thread Nick Hudson
Module Name:src
Committed By:   skrll
Date:   Wed Aug  3 05:29:04 UTC 2022

Modified Files:
src/sys/dev/pci: if_wm.c

Log Message:
Add a KASSERT for the locking protocol in wm_ioctl.

Read the interface up/down status from sc_if_flags (under WM_CORE_LOCK)
when deciding if the multicast filter needs to be updated.

Discussed with msaitoh@, knakahara@ and riastradh@


To generate a diff of this commit:
cvs rdiff -u -r1.750 -r1.751 src/sys/dev/pci/if_wm.c

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



CVS commit: src/sys/dev/pci

2022-08-02 Thread Nick Hudson
Module Name:src
Committed By:   skrll
Date:   Wed Aug  3 05:23:30 UTC 2022

Modified Files:
src/sys/dev/pci: if_wm.c

Log Message:
Add some KASSERTs around the locking protocol.

Discussed with msaitoh@, knakahara@ and riastradh@


To generate a diff of this commit:
cvs rdiff -u -r1.749 -r1.750 src/sys/dev/pci/if_wm.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/dev/pci/if_wm.c
diff -u src/sys/dev/pci/if_wm.c:1.749 src/sys/dev/pci/if_wm.c:1.750
--- src/sys/dev/pci/if_wm.c:1.749	Fri Jul 29 15:30:42 2022
+++ src/sys/dev/pci/if_wm.c	Wed Aug  3 05:23:30 2022
@@ -1,4 +1,4 @@
-/*	$NetBSD: if_wm.c,v 1.749 2022/07/29 15:30:42 skrll Exp $	*/
+/*	$NetBSD: if_wm.c,v 1.750 2022/08/03 05:23:30 skrll Exp $	*/
 
 /*
  * Copyright (c) 2001, 2002, 2003, 2004 Wasabi Systems, Inc.
@@ -82,7 +82,7 @@
  */
 
 #include 
-__KERNEL_RCSID(0, "$NetBSD: if_wm.c,v 1.749 2022/07/29 15:30:42 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_wm.c,v 1.750 2022/08/03 05:23:30 skrll Exp $");
 
 #ifdef _KERNEL_OPT
 #include "opt_net_mpsafe.h"
@@ -3872,6 +3872,7 @@ wm_ifflags_cb(struct ethercom *ec)
 	DPRINTF(sc, WM_DEBUG_INIT, ("%s: %s called\n",
 		device_xname(sc->sc_dev), __func__));
 
+	KASSERT(IFNET_LOCKED(ifp));
 	WM_CORE_LOCK(sc);
 
 	/*
@@ -6470,6 +6471,8 @@ wm_init(struct ifnet *ifp)
 	struct wm_softc *sc = ifp->if_softc;
 	int ret;
 
+	KASSERT(IFNET_LOCKED(ifp));
+
 	WM_CORE_LOCK(sc);
 	ret = wm_init_locked(ifp);
 	WM_CORE_UNLOCK(sc);
@@ -6487,6 +6490,7 @@ wm_init_locked(struct ifnet *ifp)
 
 	DPRINTF(sc, WM_DEBUG_INIT, ("%s: %s called\n",
 		device_xname(sc->sc_dev), __func__));
+	KASSERT(IFNET_LOCKED(ifp));
 	KASSERT(WM_CORE_LOCKED(sc));
 
 	/*
@@ -7042,7 +7046,9 @@ wm_init_locked(struct ifnet *ifp)
 	/* Start the one second link check clock. */
 	callout_schedule(>sc_tick_ch, hz);
 
-	/* ...all done! */
+	/*
+	 * ...all done! (IFNET_LOCKED asserted above.)
+	 */
 	ifp->if_flags |= IFF_RUNNING;
 
  out:
@@ -11299,7 +11305,10 @@ wm_gmii_mediachange(struct ifnet *ifp)
 
 	DPRINTF(sc, WM_DEBUG_GMII, ("%s: %s called\n",
 		device_xname(sc->sc_dev), __func__));
-	if ((ifp->if_flags & IFF_UP) == 0)
+
+	KASSERT(WM_CORE_LOCKED(sc));
+
+	if ((sc->sc_if_flags & IFF_UP) == 0)
 		return 0;
 
 	/* XXX Not for I354? FreeBSD's e1000_82575.c doesn't include it */
@@ -11372,6 +11381,8 @@ wm_gmii_mediastatus(struct ifnet *ifp, s
 {
 	struct wm_softc *sc = ifp->if_softc;
 
+	KASSERT(WM_CORE_LOCKED(sc));
+
 	ether_mediastatus(ifp, ifmr);
 	ifmr->ifm_active = (ifmr->ifm_active & ~IFM_ETH_FMASK)
 	| sc->sc_flowflags;



CVS commit: src/sys/dev/pci

2022-08-02 Thread Nick Hudson
Module Name:src
Committed By:   skrll
Date:   Wed Aug  3 05:23:30 UTC 2022

Modified Files:
src/sys/dev/pci: if_wm.c

Log Message:
Add some KASSERTs around the locking protocol.

Discussed with msaitoh@, knakahara@ and riastradh@


To generate a diff of this commit:
cvs rdiff -u -r1.749 -r1.750 src/sys/dev/pci/if_wm.c

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



CVS commit: src/external/cddl/osnet/dist/uts/common/fs/zfs

2022-08-02 Thread Chuck Silvers
Module Name:src
Committed By:   chs
Date:   Wed Aug  3 01:53:06 UTC 2022

Modified Files:
src/external/cddl/osnet/dist/uts/common/fs/zfs: arc.c

Log Message:
change the ARC reclaim code to use the pagedaemon's free page target
rather than having a separate target.


To generate a diff of this commit:
cvs rdiff -u -r1.21 -r1.22 \
src/external/cddl/osnet/dist/uts/common/fs/zfs/arc.c

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

Modified files:

Index: src/external/cddl/osnet/dist/uts/common/fs/zfs/arc.c
diff -u src/external/cddl/osnet/dist/uts/common/fs/zfs/arc.c:1.21 src/external/cddl/osnet/dist/uts/common/fs/zfs/arc.c:1.22
--- src/external/cddl/osnet/dist/uts/common/fs/zfs/arc.c:1.21	Wed May  4 15:49:55 2022
+++ src/external/cddl/osnet/dist/uts/common/fs/zfs/arc.c	Wed Aug  3 01:53:06 2022
@@ -288,6 +288,7 @@ int arc_procfd;
 #define	freemem		uvm_availmem(false)
 #define	minfree		uvmexp.freemin
 #define	desfree		uvmexp.freetarg
+#define	zfs_arc_free_target desfree
 #define	lotsfree	(desfree * 2)
 #define	availrmem	desfree
 #define	swapfs_minfree	0
@@ -387,7 +388,6 @@ int zfs_arc_grow_retry = 0;
 int zfs_arc_shrink_shift = 0;
 int zfs_arc_p_min_shift = 0;
 uint64_t zfs_arc_average_blocksize = 8 * 1024; /* 8KB */
-u_int zfs_arc_free_target = 0;
 
 /* Absolute min for arc min / max is 16MB. */
 static uint64_t arc_abs_min = 16 << 20;
@@ -395,6 +395,8 @@ static uint64_t arc_abs_min = 16 << 20;
 boolean_t zfs_compressed_arc_enabled = B_TRUE;
 
 #if defined(__FreeBSD__) && defined(_KERNEL)
+u_int zfs_arc_free_target = 0;
+
 static int sysctl_vfs_zfs_arc_free_target(SYSCTL_HANDLER_ARGS);
 static int sysctl_vfs_zfs_arc_meta_limit(SYSCTL_HANDLER_ARGS);
 static int sysctl_vfs_zfs_arc_max(SYSCTL_HANDLER_ARGS);



CVS commit: src/external/cddl/osnet/dist/uts/common/fs/zfs

2022-08-02 Thread Chuck Silvers
Module Name:src
Committed By:   chs
Date:   Wed Aug  3 01:53:06 UTC 2022

Modified Files:
src/external/cddl/osnet/dist/uts/common/fs/zfs: arc.c

Log Message:
change the ARC reclaim code to use the pagedaemon's free page target
rather than having a separate target.


To generate a diff of this commit:
cvs rdiff -u -r1.21 -r1.22 \
src/external/cddl/osnet/dist/uts/common/fs/zfs/arc.c

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



CVS commit: src/sys/uvm

2022-08-02 Thread Chuck Silvers
Module Name:src
Committed By:   chs
Date:   Wed Aug  3 01:52:11 UTC 2022

Modified Files:
src/sys/uvm: uvm_km.c

Log Message:
for platforms which define NKMEMPAGES_MAX_UNLIMITED, set nkmempages
high enough to allow the kernel to map all of RAM into kmem,
so that free physical pages rather than kernel virtual space is
the limiting factor in allocating kernel memory.  this gives ZFS
more flexibility in tuning how much memory to use for its ARC cache.


To generate a diff of this commit:
cvs rdiff -u -r1.160 -r1.161 src/sys/uvm/uvm_km.c

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



CVS commit: src/sys/uvm

2022-08-02 Thread Chuck Silvers
Module Name:src
Committed By:   chs
Date:   Wed Aug  3 01:52:11 UTC 2022

Modified Files:
src/sys/uvm: uvm_km.c

Log Message:
for platforms which define NKMEMPAGES_MAX_UNLIMITED, set nkmempages
high enough to allow the kernel to map all of RAM into kmem,
so that free physical pages rather than kernel virtual space is
the limiting factor in allocating kernel memory.  this gives ZFS
more flexibility in tuning how much memory to use for its ARC cache.


To generate a diff of this commit:
cvs rdiff -u -r1.160 -r1.161 src/sys/uvm/uvm_km.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/uvm/uvm_km.c
diff -u src/sys/uvm/uvm_km.c:1.160 src/sys/uvm/uvm_km.c:1.161
--- src/sys/uvm/uvm_km.c:1.160	Sat Mar 13 15:29:55 2021
+++ src/sys/uvm/uvm_km.c	Wed Aug  3 01:52:11 2022
@@ -1,4 +1,4 @@
-/*	$NetBSD: uvm_km.c,v 1.160 2021/03/13 15:29:55 skrll Exp $	*/
+/*	$NetBSD: uvm_km.c,v 1.161 2022/08/03 01:52:11 chs Exp $	*/
 
 /*
  * Copyright (c) 1997 Charles D. Cranor and Washington University.
@@ -152,7 +152,7 @@
  */
 
 #include 
-__KERNEL_RCSID(0, "$NetBSD: uvm_km.c,v 1.160 2021/03/13 15:29:55 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: uvm_km.c,v 1.161 2022/08/03 01:52:11 chs Exp $");
 
 #include "opt_uvmhist.h"
 
@@ -226,6 +226,10 @@ kmeminit_nkmempages(void)
 		return;
 	}
 
+#ifdef NKMEMPAGES_MAX_UNLIMITED
+	npages = physmem;
+#else
+
 #if defined(KMSAN)
 	npages = (physmem / 8);
 #elif defined(PMAP_MAP_POOLPAGE)
@@ -234,7 +238,6 @@ kmeminit_nkmempages(void)
 	npages = (physmem / 3) * 2;
 #endif /* defined(PMAP_MAP_POOLPAGE) */
 
-#ifndef NKMEMPAGES_MAX_UNLIMITED
 	if (npages > NKMEMPAGES_MAX)
 		npages = NKMEMPAGES_MAX;
 #endif



CVS commit: src/sys/compat/common

2022-08-02 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Wed Aug  3 01:38:51 UTC 2022

Modified Files:
src/sys/compat/common: if_media_80.c

Log Message:
sys/compat/common/if_media_80.c: Add kernel rcsid.


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/sys/compat/common/if_media_80.c

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



CVS commit: src/sys/compat/common

2022-08-02 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Wed Aug  3 01:38:51 UTC 2022

Modified Files:
src/sys/compat/common: if_media_80.c

Log Message:
sys/compat/common/if_media_80.c: Add kernel rcsid.


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/sys/compat/common/if_media_80.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/compat/common/if_media_80.c
diff -u src/sys/compat/common/if_media_80.c:1.4 src/sys/compat/common/if_media_80.c:1.5
--- src/sys/compat/common/if_media_80.c:1.4	Tue Sep  7 11:43:02 2021
+++ src/sys/compat/common/if_media_80.c	Wed Aug  3 01:38:51 2022
@@ -1,4 +1,4 @@
-/*	$NetBSD: if_media_80.c,v 1.4 2021/09/07 11:43:02 riastradh Exp $	*/
+/*	$NetBSD: if_media_80.c,v 1.5 2022/08/03 01:38:51 riastradh Exp $	*/
 
 /*-
  * Copyright (c) 1998 The NetBSD Foundation, Inc.
@@ -65,6 +65,7 @@
  */
 
 #include 
+__KERNEL_RCSID(0, "$NetBSD: if_media_80.c,v 1.5 2022/08/03 01:38:51 riastradh Exp $");
 
 #include 
 #include 



CVS commit: [netbsd-8] src/doc

2022-08-02 Thread Soren Jacobsen
Module Name:src
Committed By:   snj
Date:   Tue Aug  2 15:44:56 UTC 2022

Modified Files:
src/doc [netbsd-8]: CHANGES-8.3

Log Message:
1754


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.140 -r1.1.2.141 src/doc/CHANGES-8.3

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



CVS commit: [netbsd-8] src/doc

2022-08-02 Thread Soren Jacobsen
Module Name:src
Committed By:   snj
Date:   Tue Aug  2 15:44:56 UTC 2022

Modified Files:
src/doc [netbsd-8]: CHANGES-8.3

Log Message:
1754


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.140 -r1.1.2.141 src/doc/CHANGES-8.3

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

Modified files:

Index: src/doc/CHANGES-8.3
diff -u src/doc/CHANGES-8.3:1.1.2.140 src/doc/CHANGES-8.3:1.1.2.141
--- src/doc/CHANGES-8.3:1.1.2.140	Mon Aug  1 09:38:58 2022
+++ src/doc/CHANGES-8.3	Tue Aug  2 15:44:56 2022
@@ -1,4 +1,4 @@
- $NetBSD: CHANGES-8.3,v 1.1.2.140 2022/08/01 09:38:58 martin Exp $
+ $NetBSD: CHANGES-8.3,v 1.1.2.141 2022/08/02 15:44:56 snj Exp $
 
 A complete list of changes from the NetBSD 8.2 release to the NetBSD 8.3
 release:
@@ -2719,3 +2719,19 @@ sys/dev/usb/uslsa.c1.32
 	uslsa(4): PR 56946: fix baud rate setting on big endian machines
 	[rin, ticket #1753]
 
+sys/dev/pci/pcidevs1.1445-1.1460 via patch
+sys/dev/pci/pcidevs.hregen
+sys/dev/pci/pcidevs_data.h			regen
+
+	Update pcidevs:
+	- Add Intel Alder Lake devices and Intel 600 Series PCH devices.
+	- Add some Intel Xeon Scalable / Skylake-E devices.
+	- Fix AMD F16_HB from 0x1568 to 0x1538.
+	- Add some devices for AMD and improve some descriptions to clarify.
+	- Add VMware AHCI and NVMe.
+	- Update Intel 700 series Ethernet devices.
+	- Add some Broadcom devices.
+	- Add some Broadcom / LSI RAID cards.
+	- Fix typos and whitespace.
+	[msaitoh, ticket #1754]
+



CVS commit: [netbsd-8] src/sys/dev/pci

2022-08-02 Thread Soren Jacobsen
Module Name:src
Committed By:   snj
Date:   Tue Aug  2 15:43:54 UTC 2022

Modified Files:
src/sys/dev/pci [netbsd-8]: pcidevs.h pcidevs_data.h

Log Message:
regen for ticket 1754


To generate a diff of this commit:
cvs rdiff -u -r1.1281.2.21 -r1.1281.2.22 src/sys/dev/pci/pcidevs.h
cvs rdiff -u -r1.1280.2.21 -r1.1280.2.22 src/sys/dev/pci/pcidevs_data.h

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

diffs are larger than 1MB and have been omitted


CVS commit: [netbsd-8] src/sys/dev/pci

2022-08-02 Thread Soren Jacobsen
Module Name:src
Committed By:   snj
Date:   Tue Aug  2 15:43:54 UTC 2022

Modified Files:
src/sys/dev/pci [netbsd-8]: pcidevs.h pcidevs_data.h

Log Message:
regen for ticket 1754


To generate a diff of this commit:
cvs rdiff -u -r1.1281.2.21 -r1.1281.2.22 src/sys/dev/pci/pcidevs.h
cvs rdiff -u -r1.1280.2.21 -r1.1280.2.22 src/sys/dev/pci/pcidevs_data.h

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



CVS commit: [netbsd-8] src/sys/dev/pci

2022-08-02 Thread Soren Jacobsen
Module Name:src
Committed By:   snj
Date:   Tue Aug  2 15:41:46 UTC 2022

Modified Files:
src/sys/dev/pci [netbsd-8]: pcidevs

Log Message:
Pull up following revision(s) (requested by msaitoh in ticket #1754):
sys/dev/pci/pcidevs: 1.1445-1.1460 via patch
Update pcidevs:
- Add Intel Alder Lake devices and Intel 600 Series PCH devices.
- Add some Intel Xeon Scalable / Skylake-E devices.
- Fix AMD F16_HB from 0x1568 to 0x1538.
- Add some devices for AMD and improve some descriptions to clarify.
- Add VMware AHCI and NVMe.
- Update Intel 700 series Ethernet devices.
- Add some Broadcom devices.
- Add some Broadcom / LSI RAID cards.
- Fix typos and whitespace.


To generate a diff of this commit:
cvs rdiff -u -r1.1289.2.21 -r1.1289.2.22 src/sys/dev/pci/pcidevs

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

Modified files:

Index: src/sys/dev/pci/pcidevs
diff -u src/sys/dev/pci/pcidevs:1.1289.2.21 src/sys/dev/pci/pcidevs:1.1289.2.22
--- src/sys/dev/pci/pcidevs:1.1289.2.21	Fri Dec  3 17:38:16 2021
+++ src/sys/dev/pci/pcidevs	Tue Aug  2 15:41:46 2022
@@ -1,4 +1,4 @@
-$NetBSD: pcidevs,v 1.1289.2.21 2021/12/03 17:38:16 martin Exp $
+$NetBSD: pcidevs,v 1.1289.2.22 2022/08/02 15:41:46 snj Exp $
 
 /*
  * Copyright (c) 1995, 1996 Christopher G. Demetriou
@@ -225,7 +225,7 @@ vendor DIGICOM		0x10ab	Digicom
 vendor HONEYWELL	0x10ac	Honeywell IASD
 vendor SYMPHONY		0x10ad	Symphony Labs
 vendor CORNERSTONE	0x10ae	Cornerstone Technology
-vendor MICROCOMPSON	0x10af	Micro Computer Sysytems (M) SON
+vendor MICROCOMPSON	0x10af	Micro Computer Systems (M) SON
 vendor CARDEXPER	0x10b0	CardExpert Technology
 vendor CABLETRON	0x10b1	Cabletron Systems
 vendor RAYETHON		0x10b2	Raytheon
@@ -1007,6 +1007,22 @@ product AMD F15_30_HB		0x1424	Family15h 
 product AMD F15_30_RP_5		0x1425	Family15h Root Port
 product AMD F15_30_RP_6		0x1426	Family15h Root Port
 product AMD F16_GPPB		0x1439	Family16h GPP Bridge
+product AMD F17_7X_DF_1		0x1440	17h/7xh Data Fabric
+product AMD F17_7X_DF_2		0x1441	17h/7xh Data Fabric
+product AMD F17_7X_DF_3		0x1442	17h/7xh Data Fabric
+product AMD F17_7X_DF_4		0x1443	17h/7xh Data Fabric
+product AMD F17_7X_DF_5		0x1444	17h/7xh Data Fabric
+product AMD F17_7X_DF_6		0x1445	17h/7xh Data Fabric
+product AMD F17_7X_DF_7		0x1446	17h/7xh Data Fabric
+product AMD F17_7X_DF_8		0x1447	17h/7xh Data Fabric
+product AMD F17_6X_DF_0		0x1448	17h/6xh Data Fabric
+product AMD F17_6X_DF_1		0x1449	17h/6xh Data Fabric
+product AMD F17_6X_DF_2		0x144a	17h/6xh Data Fabric
+product AMD F17_6X_DF_3		0x144b	17h/6xh Data Fabric
+product AMD F17_6X_DF_4		0x144c	17h/6xh Data Fabric
+product AMD F17_6X_DF_5		0x144d	17h/6xh Data Fabric
+product AMD F17_6X_DF_6		0x144e	17h/6xh Data Fabric
+product AMD F17_6X_DF_7		0x144f	17h/6xh Data Fabric
 product AMD F17_RC		0x1450	Family17h Root Complex
 product AMD F17_IOMMU		0x1451	Family17h IOMMU
 product AMD F17_PCIE_1		0x1452	Family17h PCIe
@@ -1030,8 +1046,12 @@ product AMD F17_PCIE_4		0x1470	Family17h
 product AMD F17_PCIE_5		0x1471	Family17h PCIe
 product AMD F17_7X_RC		0x1480	Family17h/7xh Root Complex
 product AMD F17_7X_IOMMU	0x1481	Family17h/7xh IOMMU
+product AMD F17_7X_HB		0x1482	17h/7xh Host Bridge
+product AMD F17_7X_PCIE_1	0x1483	17h/7xh PCIe
+product AMD F17_7X_PCIE_2	0x1484	17h/7xh PCIe
 product AMD F17_7X_RESV_SPP	0x1485	Family17h/7xh Reserved SPP
 product AMD F17_7X_CCP		0x1486	Family17h/7xh Crypto
+product AMD F17_3X_HDA		0x1487	17h/7xh HD Audio
 product AMD F17_7X_USB3		0x149c	Family17h/7xh USB 3.0 Host Controller
 product AMD F14_RC		0x1510	Family14h Root Complex
 product AMD F14_PCIE_1		0x1512	Family14h PCIe
@@ -1047,37 +1067,45 @@ product AMD F16_CSTATE		0x1534	Family16h
 product AMD F16_MISC		0x1535	Family16h Miscellaneous Configuration
 product AMD F16_RC		0x1536	Family16h Root Complex
 product AMD F16_CCP		0x1537	Family16h Cryptographic Coprocessor
+product AMD F16_HB		0x1538	Family16h Host Bridge
 product AMD F16_30_RC		0x1566	Family16h Root Complex
 product AMD F16_30_IOMMU	0x1567	Family16h IOMMU
-product AMD F16_HB		0x1568	Family16h Host Bridge
 product AMD F16_30_HB		0x156b	Family16h Host Bridge
-product AMD F15_60_PF_0		0x1570	Family15h Processor Function 0
-product AMD F15_60_PF_1		0x1571	Family15h Processor Function 1
-product AMD F15_60_PF_2		0x1572	Family15h Processor Function 2
-product AMD F15_60_PF_3		0x1573	Family15h Processor Function 3
-product AMD F15_60_PF_4		0x1574	Family15h Processor Function 4
-product AMD F15_60_PF_5		0x1575	Family15h Processor Function 5
-product AMD F15_60_RC		0x1576	Family15h Root Complex
-product AMD F15_60_IOMMU	0x1577	Family15h IOMMU
-product AMD F15_60_PSP		0x1578	Family15h PSP
-product AMD F15_60_AC		0x157a	Family15h Audio Controller
-product AMD F15_60_HB		0x157b	Family15h Host Bridge
-product AMD F15_60_RP		0x157c	Family15h Root Port
+product AMD F15_6X_PF_0		0x1570	15h/6xh Processor Function 0
+product AMD F15_6X_PF_1		0x1571	15h/6xh 

CVS commit: [netbsd-8] src/sys/dev/pci

2022-08-02 Thread Soren Jacobsen
Module Name:src
Committed By:   snj
Date:   Tue Aug  2 15:41:46 UTC 2022

Modified Files:
src/sys/dev/pci [netbsd-8]: pcidevs

Log Message:
Pull up following revision(s) (requested by msaitoh in ticket #1754):
sys/dev/pci/pcidevs: 1.1445-1.1460 via patch
Update pcidevs:
- Add Intel Alder Lake devices and Intel 600 Series PCH devices.
- Add some Intel Xeon Scalable / Skylake-E devices.
- Fix AMD F16_HB from 0x1568 to 0x1538.
- Add some devices for AMD and improve some descriptions to clarify.
- Add VMware AHCI and NVMe.
- Update Intel 700 series Ethernet devices.
- Add some Broadcom devices.
- Add some Broadcom / LSI RAID cards.
- Fix typos and whitespace.


To generate a diff of this commit:
cvs rdiff -u -r1.1289.2.21 -r1.1289.2.22 src/sys/dev/pci/pcidevs

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