qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] Add property to support writing ERSTBA in high-low order
@ 2025-04-05 14:00 Guenter Roeck
  2025-04-05 14:00 ` [PATCH 1/2] hw: usb: xhci: " Guenter Roeck
                   ` (4 more replies)
  0 siblings, 5 replies; 28+ messages in thread
From: Guenter Roeck @ 2025-04-05 14:00 UTC (permalink / raw)
  To: qemu-devel
  Cc: Richard Henderson, Peter Maydell, Bernhard Beschow, Guenter Roeck

This series is needed to support the USB interface on imx8mp-evk when
booting the Linux kernel.

According to the XHCI specification, ERSTBA should be written in Low-High
order. The Linux kernel writes the high word first. This results in an
initialization failure.

The following information is found in the Linux kernel commit log.

[Synopsys]- The host controller was design to support ERST setting
during the RUN state. But since there is a limitation in controller
in supporting separate ERSTBA_HI and ERSTBA_LO programming,
It is supported when the ERSTBA is programmed in 64bit,
or in 32 bit mode ERSTBA_HI before ERSTBA_LO

[Synopsys]- The internal initialization of event ring fetches
the "Event Ring Segment Table Entry" based on the indication of
ERSTBA_LO written.

Add property to support writing the high word first. Enable it
for dwc3.

----------------------------------------------------------------
Guenter Roeck (2):
      hw: usb: xhci: Add property to support writing ERSTBA in high-low order
      hw/usb/hcd-dwc3: Set erstba-hi-lo property

 hw/usb/hcd-dwc3.c | 1 +
 hw/usb/hcd-xhci.c | 8 +++++++-
 hw/usb/hcd-xhci.h | 1 +
 3 files changed, 9 insertions(+), 1 deletion(-)


^ permalink raw reply	[flat|nested] 28+ messages in thread

end of thread, other threads:[~2025-07-17 10:35 UTC | newest]

Thread overview: 28+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-04-05 14:00 [PATCH 0/2] Add property to support writing ERSTBA in high-low order Guenter Roeck
2025-04-05 14:00 ` [PATCH 1/2] hw: usb: xhci: " Guenter Roeck
2025-04-11  7:40   ` Nicholas Piggin
2025-04-12 22:46     ` Guenter Roeck
2025-04-13 16:03     ` Guenter Roeck
2025-07-16 19:59       ` Bernhard Beschow
2025-07-16 20:07         ` Guenter Roeck
2025-07-17 10:33           ` Bernhard Beschow
2025-04-05 14:00 ` [PATCH 2/2] hw/usb/hcd-dwc3: Set erstba-hi-lo property Guenter Roeck
2025-04-11  7:42   ` Nicholas Piggin
2025-04-05 14:25 ` [PATCH 0/2] Add property to support writing ERSTBA in high-low order Philippe Mathieu-Daudé
2025-04-05 16:25   ` Guenter Roeck
2025-04-05 17:26   ` Guenter Roeck
2025-04-05 19:28     ` Bernhard Beschow
2025-04-05 20:39       ` Guenter Roeck
2025-04-06  1:31       ` Guenter Roeck
2025-04-06 11:03         ` Bernhard Beschow
2025-04-06 15:30           ` Guenter Roeck
2025-04-06 18:08             ` Bernhard Beschow
2025-04-08 16:09               ` Guenter Roeck
2025-04-08 19:57                 ` Bernhard Beschow
2025-04-08 20:31                   ` Guenter Roeck
2025-04-08 21:56                     ` Bernhard Beschow
2025-04-11  3:53                       ` Guenter Roeck
2025-04-11  5:50                         ` Bernhard Beschow
2025-04-08 20:56                   ` Guenter Roeck
2025-04-08 19:47 ` Bernhard Beschow
2025-04-11  5:52 ` Bernhard Beschow

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).