From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from zg8tmtyylji0my4xnjqumte4.icoremail.net (zg8tmtyylji0my4xnjqumte4.icoremail.net [162.243.164.118]) by mx.groups.io with SMTP id smtpd.web10.9227.1688725283702747366 for ; Fri, 07 Jul 2023 03:21:24 -0700 Authentication-Results: mx.groups.io; dkim=missing; spf=pass (domain: phytium.com.cn, ip: 162.243.164.118, mailfrom: wangyuquan1236@phytium.com.cn) Received: from prodtpl.icoremail.net (unknown [10.12.1.20]) by hzbj-icmmx-6 (Coremail) with SMTP id AQAAfwCXy0FL6KdkIZxOAg--.34130S2; Fri, 07 Jul 2023 18:26:19 +0800 (CST) Received: from phytium.com.cn (unknown [123.150.8.50]) by mail (Coremail) with SMTP id AQAAfwAHJ5wf56dkS4IAAA--.1411S3; Fri, 07 Jul 2023 18:21:20 +0800 (CST) From: "Yuquan Wang" To: devel@edk2.groups.io Cc: chenbaozi@phytium.com.cn, Yuquan Wang Subject: [PATCH edk2-platforms v2 0/3] Platform/SbsaQemu: use XHCI to replace EHCI Date: Fri, 7 Jul 2023 18:20:39 +0800 Message-Id: <20230707102042.409842-1-wangyuquan1236@phytium.com.cn> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 X-CM-TRANSID: AQAAfwAHJ5wf56dkS4IAAA--.1411S3 X-CM-SenderInfo: 5zdqw5pxtxt0arstlqxsk13x1xpou0fpof0/1tbiAQANAWSnEikEVQADsn Authentication-Results: hzbj-icmmx-6; spf=neutral smtp.mail=wangyuquan 1236@phytium.com.cn; X-Coremail-Antispam: 1Uk129KBjvdXoW7Gr1xuFW8CFWUCw4DJry8Grg_yoWfurc_uF WfuFZ7Gr1UZF1kKrW0vrZ3A34xZFWjgr48Cwn8trs3Wa47Ar15WFsrJa9FvFyUZaya93W8 ArsFqr13XFZa9jkaLaAFLSUrUUUUjb8apTn2vfkv8UJUUUU8wcxFpf9Il3svdxBIdaVrnU Uv73VFW2AGmfu7jjvjm3AaLaJ3UjIYCTnIWjDUYxBIdaVFxhVjvjDU0xZFpf9x0zRUUUUU UUUU= Content-Transfer-Encoding: 8bit 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