usb: host: ehci-platform: Add workaround for brcm, xgs-iproc-ehci
authorChris Packham <chris.packham@alliedtelesis.co.nz>
Sun, 13 Sep 2020 21:59:26 +0000 (09:59 +1200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 14 Sep 2020 14:45:28 +0000 (16:45 +0200)
commitdfee57a8a6655f3b87fc34c3c07a8b05fd2aae29
tree4ceac1d996d3ca122c1ef9d939f854bcec2bedf4
parentfccee0baced04636952cd580ddee4bb8cbb9544c
usb: host: ehci-platform: Add workaround for brcm, xgs-iproc-ehci

The ehci controller found in some Broadcom switches with integrated SoCs
has an issue which causes a soft lockup with large transfers like you
see when running ext4 on USB3 flash drive.

Port the fix from the Broadcom XLDK to increase the OUT_THRESHOLD to
avoid the problem.

Acked-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Chris Packham <chris.packham@alliedtelesis.co.nz>
Link: https://lore.kernel.org/r/20200913215926.29880-1-chris.packham@alliedtelesis.co.nz
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/host/ehci-platform.c