Tim Wawrzynczak has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/49021 )
Change subject: soc/intel/alderlake: Determine PCIe RP enable mask using device on/off status
......................................................................
Patch Set 2:
(1 comment)
https://review.coreboot.org/c/coreboot/+/49021/2/src/soc/intel/alderlake/pci...
File src/soc/intel/alderlake/pcie_rp.c:
https://review.coreboot.org/c/coreboot/+/49021/2/src/soc/intel/alderlake/pci...
PS2, Line 18: /* TODO check how to determine CPU PCIE port */
From ADL EDS, need to check 01.0, 06.0 and 06.2... need to work out how to deal with it here.
We need to understand how each logical PCI device maps to the CpuPcieRpEnable UPD, the help text isn't helpful:
```
Enable/disable PCIE Root Ports. 0: disable, 1: enable. One bit for each port, bit0
for port1, bit1 for port2, and so on.
```
I'd guess it's gen5 port is bit 0, gen 4 port 1 is bit 1, gen 4 port 2 is bit 2, but IDK
--
To view, visit
https://review.coreboot.org/c/coreboot/+/49021
To unsubscribe, or for help writing mail filters, visit
https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: Idcc21d8028f51a221d639440db4cf5a4e095c632
Gerrit-Change-Number: 49021
Gerrit-PatchSet: 2
Gerrit-Owner: EricR Lai
ericr_lai@compal.corp-partner.google.com
Gerrit-Reviewer: Furquan Shaikh
furquan@google.com
Gerrit-Reviewer: Martin Roth
martinroth@google.com
Gerrit-Reviewer: Patrick Georgi
pgeorgi@google.com
Gerrit-Reviewer: Patrick Rudolph
siro@das-labor.org
Gerrit-Reviewer: Subrata Banik
subrata.banik@intel.com
Gerrit-Reviewer: Tim Wawrzynczak
twawrzynczak@chromium.org
Gerrit-Reviewer: build bot (Jenkins)
no-reply@coreboot.org
Gerrit-CC: Michael Niewöhner
foss@mniewoehner.de
Gerrit-Comment-Date: Tue, 05 Jan 2021 22:31:00 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: EricR Lai
ericr_lai@compal.corp-partner.google.com
Gerrit-MessageType: comment