[coreboot-gerrit] Patch merged into coreboot/master: libpayload: usb: Reset ohci controller when trying to shutdown ohci

gerrit at coreboot.org gerrit at coreboot.org
Fri Jan 13 17:40:27 CET 2017


the following patch was just integrated into master:
commit 9a3f06d202c2aab4809296bb62f3f573133f317c
Author: Jeffy Chen <jeffy.chen at rock-chips.com>
Date:   Fri Dec 23 13:52:07 2016 +0800

    libpayload: usb: Reset ohci controller when trying to shutdown ohci
    
    Currently we just disabled ohci interrupts when calling ohci_shutdown,
    Which would not actually shutdown the ohci controller, for example it
    may still written the increased HccaFrameNumber to Hcca buffer.
    
    Perform a soft reset to ohci controller as the linux kernel ohci-hcd
    driver does.
    
    BUG=chrome-os-partner:60996
    BRANCH=None
    TEST=Checked on gru, no more "BUG: Bad page state" error in kernel.
    
    Change-Id: I128ab6ba455ac5383a4d48be0bc12b8bb4533464
    Signed-off-by: Patrick Georgi <pgeorgi at chromium.org>
    Original-Commit-Id: 4749fc82fdd1b74ca3f2ed3fdf0ef53a5e161087
    Original-Change-Id: I3f192aea627ba2fa69533bc0a4270466ca18f2a7
    Original-Signed-off-by: Jeffy Chen <jeffy.chen at rock-chips.com>
    Original-Reviewed-on: https://chromium-review.googlesource.com/426338
    Original-Reviewed-by: Douglas Anderson <dianders at chromium.org>
    Reviewed-on: https://review.coreboot.org/18125
    Tested-by: build bot (Jenkins)
    Reviewed-by: Martin Roth <martinroth at google.com>
    Reviewed-by: Nico Huber <nico.h at gmx.de>


See https://review.coreboot.org/18125 for details.

-gerrit



More information about the coreboot-gerrit mailing list