15441 Update PCI classes and caps to PCI Ver 1.15
Reviewed by: Rich Lowe <richlowe@richlowe.net>
Reviewed by: Jason King <jason.brian.king+illumos@gmail.com>
Reviewed by: Bill Sommerfeld <sommerfeld@alum.mit.edu>
Approved by: Patrick Mooney <pmooney@pfmooney.com>
diff --git a/usr/src/cmd/pcieadm/pcieadm_cfgspace.c b/usr/src/cmd/pcieadm/pcieadm_cfgspace.c
index 5a0db2b..e9d001d 100644
--- a/usr/src/cmd/pcieadm/pcieadm_cfgspace.c
+++ b/usr/src/cmd/pcieadm/pcieadm_cfgspace.c
@@ -4832,7 +4832,8 @@
 	{ PCIE_EXT_CAP_ID_FLIT_LOG, "fltlog", "Flit Logging" },
 	{ PCIE_EXT_CAP_ID_FLIT_PERF, "fltperf",
 	    "Flit Performance Measurement" },
-	{ PCIE_EXT_CAP_ID_FLIT_ERR, "flterr", "Flit Error Injection" }
+	{ PCIE_EXT_CAP_ID_FLIT_ERR, "flterr", "Flit Error Injection" },
+	{ PCIE_EXT_CAP_ID_SVC, "svc", "Streamlined Virtual Channel" }
 };
 
 static const pcieadm_pci_cap_t *
diff --git a/usr/src/common/pci/pci_strings.c b/usr/src/common/pci/pci_strings.c
index d2810fc..76aebc5 100644
--- a/usr/src/common/pci/pci_strings.c
+++ b/usr/src/common/pci/pci_strings.c
@@ -149,6 +149,8 @@
 	{ 8, 5, 2,	"Vendor Unique SD Host controller",	"sd-hc" },
 	{ 8, 6, 0,	"IOMMU controller",			"iommu" },
 	{ 8, 7, 0,	"Root Complex Event Collector",		"unknown" },
+	{ 8, 8, 0,	"Time Card",				"unknown" },
+	{ 8, 8, 1,	"Time Card - OCP TAP",			"unknown" },
 	{ 8, 0x80, 0,	"System peripheral",			"unknown" },
 
 	{ 9, 0, 0,	"Keyboard controller",			"keyboar" },
@@ -191,6 +193,7 @@
 	{ 12, 8, 0,	"SERCOS Interface Standard",		"sercos" },
 	{ 12, 9, 0,	"CANbus",				"canbus" },
 	{ 12, 10, 0,	"MIPI I3C Host Controller Interface",	"unknown" },
+	{ 12, 11, 0,	"CXL Fabric Managment Host Interface",	"unknown" },
 	{ 12, 0x80, 0,	"Serial Bus Controller",		"unknown" },
 
 	{ 13, 0, 0,	"IRDA Wireless controller",		"irda" },
@@ -216,6 +219,7 @@
 
 	{ 16, 0, 0,	"Network and computing en/decryption",	"netcryp" },
 	{ 16, 0x10, 0,	"Entertainment en/decryption",		"entcryp" },
+	{ 16, 0x20, 0,	"Trusted Platform Module",		"tpm" },
 	{ 16, 0x80, 0,	"En/decryption controller",		"unknown" },
 
 	{ 17, 0, 0,	"DPIO modules",				"dpio" },
diff --git a/usr/src/uts/common/sys/pcie.h b/usr/src/uts/common/sys/pcie.h
index 1889b98..27b8184 100644
--- a/usr/src/uts/common/sys/pcie.h
+++ b/usr/src/uts/common/sys/pcie.h
@@ -24,7 +24,7 @@
  */
 /*
  * Copyright 2019 Joyent, Inc.
- * Copyright 2022 Oxide Computer Company
+ * Copyright 2023 Oxide Computer Company
  */
 
 #ifndef	_SYS_PCIE_H
@@ -605,6 +605,7 @@
 #define	PCIE_EXT_CAP_ID_FLIT_LOG	0x32	/* Flit Logging */
 #define	PCIE_EXT_CAP_ID_FLIT_PERF	0x33	/* Flit Perf. Measurement */
 #define	PCIE_EXT_CAP_ID_FLIT_ERR	0x34	/* Flit Error Injection */
+#define	PCIE_EXT_CAP_ID_SVC		0x35	/* Streamlined Virtual Chan. */
 
 /*
  * PCI-Express Advanced Error Reporting Extended Capability Offsets