]> git.proxmox.com Git - mirror_qemu.git/commit - hw/arm/sbsa-ref.c
hw/arm/sbsa-ref: use XHCI to replace EHCI
authorYuquan Wang <wangyuquan1236@phytium.com.cn>
Tue, 4 Jul 2023 13:08:47 +0000 (14:08 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Tue, 4 Jul 2023 13:08:47 +0000 (14:08 +0100)
commit62c2b8760b8ec9316ea4f5f4c2ce2fdaed1359ee
tree7fb74405173d12c8805090977c7b6e9c00a7e625
parent587f8b333c8c66e8f3e54fe30ea8e88cc7d29d21
hw/arm/sbsa-ref: use XHCI to replace EHCI

The current sbsa-ref cannot use EHCI controller which is only
able to do 32-bit DMA, since sbsa-ref doesn't have RAM below 4GB.
Hence, this uses XHCI to provide a usb controller with 64-bit
DMA capablity instead of EHCI.

We bump the platform version to 0.3 with this change.  Although the
hardware at the USB controller address changes, the firmware and
Linux can both cope with this -- on an older non-XHCI-aware
firmware/kernel setup the probe routine simply fails and the guest
proceeds without any USB.  (This isn't a loss of functionality,
because the old USB controller never worked in the first place.) So
we can call this a backwards-compatible change and only bump the
minor version.

Signed-off-by: Yuquan Wang <wangyuquan1236@phytium.com.cn>
Message-id: 20230621103847.447508-2-wangyuquan1236@phytium.com.cn
[PMM: tweaked commit message; add line to docs about what
 changes in platform version 0.3]
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
docs/system/arm/sbsa.rst
hw/arm/Kconfig
hw/arm/sbsa-ref.c