Usha P has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/38679 )
Change subject: mb/intel/jasperlake_rvp: Update devicetree to enable only required PCIE root ports ......................................................................
mb/intel/jasperlake_rvp: Update devicetree to enable only required PCIE root ports
This patch updates the devicetree to enable WLAN and NVME for JSL and remove the other root port configurations which are not required.
Change-Id: I6c801d81ccece6b45a7c45212533bb33a6805367 Signed-off-by: Usha P usha.p@intel.com --- M src/mainboard/intel/jasperlake_rvp/variants/jslrvp/devicetree.cb 1 file changed, 14 insertions(+), 47 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/79/38679/1
diff --git a/src/mainboard/intel/jasperlake_rvp/variants/jslrvp/devicetree.cb b/src/mainboard/intel/jasperlake_rvp/variants/jslrvp/devicetree.cb index 854df46..4b35e2a 100644 --- a/src/mainboard/intel/jasperlake_rvp/variants/jslrvp/devicetree.cb +++ b/src/mainboard/intel/jasperlake_rvp/variants/jslrvp/devicetree.cb @@ -48,56 +48,23 @@ register "PchHdaDspEnable" = "1" register "PchHdaAudioLinkHda" = "1"
- register "PcieRpEnable[0]" = "1" - register "PcieRpEnable[1]" = "0" - register "PcieRpEnable[2]" = "0" - register "PcieRpEnable[3]" = "0" + # PCIe port 1 for M.2 E-key WLAN + register "PcieRpEnable[1]" = "1" + + # RP 1 uses CLK SRC 1 + register "PcieClkSrcUsage[1]" = "0x01" + + # ClkReq-to-ClkSrc mapping for CLK SRC 1 + register "PcieClkSrcClkReq[1]" = "0x01" + + # Enable Root Port 4(x4) for NVMe register "PcieRpEnable[4]" = "1" - register "PcieRpEnable[5]" = "0" - register "PcieRpEnable[6]" = "0" - register "PcieRpEnable[7]" = "0" - register "PcieRpEnable[8]" = "1" - register "PcieRpEnable[9]" = "0" - register "PcieRpEnable[10]" = "0" - register "PcieRpEnable[11]" = "0" - register "PcieRpEnable[12]" = "0" - register "PcieRpEnable[13]" = "0" - register "PcieRpEnable[14]" = "0" - register "PcieRpEnable[15]" = "0"
- register "PcieClkSrcUsage[0]" = "2" - register "PcieClkSrcUsage[1]" = "8" - register "PcieClkSrcUsage[2]" = "0xC" - register "PcieClkSrcUsage[3]" = "0x70" - register "PcieClkSrcUsage[4]" = "4" - register "PcieClkSrcUsage[5]" = "0xE" - register "PcieClkSrcUsage[6]" = "0x80" - register "PcieClkSrcUsage[7]" = "0x80" - register "PcieClkSrcUsage[8]" = "0x80" - register "PcieClkSrcUsage[9]" = "0x80" - register "PcieClkSrcUsage[10]" = "0x80" - register "PcieClkSrcUsage[11]" = "0x80" - register "PcieClkSrcUsage[12]" = "0x80" - register "PcieClkSrcUsage[13]" = "0x80" - register "PcieClkSrcUsage[14]" = "0x80" - register "PcieClkSrcUsage[15]" = "0x80" + # RP 4 uses CLK SRC 0 + register "PcieClkSrcUsage[0]" = "0x04"
- register "PcieClkSrcClkReq[0]" = "0" - register "PcieClkSrcClkReq[1]" = "1" - register "PcieClkSrcClkReq[2]" = "2" - register "PcieClkSrcClkReq[3]" = "3" - register "PcieClkSrcClkReq[4]" = "4" - register "PcieClkSrcClkReq[5]" = "5" - register "PcieClkSrcClkReq[6]" = "6" - register "PcieClkSrcClkReq[7]" = "7" - register "PcieClkSrcClkReq[8]" = "8" - register "PcieClkSrcClkReq[9]" = "9" - register "PcieClkSrcClkReq[10]" = "10" - register "PcieClkSrcClkReq[11]" = "11" - register "PcieClkSrcClkReq[12]" = "12" - register "PcieClkSrcClkReq[13]" = "13" - register "PcieClkSrcClkReq[14]" = "14" - register "PcieClkSrcClkReq[15]" = "15" + # ClkReq-to-ClkSrc mapping for CLK SRC 0 + register "PcieClkSrcClkReq[0]" = "0x00"
register "SataEnable" = "1" register "SataSalpSupport" = "1"
Hello Sridhar Siricilla, Meera Ravindranath, Aamir Bohra, Maulik V Vaghela, Rizwan Qureshi, build bot (Jenkins),
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/coreboot/+/38679
to look at the new patch set (#2).
Change subject: mb/intel/jasperlake_rvp: Update devicetree to enable only required PCIE root ports ......................................................................
mb/intel/jasperlake_rvp: Update devicetree to enable only required PCIE root ports
This patch updates the devicetree to enable WLAN and NVME for JSL and remove the other root port configurations which are not required.
Change-Id: I6c801d81ccece6b45a7c45212533bb33a6805367 Signed-off-by: Usha P usha.p@intel.com Signed-off-by: Meera Ravindranath meera.ravindranath@intel.com --- M src/mainboard/intel/jasperlake_rvp/variants/jslrvp/devicetree.cb 1 file changed, 14 insertions(+), 47 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/79/38679/2
Karthik Ramasubramanian has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/38679 )
Change subject: mb/intel/jasperlake_rvp: Update devicetree to enable only required PCIE root ports ......................................................................
Patch Set 2:
(1 comment)
https://review.coreboot.org/c/coreboot/+/38679/2/src/mainboard/intel/jasperl... File src/mainboard/intel/jasperlake_rvp/variants/jslrvp/devicetree.cb:
https://review.coreboot.org/c/coreboot/+/38679/2/src/mainboard/intel/jasperl... PS2, Line 51: port 1 Just want to confirm if zero-indexing is taken care of i.e. Are root ports indexed from 0..7 or 1..8?
Usha P has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/38679 )
Change subject: mb/intel/jasperlake_rvp: Update devicetree to enable only required PCIE root ports ......................................................................
Patch Set 2:
(1 comment)
https://review.coreboot.org/c/coreboot/+/38679/2/src/mainboard/intel/jasperl... File src/mainboard/intel/jasperlake_rvp/variants/jslrvp/devicetree.cb:
https://review.coreboot.org/c/coreboot/+/38679/2/src/mainboard/intel/jasperl... PS2, Line 51: port 1
Just want to confirm if zero-indexing is taken care of i.e. Are root ports indexed from 0..7 or 1.. […]
Yes zero-indexing is taken care. Root ports are indexed from 0..7
Paul Menzel has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/38679 )
Change subject: mb/intel/jasperlake_rvp: Update devicetree to enable only required PCIE root ports ......................................................................
Patch Set 2:
(2 comments)
https://review.coreboot.org/c/coreboot/+/38679/2//COMMIT_MSG Commit Message:
https://review.coreboot.org/c/coreboot/+/38679/2//COMMIT_MSG@8 PS2, Line 8: PCIE root ports Please use one line commit message summaries.
mb/intel/jasperlake_rvp: Enable only required PCIE root ports
https://review.coreboot.org/c/coreboot/+/38679/2//COMMIT_MSG@11 PS2, Line 11: remove removes
Karthik Ramasubramanian has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/38679 )
Change subject: mb/intel/jasperlake_rvp: Update devicetree to enable only required PCIE root ports ......................................................................
Patch Set 2:
LGTM. Please address Paul's comments regarding the commit message.
Hello Subrata Banik, Meera Ravindranath, Sridhar Siricilla, Aamir Bohra, Maulik V Vaghela, Rizwan Qureshi, build bot (Jenkins),
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/coreboot/+/38679
to look at the new patch set (#3).
Change subject: mb/intel/jasperlake_rvp: Enable only required PCIE root ports ......................................................................
mb/intel/jasperlake_rvp: Enable only required PCIE root ports
This patch updates the devicetree to enable WLAN and NVME for JSL and removes the other root port configurations which are not required.
Change-Id: I6c801d81ccece6b45a7c45212533bb33a6805367 Signed-off-by: Usha P usha.p@intel.com Signed-off-by: Meera Ravindranath meera.ravindranath@intel.com --- M src/mainboard/intel/jasperlake_rvp/variants/jslrvp/devicetree.cb 1 file changed, 14 insertions(+), 47 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/79/38679/3
Usha P has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/38679 )
Change subject: mb/intel/jasperlake_rvp: Enable only required PCIE root ports ......................................................................
Patch Set 3:
(2 comments)
https://review.coreboot.org/c/coreboot/+/38679/2//COMMIT_MSG Commit Message:
https://review.coreboot.org/c/coreboot/+/38679/2//COMMIT_MSG@8 PS2, Line 8: PCIE root ports
Please use one line commit message summaries. […]
Done
https://review.coreboot.org/c/coreboot/+/38679/2//COMMIT_MSG@11 PS2, Line 11: remove
removes
Done
Usha P has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/38679 )
Change subject: mb/intel/jasperlake_rvp: Enable only required PCIE root ports ......................................................................
Patch Set 3:
Patch Set 2:
LGTM. Please address Paul's comments regarding the commit message.
Done
Karthik Ramasubramanian has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/38679 )
Change subject: mb/intel/jasperlake_rvp: Enable only required PCIE root ports ......................................................................
Patch Set 3: Code-Review+2
Hello Karthik Ramasubramanian, Subrata Banik, Meera Ravindranath, Sridhar Siricilla, Aamir Bohra, Maulik V Vaghela, Rizwan Qureshi, build bot (Jenkins),
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/coreboot/+/38679
to look at the new patch set (#4).
Change subject: mb/intel/jasperlake_rvp: Enable only required PCIE root ports ......................................................................
mb/intel/jasperlake_rvp: Enable only required PCIE root ports
This patch updates the devicetree to enable WLAN and NVME for JSL and removes the other root port configurations which are not required.
Change-Id: I6c801d81ccece6b45a7c45212533bb33a6805367 Signed-off-by: Usha P usha.p@intel.com Signed-off-by: Meera Ravindranath meera.ravindranath@intel.com --- M src/mainboard/intel/jasperlake_rvp/variants/jslrvp/devicetree.cb 1 file changed, 22 insertions(+), 65 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/79/38679/4
Hello Karthik Ramasubramanian, Subrata Banik, Meera Ravindranath, Sridhar Siricilla, Aamir Bohra, Maulik V Vaghela, Rizwan Qureshi, build bot (Jenkins),
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/coreboot/+/38679
to look at the new patch set (#5).
Change subject: mb/intel/jasperlake_rvp: Enable only required PCIE root ports ......................................................................
mb/intel/jasperlake_rvp: Enable only required PCIE root ports
This patch updates the devicetree to enable WLAN and NVME for JSL and removes the other root port configurations which are not required.
Change-Id: I6c801d81ccece6b45a7c45212533bb33a6805367 Signed-off-by: Usha P usha.p@intel.com Signed-off-by: Meera Ravindranath meera.ravindranath@intel.com --- M src/mainboard/intel/jasperlake_rvp/variants/jslrvp/devicetree.cb 1 file changed, 22 insertions(+), 65 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/79/38679/5
Karthik Ramasubramanian has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/38679 )
Change subject: mb/intel/jasperlake_rvp: Enable only required PCIE root ports ......................................................................
Patch Set 5: Code-Review+2
The build bot failure does not look like because of this CL. Probably rebase the change?
Aamir Bohra has uploaded a new patch set (#7) to the change originally created by Usha P. ( https://review.coreboot.org/c/coreboot/+/38679 )
Change subject: mb/intel/jasperlake_rvp: Enable only required PCIE root ports ......................................................................
mb/intel/jasperlake_rvp: Enable only required PCIE root ports
This patch updates the devicetree to enable WLAN and NVME for JSL and removes the other root port configurations which are not required.
Change-Id: I6c801d81ccece6b45a7c45212533bb33a6805367 Signed-off-by: Usha P usha.p@intel.com Signed-off-by: Meera Ravindranath meera.ravindranath@intel.com --- M src/mainboard/intel/jasperlake_rvp/variants/jslrvp/devicetree.cb 1 file changed, 22 insertions(+), 65 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/79/38679/7
Aamir Bohra has uploaded a new patch set (#8) to the change originally created by Usha P. ( https://review.coreboot.org/c/coreboot/+/38679 )
Change subject: mb/intel/jasperlake_rvp: Enable only required PCIE root ports ......................................................................
mb/intel/jasperlake_rvp: Enable only required PCIE root ports
Jasper Lake SOC has 8 PCIe root ports. Cleaning up the root ports as per Jasper Lake. This patch updates the devicetree to enable WLAN and NVME for jasperlake_rvp and removes the other root port configurations which are not required.
Change-Id: I6c801d81ccece6b45a7c45212533bb33a6805367 Signed-off-by: Usha P usha.p@intel.com Signed-off-by: Meera Ravindranath meera.ravindranath@intel.com --- M src/mainboard/intel/jasperlake_rvp/variants/jslrvp/devicetree.cb 1 file changed, 22 insertions(+), 65 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/79/38679/8
Patrick Georgi has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/38679 )
Change subject: mb/intel/jasperlake_rvp: Enable only required PCIE root ports ......................................................................
Patch Set 8: Code-Review+2
Patrick Georgi has submitted this change. ( https://review.coreboot.org/c/coreboot/+/38679 )
Change subject: mb/intel/jasperlake_rvp: Enable only required PCIE root ports ......................................................................
mb/intel/jasperlake_rvp: Enable only required PCIE root ports
Jasper Lake SOC has 8 PCIe root ports. Cleaning up the root ports as per Jasper Lake. This patch updates the devicetree to enable WLAN and NVME for jasperlake_rvp and removes the other root port configurations which are not required.
Change-Id: I6c801d81ccece6b45a7c45212533bb33a6805367 Signed-off-by: Usha P usha.p@intel.com Signed-off-by: Meera Ravindranath meera.ravindranath@intel.com Reviewed-on: https://review.coreboot.org/c/coreboot/+/38679 Reviewed-by: Patrick Georgi pgeorgi@google.com Tested-by: build bot (Jenkins) no-reply@coreboot.org --- M src/mainboard/intel/jasperlake_rvp/variants/jslrvp/devicetree.cb 1 file changed, 22 insertions(+), 65 deletions(-)
Approvals: build bot (Jenkins): Verified Patrick Georgi: Looks good to me, approved
diff --git a/src/mainboard/intel/jasperlake_rvp/variants/jslrvp/devicetree.cb b/src/mainboard/intel/jasperlake_rvp/variants/jslrvp/devicetree.cb index 854df46..fb63625 100644 --- a/src/mainboard/intel/jasperlake_rvp/variants/jslrvp/devicetree.cb +++ b/src/mainboard/intel/jasperlake_rvp/variants/jslrvp/devicetree.cb @@ -48,56 +48,23 @@ register "PchHdaDspEnable" = "1" register "PchHdaAudioLinkHda" = "1"
- register "PcieRpEnable[0]" = "1" - register "PcieRpEnable[1]" = "0" - register "PcieRpEnable[2]" = "0" - register "PcieRpEnable[3]" = "0" + # PCIe port 1 for M.2 E-key WLAN + register "PcieRpEnable[1]" = "1" + + # RP 1 uses CLK SRC 1 + register "PcieClkSrcUsage[1]" = "0x01" + + # ClkReq-to-ClkSrc mapping for CLK SRC 1 + register "PcieClkSrcClkReq[1]" = "0x01" + + # Enable Root Port 4(x4) for NVMe register "PcieRpEnable[4]" = "1" - register "PcieRpEnable[5]" = "0" - register "PcieRpEnable[6]" = "0" - register "PcieRpEnable[7]" = "0" - register "PcieRpEnable[8]" = "1" - register "PcieRpEnable[9]" = "0" - register "PcieRpEnable[10]" = "0" - register "PcieRpEnable[11]" = "0" - register "PcieRpEnable[12]" = "0" - register "PcieRpEnable[13]" = "0" - register "PcieRpEnable[14]" = "0" - register "PcieRpEnable[15]" = "0"
- register "PcieClkSrcUsage[0]" = "2" - register "PcieClkSrcUsage[1]" = "8" - register "PcieClkSrcUsage[2]" = "0xC" - register "PcieClkSrcUsage[3]" = "0x70" - register "PcieClkSrcUsage[4]" = "4" - register "PcieClkSrcUsage[5]" = "0xE" - register "PcieClkSrcUsage[6]" = "0x80" - register "PcieClkSrcUsage[7]" = "0x80" - register "PcieClkSrcUsage[8]" = "0x80" - register "PcieClkSrcUsage[9]" = "0x80" - register "PcieClkSrcUsage[10]" = "0x80" - register "PcieClkSrcUsage[11]" = "0x80" - register "PcieClkSrcUsage[12]" = "0x80" - register "PcieClkSrcUsage[13]" = "0x80" - register "PcieClkSrcUsage[14]" = "0x80" - register "PcieClkSrcUsage[15]" = "0x80" + # RP 4 uses CLK SRC 0 + register "PcieClkSrcUsage[0]" = "0x04"
- register "PcieClkSrcClkReq[0]" = "0" - register "PcieClkSrcClkReq[1]" = "1" - register "PcieClkSrcClkReq[2]" = "2" - register "PcieClkSrcClkReq[3]" = "3" - register "PcieClkSrcClkReq[4]" = "4" - register "PcieClkSrcClkReq[5]" = "5" - register "PcieClkSrcClkReq[6]" = "6" - register "PcieClkSrcClkReq[7]" = "7" - register "PcieClkSrcClkReq[8]" = "8" - register "PcieClkSrcClkReq[9]" = "9" - register "PcieClkSrcClkReq[10]" = "10" - register "PcieClkSrcClkReq[11]" = "11" - register "PcieClkSrcClkReq[12]" = "12" - register "PcieClkSrcClkReq[13]" = "13" - register "PcieClkSrcClkReq[14]" = "14" - register "PcieClkSrcClkReq[15]" = "15" + # ClkReq-to-ClkSrc mapping for CLK SRC 0 + register "PcieClkSrcClkReq[0]" = "0x00"
register "SataEnable" = "1" register "SataSalpSupport" = "1" @@ -294,24 +261,14 @@ device pci 19.1 off end # I2C #5 device pci 19.2 on end # UART #2 device pci 1a.0 on end # eMMC - device pci 1c.0 on - chip drivers/intel/wifi - register "wake" = "GPE0_PCI_EXP" - device pci 00.0 on end - end - end # PCI Express Port 1 x4 SLOT1 - device pci 1c.4 on end # PCI Express Port 5 x1 SLOT2/LAN - device pci 1c.5 off end # PCI Express Port 6 - device pci 1c.6 off end # PCI Express Port 7 - device pci 1c.7 off end # PCI Express Port 8 - device pci 1d.0 on end # PCI Express Port 9 - device pci 1d.1 off end # PCI Express Port 10 - device pci 1d.2 off end # PCI Express Port 11 - device pci 1d.3 off end # PCI Express Port 12 - device pci 1d.4 off end # PCI Express Port 13 - device pci 1d.5 off end # PCI Express Port 14 - device pci 1d.6 off end # PCI Express Port 15 - device pci 1d.7 off end # PCI Express Port 16 + device pci 1c.0 off end # PCI Express Port 1 + device pci 1c.1 on end # PCI Express Port 2 + device pci 1c.2 off end # PCI Express Port 3 + device pci 1c.3 off end # PCI Express Port 4 + device pci 1c.4 on end # PCI Express Port 5 + device pci 1c.5 off end # PCI Express Port 6 + device pci 1c.6 off end # PCI Express Port 7 + device pci 1c.7 off end # PCI Express Port 8 device pci 1e.0 on end # UART #0 device pci 1e.1 off end # UART #1 device pci 1e.2 off end # GSPI #0
9elements QA has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/38679 )
Change subject: mb/intel/jasperlake_rvp: Enable only required PCIE root ports ......................................................................
Patch Set 9:
Automatic boot test returned (PASS/FAIL/TOTAL): 3/0/3 Emulation targets: EMULATION_QEMU_X86_Q35 using payload TianoCore : SUCCESS : https://lava.9esec.io/r/601 EMULATION_QEMU_X86_Q35 using payload SeaBIOS : SUCCESS : https://lava.9esec.io/r/600 EMULATION_QEMU_X86_I440FX using payload SeaBIOS : SUCCESS : https://lava.9esec.io/r/599
Please note: This test is under development and might not be accurate at all!