Bill XIE has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/41505 )
Change subject: mb/lenovo/{x230, x230s}: Disable SuperSpeed capabilities for wwan usb ......................................................................
mb/lenovo/{x230, x230s}: Disable SuperSpeed capabilities for wwan usb
Although on ThinkPads with Panther Point PCH the usb port inside wwan socket is usually wired to XHCI, it has actually no SuperSpeed lines, so maybe it is okay to disable SuperSpeed capabilities, and wire them to EHCI #2 by making use of XUSB2PRM and USB3PRM.
This applies to both variants of x230 and t430s, and should to X1 Carbon Gen1, which I do not possess.
Change-Id: Ia8d27be84e4dbfa0efed506b9fc010e7f4d6ba23 Signed-off-by: Bill XIE persmule@hardenedlinux.org --- M src/mainboard/lenovo/x230/devicetree.cb 1 file changed, 3 insertions(+), 2 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/05/41505/1
diff --git a/src/mainboard/lenovo/x230/devicetree.cb b/src/mainboard/lenovo/x230/devicetree.cb index 3a8e5fe..b4247d1 100644 --- a/src/mainboard/lenovo/x230/devicetree.cb +++ b/src/mainboard/lenovo/x230/devicetree.cb @@ -58,8 +58,9 @@ register "gen2_dec" = "0x0c15e1" register "gen4_dec" = "0x0c06a1"
- register "xhci_switchable_ports" = "0xf" - register "superspeed_capable_ports" = "0xf" + # Wire port 4 (wwan usb) to ehci for it lacks superspeed components + register "xhci_switchable_ports" = "0x7" + register "superspeed_capable_ports" = "0x7" register "xhci_overcurrent_mapping" = "0x4000201"
# Enable zero-based linear PCIe root port functions
Hello Alexander Couzens, Patrick Rudolph,
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/coreboot/+/41505
to look at the new patch set (#2).
Change subject: mb/lenovo/{x230, x230s}: Disable SuperSpeed capabilities for wwan usb ......................................................................
mb/lenovo/{x230, x230s}: Disable SuperSpeed capabilities for wwan usb
Although on ThinkPads with Panther Point PCH the usb port inside wwan socket is usually wired to XHCI, it has actually no SuperSpeed lines, so maybe it is okay to disable SuperSpeed capabilities, and wire them to EHCI #2 by making use of XUSB2PRM and USB3PRM.
This applies to both variants of x230 and t430s, and should to X1 Carbon Gen1, which I do not possess, as well.
Change-Id: Ia8d27be84e4dbfa0efed506b9fc010e7f4d6ba23 Signed-off-by: Bill XIE persmule@hardenedlinux.org --- M src/mainboard/lenovo/x230/devicetree.cb 1 file changed, 3 insertions(+), 2 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/05/41505/2
Hello build bot (Jenkins), Alexander Couzens, Patrick Rudolph,
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/coreboot/+/41505
to look at the new patch set (#3).
Change subject: mb/lenovo/{x230, x230s}: Disable SuperSpeed capabilities for wwan usb ......................................................................
mb/lenovo/{x230, x230s}: Disable SuperSpeed capabilities for wwan usb
Although on ThinkPads with Panther Point PCH the usb port inside wwan socket is usually wired to XHCI, it has actually no SuperSpeed lines, so maybe it is okay to disable SuperSpeed capabilities, and wire them to EHCI #2 by making use of XUSB2PRM and USB3PRM.
This applies to both variants of x230 and t430s, and should to X1 Carbon Gen1, which I do not possess, as well.
Change-Id: Ia8d27be84e4dbfa0efed506b9fc010e7f4d6ba23 Signed-off-by: Bill XIE persmule@hardenedlinux.org --- M src/mainboard/lenovo/x230/devicetree.cb 1 file changed, 3 insertions(+), 2 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/05/41505/3
Angel Pons has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/41505 )
Change subject: mb/lenovo/{x230, x230s}: Disable SuperSpeed capabilities for wwan usb ......................................................................
Patch Set 6: Code-Review+1
(3 comments)
https://review.coreboot.org/c/coreboot/+/41505/6//COMMIT_MSG Commit Message:
https://review.coreboot.org/c/coreboot/+/41505/6//COMMIT_MSG@7 PS6, Line 7: usb USB
https://review.coreboot.org/c/coreboot/+/41505/6//COMMIT_MSG@7 PS6, Line 7: wwan WWAN
https://review.coreboot.org/c/coreboot/+/41505/6/src/mainboard/lenovo/x230/d... File src/mainboard/lenovo/x230/devicetree.cb:
https://review.coreboot.org/c/coreboot/+/41505/6/src/mainboard/lenovo/x230/d... PS6, Line 61: Wire port 4 (wwan usb) to ehci for it lacks superspeed components Maybe say:
Do not enable xHCI Port 4 since WWAN USB is EHCI-only
Bill XIE has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/41505 )
Change subject: mb/lenovo/{x230, x230s}: Disable SuperSpeed capabilities for wwan usb ......................................................................
Patch Set 6:
(2 comments)
https://review.coreboot.org/c/coreboot/+/41505/6//COMMIT_MSG Commit Message:
https://review.coreboot.org/c/coreboot/+/41505/6//COMMIT_MSG@7 PS6, Line 7: usb
USB
Done
https://review.coreboot.org/c/coreboot/+/41505/6//COMMIT_MSG@7 PS6, Line 7: wwan
WWAN
Done
Hello build bot (Jenkins), Angel Pons, Alexander Couzens, Patrick Rudolph,
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/coreboot/+/41505
to look at the new patch set (#7).
Change subject: mb/lenovo/{x230, x230s}: Disable SuperSpeed capabilities for WWAN USB ......................................................................
mb/lenovo/{x230, x230s}: Disable SuperSpeed capabilities for WWAN USB
Although on ThinkPads with Panther Point PCH the usb port inside wwan socket is usually wired to XHCI, it has actually no SuperSpeed lines, so maybe it is okay to disable SuperSpeed capabilities, and wire them to EHCI #2 by making use of XUSB2PRM and USB3PRM.
This applies to both variants of x230 and t430s, and should to X1 Carbon Gen1, which I do not possess, as well.
Change-Id: Ia8d27be84e4dbfa0efed506b9fc010e7f4d6ba23 Signed-off-by: Bill XIE persmule@hardenedlinux.org --- M src/mainboard/lenovo/x230/devicetree.cb 1 file changed, 3 insertions(+), 2 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/05/41505/7
Hello build bot (Jenkins), Angel Pons, Alexander Couzens, Patrick Rudolph,
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/coreboot/+/41505
to look at the new patch set (#8).
Change subject: mb/lenovo/{x230, x230s}: Disable SuperSpeed capabilities for WWAN USB ......................................................................
mb/lenovo/{x230, x230s}: Disable SuperSpeed capabilities for WWAN USB
Although on ThinkPads with Panther Point PCH the usb port inside wwan socket is usually wired to XHCI, it has actually no SuperSpeed lines, so maybe it is okay to disable SuperSpeed capabilities, and wire them to EHCI #2 by making use of XUSB2PRM and USB3PRM.
This applies to both variants of x230 and t430s, and should to X1 Carbon Gen1, which I do not possess, as well.
Change-Id: Ia8d27be84e4dbfa0efed506b9fc010e7f4d6ba23 Signed-off-by: Bill XIE persmule@hardenedlinux.org --- M src/mainboard/lenovo/x230/devicetree.cb 1 file changed, 3 insertions(+), 2 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/05/41505/8
Bill XIE has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/41505 )
Change subject: mb/lenovo/{x230, x230s}: Disable SuperSpeed capabilities for WWAN USB ......................................................................
Patch Set 8:
(1 comment)
https://review.coreboot.org/c/coreboot/+/41505/6/src/mainboard/lenovo/x230/d... File src/mainboard/lenovo/x230/devicetree.cb:
https://review.coreboot.org/c/coreboot/+/41505/6/src/mainboard/lenovo/x230/d... PS6, Line 61: Wire port 4 (wwan usb) to ehci for it lacks superspeed components
Maybe say: […]
Done
Alexander Couzens has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/41505 )
Change subject: mb/lenovo/{x230, x230s}: Disable SuperSpeed capabilities for WWAN USB ......................................................................
Patch Set 8:
(1 comment)
https://review.coreboot.org/c/coreboot/+/41505/8/src/mainboard/lenovo/x230/d... File src/mainboard/lenovo/x230/devicetree.cb:
https://review.coreboot.org/c/coreboot/+/41505/8/src/mainboard/lenovo/x230/d... PS8, Line 61: # Do not enable xHCI Port 4 since WWAN USB is EHCI-only Can you write which ports has USB3 instead?
Angel Pons has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/41505 )
Change subject: mb/lenovo/{x230, x230s}: Disable SuperSpeed capabilities for WWAN USB ......................................................................
Patch Set 8:
(1 comment)
https://review.coreboot.org/c/coreboot/+/41505/8/src/mainboard/lenovo/x230/d... File src/mainboard/lenovo/x230/devicetree.cb:
https://review.coreboot.org/c/coreboot/+/41505/8/src/mainboard/lenovo/x230/d... PS8, Line 61: # Do not enable xHCI Port 4 since WWAN USB is EHCI-only
Can you write which ports has USB3 instead?
The remaining three, as per schematics?
Angel Pons has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/41505 )
Change subject: mb/lenovo/{x230, x230s}: Disable SuperSpeed capabilities for WWAN USB ......................................................................
Patch Set 8: Code-Review+2
Alexander Couzens has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/41505 )
Change subject: mb/lenovo/{x230, x230s}: Disable SuperSpeed capabilities for WWAN USB ......................................................................
Patch Set 8: Code-Review+2
(1 comment)
https://review.coreboot.org/c/coreboot/+/41505/8/src/mainboard/lenovo/x230/d... File src/mainboard/lenovo/x230/devicetree.cb:
https://review.coreboot.org/c/coreboot/+/41505/8/src/mainboard/lenovo/x230/d... PS8, Line 61: # Do not enable xHCI Port 4 since WWAN USB is EHCI-only
The remaining three, as per schematics?
yes.
Paul Menzel has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/41505 )
Change subject: mb/lenovo/{x230, x230s}: Disable SuperSpeed capabilities for WWAN USB ......................................................................
Patch Set 10:
(1 comment)
https://review.coreboot.org/c/coreboot/+/41505/10//COMMIT_MSG Commit Message:
https://review.coreboot.org/c/coreboot/+/41505/10//COMMIT_MSG@14 PS10, Line 14: and t430s How it’s mentioned here, I’d expect the commit to change the T430s in some way.
Hello build bot (Jenkins), Angel Pons, Alexander Couzens, Patrick Rudolph,
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/coreboot/+/41505
to look at the new patch set (#11).
Change subject: mb/lenovo/{x230, x230s}: Disable SuperSpeed capabilities for WWAN USB ......................................................................
mb/lenovo/{x230, x230s}: Disable SuperSpeed capabilities for WWAN USB
Although on ThinkPads with Panther Point PCH the usb port inside wwan socket is usually wired to XHCI, it has actually no SuperSpeed lines, so maybe it is okay to disable SuperSpeed capabilities, and wire them to EHCI #2 by making use of XUSB2PRM and USB3PRM.
This applies to both variants of x230.
Change-Id: Ia8d27be84e4dbfa0efed506b9fc010e7f4d6ba23 Signed-off-by: Bill XIE persmule@hardenedlinux.org --- M 3rdparty/libgfxinit M src/mainboard/lenovo/x230/devicetree.cb 2 files changed, 4 insertions(+), 3 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/05/41505/11
Bill XIE has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/41505 )
Change subject: mb/lenovo/{x230, x230s}: Disable SuperSpeed capabilities for WWAN USB ......................................................................
Patch Set 11:
(1 comment)
https://review.coreboot.org/c/coreboot/+/41505/10//COMMIT_MSG Commit Message:
https://review.coreboot.org/c/coreboot/+/41505/10//COMMIT_MSG@14 PS10, Line 14: and t430s
How it’s mentioned here, I’d expect the commit to change the T430s in some way.
Removed. Actually, it is almost done on T430s, by me, though probably committed dirtily. I mentioned it just because it may be widespread among ThinkPads.
Patrick Rudolph has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/41505 )
Change subject: mb/lenovo/{x230, x230s}: Disable SuperSpeed capabilities for WWAN USB ......................................................................
Patch Set 15: Code-Review+2
Bill XIE has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/41505 )
Change subject: mb/lenovo/{x230, x230s}: Disable SuperSpeed capabilities for WWAN USB ......................................................................
Patch Set 19:
(1 comment)
https://review.coreboot.org/c/coreboot/+/41505/8/src/mainboard/lenovo/x230/d... File src/mainboard/lenovo/x230/devicetree.cb:
https://review.coreboot.org/c/coreboot/+/41505/8/src/mainboard/lenovo/x230/d... PS8, Line 61: # Do not enable xHCI Port 4 since WWAN USB is EHCI-only
yes.
The port mapping is commented in variants/x230s/early_init.c.
Patrick Georgi has submitted this change. ( https://review.coreboot.org/c/coreboot/+/41505 )
Change subject: mb/lenovo/{x230, x230s}: Disable SuperSpeed capabilities for WWAN USB ......................................................................
mb/lenovo/{x230, x230s}: Disable SuperSpeed capabilities for WWAN USB
Although on ThinkPads with Panther Point PCH the usb port inside wwan socket is usually wired to XHCI, it has actually no SuperSpeed lines, so maybe it is okay to disable SuperSpeed capabilities, and wire them to EHCI #2 by making use of XUSB2PRM and USB3PRM.
This applies to both variants of x230.
Change-Id: Ia8d27be84e4dbfa0efed506b9fc010e7f4d6ba23 Signed-off-by: Bill XIE persmule@hardenedlinux.org Reviewed-on: https://review.coreboot.org/c/coreboot/+/41505 Reviewed-by: Patrick Rudolph siro@das-labor.org Tested-by: build bot (Jenkins) no-reply@coreboot.org --- M src/mainboard/lenovo/x230/devicetree.cb 1 file changed, 3 insertions(+), 2 deletions(-)
Approvals: build bot (Jenkins): Verified Patrick Rudolph: Looks good to me, approved
diff --git a/src/mainboard/lenovo/x230/devicetree.cb b/src/mainboard/lenovo/x230/devicetree.cb index 3a8e5fe..085b4e1 100644 --- a/src/mainboard/lenovo/x230/devicetree.cb +++ b/src/mainboard/lenovo/x230/devicetree.cb @@ -58,8 +58,9 @@ register "gen2_dec" = "0x0c15e1" register "gen4_dec" = "0x0c06a1"
- register "xhci_switchable_ports" = "0xf" - register "superspeed_capable_ports" = "0xf" + # Do not enable xHCI Port 4 since WWAN USB is EHCI-only + register "xhci_switchable_ports" = "0x7" + register "superspeed_capable_ports" = "0x7" register "xhci_overcurrent_mapping" = "0x4000201"
# Enable zero-based linear PCIe root port functions