[coreboot-gerrit] Patch merged into coreboot/master: libpayload: usbhub: Force enumeration of all connected ports on init
gerrit at coreboot.org
gerrit at coreboot.org
Wed Mar 15 00:54:26 CET 2017
the following patch was just integrated into master:
commit 5fae8294104ae62353466298fae493e717056a28
Author: Julius Werner <jwerner at chromium.org>
Date: Thu Mar 9 14:14:07 2017 -0800
libpayload: usbhub: Force enumeration of all connected ports on init
We have found a non-compliant USB hub (RealTek RTS 5413) that does not
set a port's Connect Status Change bit on its USB 3.0 half if the port
had already been connected while the hub was being reset. To work around
this bug, this patch adds code to initially request the status of every
port after a hub was enumerated, clear the Connect Status Change bit if
set, and then enumerate the port iff it is currently connected,
regardless of whether the change bit was set. A similar behavior can
also be found in the Linux kernel.
BRANCH=oak
BUG=b:35929438
TEST=Booted Elm with this change, my USB 3.0 sticks enumerate now even
if they had been plugged in since boot.
Change-Id: I8a28252eb94f005f04866d06e4fc61ea265cee89
Signed-off-by: Julius Werner <jwerner at chromium.org>
Reviewed-on: https://review.coreboot.org/18729
Tested-by: build bot (Jenkins)
Reviewed-by: Patrick Georgi <pgeorgi at google.com>
See https://review.coreboot.org/18729 for details.
-gerrit
More information about the coreboot-gerrit
mailing list