[edk2-devel] [PATCH edk2-platforms v2 0/3] Platform/SbsaQemu: use XHCI to replace EHCI

Yuquan Wang posted 3 patches 9 months, 3 weeks ago
Failed in applying to current master (apply log)
There is a newer version of this series
Silicon/Qemu/SbsaQemu/SbsaQemu.dec            |   4 +-
Platform/Qemu/SbsaQemu/SbsaQemu.dsc           |   6 +-
.../Qemu/SbsaQemu/AcpiTables/AcpiTables.inf   |   4 +-
.../SbsaQemuPlatformDxe.inf                   |   2 +
.../SbsaQemuPlatformDxe/SbsaQemuPlatformDxe.c |  41 ++++--
Silicon/Qemu/SbsaQemu/AcpiTables/Dsdt.asl     | 125 ++----------------
6 files changed, 54 insertions(+), 128 deletions(-)
[edk2-devel] [PATCH edk2-platforms v2 0/3] Platform/SbsaQemu: use XHCI to replace EHCI
Posted by Yuquan Wang 9 months, 3 weeks ago
This patchset implements XHCI on sbsa-ref board to replace EHCI.
As sbsa-ref does not have DRAM below 4G, it cannot utilize EHCI 
that only has 32-bit DMA capablity. Now this board has XHCI as 
an available usb controller with 64-bit DMA capablity.

History:
v1 -> v2:
- rebased on master as v1 did not applied
- moved pcd setting in dec file into the first commit

Yuquan Wang (3):
  Platform/Qemu/SbsaQemu/SbsaQemu.dsc: define XHCI Pcd settings
  SbsaQemu: Drivers: Add initial support for XHCI
  SbsaQemu: AcpiTables: Add XHCI info into DSDT

 Silicon/Qemu/SbsaQemu/SbsaQemu.dec            |   4 +-
 Platform/Qemu/SbsaQemu/SbsaQemu.dsc           |   6 +-
 .../Qemu/SbsaQemu/AcpiTables/AcpiTables.inf   |   4 +-
 .../SbsaQemuPlatformDxe.inf                   |   2 +
 .../SbsaQemuPlatformDxe/SbsaQemuPlatformDxe.c |  41 ++++--
 Silicon/Qemu/SbsaQemu/AcpiTables/Dsdt.asl     | 125 ++----------------
 6 files changed, 54 insertions(+), 128 deletions(-)

-- 
2.34.1



-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#106727): https://edk2.groups.io/g/devel/message/106727
Mute This Topic: https://groups.io/mt/100003410/1787277
Group Owner: devel+owner@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org]
-=-=-=-=-=-=-=-=-=-=-=-
Re: [edk2-devel] [PATCH edk2-platforms v2 0/3] Platform/SbsaQemu: use XHCI to replace EHCI
Posted by Marcin Juszkiewicz 9 months, 3 weeks ago
W dniu 7.07.2023 o 12:20, Yuquan Wang pisze:
> This patchset implements XHCI on sbsa-ref board to replace EHCI.
> As sbsa-ref does not have DRAM below 4G, it cannot utilize EHCI
> that only has 32-bit DMA capablity. Now this board has XHCI as
> an available usb controller with 64-bit DMA capablity.
> 
> History:
> v1 -> v2:
> - rebased on master as v1 did not applied
> - moved pcd setting in dec file into the first commit
> 
> Yuquan Wang (3):
>    Platform/Qemu/SbsaQemu/SbsaQemu.dsc: define XHCI Pcd settings
>    SbsaQemu: Drivers: Add initial support for XHCI
>    SbsaQemu: AcpiTables: Add XHCI info into DSDT

Adding Ard, Leif and Graeme to Cc.

Tested-by: Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org>


[   16.813197] xhci-hcd PNP0D10:00: xHCI Host Controller
[   16.813824] xhci-hcd PNP0D10:00: new USB bus registered, assigned bus number 1
[   16.816530] xhci-hcd PNP0D10:00: hcc params 0x00087001 hci version 0x100 quirks 0x0000000000010010
[   16.817242] xhci-hcd PNP0D10:00: irq 19, io mem 0x60110000
[   16.828589] xhci-hcd PNP0D10:00: xhci_plat_probe get usb3phy fail (ret=-22)
[   16.828936] xhci-hcd PNP0D10:00: xHCI Host Controller
[   16.829225] xhci-hcd PNP0D10:00: new USB bus registered, assigned bus number 2
[   16.829572] xhci-hcd PNP0D10:00: Host supports USB 3.0 SuperSpeed

[   18.562702] input: QEMU QEMU USB Keyboard as /devices/platform/PNP0D10:00/usb1/1-1/1-1:1.0/0003:0627:0001.0001/input/input0
[   18.638395] hid-generic 0003:0627:0001.0001: input,hidraw0: USB HID v1.11 Keyboard [QEMU QEMU USB Keyboard] on usb-PNP0D10:00-1/input0


-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#106741): https://edk2.groups.io/g/devel/message/106741
Mute This Topic: https://groups.io/mt/100003410/1787277
Group Owner: devel+owner@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org]
-=-=-=-=-=-=-=-=-=-=-=-