]> git.dujemihanovic.xyz Git - u-boot.git/commit
usb: xhci: Add missing cache flush in the scratchpad array initialization
authorSylwester Nawrocki <s.nawrocki@samsung.com>
Mon, 25 May 2020 11:39:51 +0000 (13:39 +0200)
committerMatthias Brugger <mbrugger@suse.com>
Thu, 9 Jul 2020 13:46:12 +0000 (15:46 +0200)
commit61293f519ef75b3ead00a083f65811df31692b9d
treef86374274142561a1aee46b37498fc9c9c5f1eb2
parent61608f395e7dcb2be6060407a72a1149b046430a
usb: xhci: Add missing cache flush in the scratchpad array initialization

In current code there is no cache flush after initializing the scratchpad
buffer array with the scratchpad buffer pointers. This leads to a failure
of the "slot enable" command on the rpi4 board (Broadcom STB PCIe
controller + VL805 USB hub) - the very first TRB transfer on the command
ring fails and there is a timeout while waiting for the command completion
event. After adding the missing cache flush everything seems to be working
as expected.

Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Nicolas Saenz Julienne <nsaenzjulienne@suse.de>
Signed-off-by: Matthias Brugger <mbrugger@suse.com>
drivers/usb/host/xhci-mem.c