]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
xhci: Add a quirk for writing ERST in high-low order
authorDaehwan Jung <dh10.jung@samsung.com>
Mon, 10 Jun 2024 11:39:12 +0000 (20:39 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 4 Oct 2024 14:29:57 +0000 (16:29 +0200)
commiteef5d6219a81687aadd6a4e727bae8f84ec0012e
tree74abf4597f5c38ddb1c4e3ee93b5fe42bf7d7bc3
parent225643310df7926f6286250bae266fabd6514c16
xhci: Add a quirk for writing ERST in high-low order

[ Upstream commit bc162403e33e1d57e40994977acaf19f1434e460 ]

This quirk is for the controller that has a limitation in supporting
separate ERSTBA_HI and ERSTBA_LO programming. It's supported when
the ERSTBA is programmed ERSTBA_HI before ERSTBA_LO. That's because
the internal initialization of event ring fetches the
"Event Ring Segment Table Entry" based on the indication of ERSTBA_LO
written.

Signed-off-by: Daehwan Jung <dh10.jung@samsung.com>
Link: https://lore.kernel.org/r/1718019553-111939-3-git-send-email-dh10.jung@samsung.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Stable-dep-of: e5fa8db0be3e ("usb: xhci: fix loss of data on Cadence xHC")
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/usb/host/xhci-mem.c
drivers/usb/host/xhci.h