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 <jonzhang@fb.com>
Change-Id: I7bede8ed88304a2925e6e1e4128bcdd625ee0e53
Reviewed-on: https://review.coreboot.org/c/coreboot/+/69093
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
This commit is contained in:
Jonathan Zhang 2022-03-21 21:54:55 -07:00 committed by Martin L Roth
parent 13c44457f1
commit 8ab5e15aca
1 changed files with 5 additions and 0 deletions

View File

@ -471,6 +471,7 @@
#define PCIE_EXT_CAP_L1SS_ID 0x001E #define PCIE_EXT_CAP_L1SS_ID 0x001E
#define PCIE_EXT_CAP_LTR_ID 0x0018 #define PCIE_EXT_CAP_LTR_ID 0x0018
#define PCIE_EXT_CAP_RESIZABLE_BAR 0x0015 #define PCIE_EXT_CAP_RESIZABLE_BAR 0x0015
#define PCIE_EXT_CAP_RCECEA_ID 0x0007
/* Secondary PCI Express Extended Capability Structure */ /* Secondary PCI Express Extended Capability Structure */
#define PCI_EXP_SEC_CAP_ID 0x19 #define PCI_EXP_SEC_CAP_ID 0x19
@ -568,6 +569,10 @@
#define PCI_REBAR_CTRL_SIZE_MASK 0xffff0000 #define PCI_REBAR_CTRL_SIZE_MASK 0xffff0000
#define PCI_REBAR_CTRL_SIZE_SHIFT 16 #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 * The PCI interface treats multi-function devices as independent
* devices. The slot/function address of each device is encoded * devices. The slot/function address of each device is encoded