Date: Sat, 08 Aug 2026 00:43:57 +0000 From: Kevin Bowling <kbowling@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org Cc: Michael Adler <madler@tapil.com> Subject: git: 96028adb8599 - stable/14 - pci: Add L1 PM definitions Message-ID: <6a767bcd.3ebd6.1d7e3e5c@gitrepo.freebsd.org>
index | next in thread | raw e-mail
The branch stable/14 has been updated by kbowling: URL: https://cgit.FreeBSD.org/src/commit/?id=96028adb8599cdda264ff3258aadf709e3f8ff1b commit 96028adb8599cdda264ff3258aadf709e3f8ff1b Author: Michael Adler <madler@tapil.com> AuthorDate: 2026-07-09 17:00:32 +0000 Commit: Kevin Bowling <kbowling@FreeBSD.org> CommitDate: 2026-08-08 00:39:55 +0000 pci: Add L1 PM definitions Add register/bit definitions for the L1 PM substates capability (PCIZ_L1PM) to pcireg.h. Signed-off-by: Michael Adler <madler@tapil.com> Pull-Request: https://github.com/freebsd/freebsd-src/pull/2318 (cherry picked from commit 04f8a6aeeba5cbaa48be7134765ee49d5b1b9857) --- sys/dev/pci/pcireg.h | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/sys/dev/pci/pcireg.h b/sys/dev/pci/pcireg.h index f6aaf30611e4..9a48e9183201 100644 --- a/sys/dev/pci/pcireg.h +++ b/sys/dev/pci/pcireg.h @@ -1128,6 +1128,20 @@ #define PCIM_ACS_UNCLAIMED_REQ_REDIRECT_CTL 0x1000 #define PCIR_ACS_EGRESS_CONTROL_VECTOR 0x8 +/* L1 PM Substates definitions */ +#define PCIR_L1PM_CAP 0x04 +#define PCIM_L1PM_CAP_PCIPM_L1_2 0x00000001 +#define PCIM_L1PM_CAP_PCIPM_L1_1 0x00000002 +#define PCIM_L1PM_CAP_ASPM_L1_2 0x00000004 +#define PCIM_L1PM_CAP_ASPM_L1_1 0x00000008 +#define PCIM_L1PM_CAP_L1PM_SUBSTATES 0x00000010 +#define PCIR_L1PM_CTL1 0x08 +#define PCIM_L1PM_CTL1_PCIPM_L1_2 0x00000001 +#define PCIM_L1PM_CTL1_PCIPM_L1_1 0x00000002 +#define PCIM_L1PM_CTL1_ASPM_L1_2 0x00000004 +#define PCIM_L1PM_CTL1_ASPM_L1_1 0x00000008 +#define PCIR_L1PM_CTL2 0x0c + /* * AMD IOMMU Base Capability * From AMD I/O Virtualization Technology (IOMMU) Specificationhome | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6a767bcd.3ebd6.1d7e3e5c>
