From 8ab5e15aca785111979c06beae0a1d3d6ce21b50 Mon Sep 17 00:00:00 2001 From: Jonathan Zhang Date: Mon, 21 Mar 2022 21:54:55 -0700 Subject: [PATCH] inc/dev/pci_def.h: add definitions for RCEC EA Ext. Capbility Root Complex Event Collector Endpoint Association Extended Capability is defined in section 7.9.10 of PCIe 5.0 spec. Add its Extended Capability ID, association bitmap for RCiEPs register, and RCEC associated bus numbers register. Signed-off-by: Jonathan Zhang Change-Id: I7bede8ed88304a2925e6e1e4128bcdd625ee0e53 Reviewed-on: https://review.coreboot.org/c/coreboot/+/69093 Tested-by: build bot (Jenkins) Reviewed-by: Angel Pons --- src/include/device/pci_def.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/include/device/pci_def.h b/src/include/device/pci_def.h index 59d99051e5..ef23b94e65 100644 --- a/src/include/device/pci_def.h +++ b/src/include/device/pci_def.h @@ -471,6 +471,7 @@ #define PCIE_EXT_CAP_L1SS_ID 0x001E #define PCIE_EXT_CAP_LTR_ID 0x0018 #define PCIE_EXT_CAP_RESIZABLE_BAR 0x0015 +#define PCIE_EXT_CAP_RCECEA_ID 0x0007 /* Secondary PCI Express Extended Capability Structure */ #define PCI_EXP_SEC_CAP_ID 0x19 @@ -568,6 +569,10 @@ #define PCI_REBAR_CTRL_SIZE_MASK 0xffff0000 #define PCI_REBAR_CTRL_SIZE_SHIFT 16 +/* Root Complex Event Collector Endpoint Association */ +#define PCI_RCECEA_BITMAP 4 +#define PCI_RCECEA_BUSNUM 8 + /* * The PCI interface treats multi-function devices as independent * devices. The slot/function address of each device is encoded