From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-wr1-f48.google.com (mail-wr1-f48.google.com [209.85.221.48]) by mx.groups.io with SMTP id smtpd.web10.743.1688746408272687589 for ; Fri, 07 Jul 2023 09:13:28 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="signature has expired" header.i=@linaro.org header.s=google header.b=Rb/ShqPK; spf=pass (domain: linaro.org, ip: 209.85.221.48, mailfrom: marcin.juszkiewicz@linaro.org) Received: by mail-wr1-f48.google.com with SMTP id ffacd0b85a97d-3110ab7110aso2128574f8f.3 for ; Fri, 07 Jul 2023 09:13:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1688746406; x=1691338406; h=content-transfer-encoding:in-reply-to:organization:from:references :cc:to:content-language:subject:user-agent:mime-version:date :message-id:from:to:cc:subject:date:message-id:reply-to; bh=stvRVAQ5RZdxFocaZ5k0BfMo9i+QSFUEEs3qH+rCctw=; b=Rb/ShqPKDPWKWTUYL2DBO/zmG8oiMcjOk9I2DnK1TAEkfo6aMnRNEhzSDUeIylOI5k nCtL4puVe99McYf6KCxLJHOtpY3N/fKLRdk552bqQrDrNey/zI2a3cozRy0zWpgqCi4l A0FkSxYQOBJNNHHGb3rHTcdvl0i2kbqfgQs0UcR2nnnKvKRWCCogRRbDXDXNW3xWy3Wq tfDnI9oF2ckdy0Vba6XBuPV1AkUKVPLsvoq8sR7k4BU//Utvf8RbIbpCQks79Rhh+lTw E7Plsl03MZsvaEu9jgbdmVN+XeDy99FljVDlJgbG0FJGj0Qdpq1EzfRQ+g7aX2C1ZWIu CRQQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1688746406; x=1691338406; h=content-transfer-encoding:in-reply-to:organization:from:references :cc:to:content-language:subject:user-agent:mime-version:date :message-id:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=stvRVAQ5RZdxFocaZ5k0BfMo9i+QSFUEEs3qH+rCctw=; b=HCCqq3GgSZ9hzKMx6PY/uBMScvPxdhNooSOmfsM2zQhvEGqJf8rw33+VmE6qeD1pTu aUGWias8ZCp486wgfZHWeYJZ/Abtg1KaLrR3XB0nX7vAAArkBRupTXCmzlb7nRK9Agkn suJVGstbFbJj8+8ouVrh7BiGLgtXSEEgYK7928NzNbaTuF9iTdfc0nANseLqZevXNuoK mEnjdiwjHgwbZmE5ZMvA0CVMa+fZb+JAZZPd3i+/adIW4L4naSD710iUUOMGwE0UpDEM 7MYra3WNm1404ok7qf5B0Y6eDq42wftybiYwksXk6D16KQIK74O4kc+IQxd5TtBjRXY2 GPAA== X-Gm-Message-State: ABy/qLYgyWBIsnZ4MWXCcu/ECLwrQlnlde12qPrSaQYsUQhmz/8XcWVX Lv5+L4ln+zx8tBOxZXlB53ooMspdS9Q2p1tYPhteIKP2 X-Google-Smtp-Source: APBJJlHNYGrjrCYynSinYeSygdk2HY0DjhDsy2VZWLuV3udqJY/mo1g8cSbp/lRsaU2+W4eHaMFTbQ== X-Received: by 2002:a5d:452f:0:b0:313:df08:7b7e with SMTP id j15-20020a5d452f000000b00313df087b7emr2699058wra.14.1688746406140; Fri, 07 Jul 2023 09:13:26 -0700 (PDT) Return-Path: Received: from [192.168.200.206] (83.21.151.197.ipv4.supernova.orange.pl. [83.21.151.197]) by smtp.gmail.com with ESMTPSA id e3-20020a5d5943000000b003141f3843e6sm4790802wri.90.2023.07.07.09.13.25 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 07 Jul 2023 09:13:25 -0700 (PDT) Message-ID: <18150890-0602-5723-415c-2b9ada7d535f@linaro.org> Date: Fri, 7 Jul 2023 18:13:24 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.12.0 Subject: Re: [edk2-devel] [PATCH edk2-platforms v2 0/3] Platform/SbsaQemu: use XHCI to replace EHCI To: devel@edk2.groups.io, wangyuquan1236@phytium.com.cn Cc: chenbaozi@phytium.com.cn, Ard Biesheuvel , Leif Lindholm , Graeme Gregory References: <20230707102042.409842-1-wangyuquan1236@phytium.com.cn> From: "Marcin Juszkiewicz" Organization: Linaro In-Reply-To: <20230707102042.409842-1-wangyuquan1236@phytium.com.cn> Content-Language: pl-PL, en-GB, en-HK Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit 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 [ 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