[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v2 1/1] hw/arm/sbsa-ref: add XHCI controller on PCIe
From: |
Yuquan Wang |
Subject: |
[PATCH v2 1/1] hw/arm/sbsa-ref: add XHCI controller on PCIe |
Date: |
Thu, 1 Jun 2023 14:37:37 +0800 |
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 add an XHCI on PCIe to provide a usb controller with 64-bit
DMA capablity.
Signed-off-by: Yuquan Wang <wangyuquan1236@phytium.com.cn>
---
hw/arm/sbsa-ref.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/hw/arm/sbsa-ref.c b/hw/arm/sbsa-ref.c
index de21200ff9..a33cd80d69 100644
--- a/hw/arm/sbsa-ref.c
+++ b/hw/arm/sbsa-ref.c
@@ -668,6 +668,8 @@ static void create_pcie(SBSAMachineState *sms)
pci_create_simple(pci->bus, -1, "bochs-display");
+ pci_create_simple(pci->bus, -1, "qemu-xhci");
+
create_smmu(sms, pci->bus);
}
--
2.34.1