Skip to content

usb: xhci: Prepare xHCI driver for MIPS Octeon big-endian support

Stefan Roese u-boot 5 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest posting 4/40 of 4 patches 0 repliesNew
  2. v2 posting 3/40 of 4 patches 0 repliesSuperseded
  3. v2 posting 2/44 patches 0 repliesSuperseded
Earlier versions · 2
VersionPostedPatchesRepliesStatus
v2 posting 1/43 of 4 patches0 repliesSuperseded
v14 patches0 repliesSuperseded

Patches in v2 posting 4/4 No applies recorded yet

None of the 4 patches the cover letter announces are in this archive.

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH v2 0/4] usb: xhci: Prepare xHCI driver for MIPS Octeon big-endian support

Hi Marek,

Quoted 36 lines · Bin Meng

Hi Marek,

Quoted 33 lines · Stefan Roese

Hi Bin,

Quoted 28 lines · Stefan Roese

These patches fix a few issues, found while porting the xHCI to the MIPS Octeon platforms. The basic issues here are:

- Endianess issues: missing cpu_to_leXX() & leXX_to_cpu() conversions
- Use physical (DMA) address for the xHCI DMA controller

These patches are the groundwork for the upcoming xHCI Octeon support that will follow soon.

Thanks,
Stefan

Changes in v2:
- Add missing (uintptr_t) cast to remove compile time warning

Stefan Roese (4):
usb: xhci: Add missing endian conversions (cpu_to_leXX / leXX_to_cpu)
usb: xhci: xhci_mem_init: Use cpu_to_le64() and not xhci_writeq()
usb: usb-uclass.c: Drop le16_to_cpu() as values are already swapped
usb: xhci: Add virt_to_phys() to support mapped platforms

   drivers/usb/host/usb-uclass.c |  8 ++++----
   drivers/usb/host/xhci-mem.c   | 30 +++++++++++++++---------------
   drivers/usb/host/xhci-ring.c  |  8 ++++----
   drivers/usb/host/xhci.c       |  3 +--
   4 files changed, 24 insertions(+), 25 deletions(-)
Quoted 6 lines
Quoted 3 lines

Is everything okay with this series? If yes, I think it would be good to have it included soon into mainline, so that all platforms have time to test these changes to the common xHCI driver.

Would you pick up this series? Or do you want me to pick this up via u-boot-x86 tree?

Gently ping on this.

Thanks,
Stefan