From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from szxga02-in.huawei.com (szxga02-in.huawei.com [45.249.212.188]) by mx.groups.io with SMTP id smtpd.web11.15532.1630322712947263809 for ; Mon, 30 Aug 2021 04:25:13 -0700 Authentication-Results: mx.groups.io; dkim=missing; spf=pass (domain: huawei.com, ip: 45.249.212.188, mailfrom: xiewenyi2@huawei.com) Received: from dggemv711-chm.china.huawei.com (unknown [172.30.72.54]) by szxga02-in.huawei.com (SkyGuard) with ESMTP id 4Gyntv3LKHz8wcV; Mon, 30 Aug 2021 19:20:55 +0800 (CST) Received: from dggpemm000003.china.huawei.com (7.185.36.128) by dggemv711-chm.china.huawei.com (10.1.198.66) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2176.2; Mon, 30 Aug 2021 19:25:08 +0800 Received: from HGH1000039998.huawei.com (10.184.68.188) by dggpemm000003.china.huawei.com (7.185.36.128) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.8; Mon, 30 Aug 2021 19:25:07 +0800 From: "wenyi,xie" To: , , , , CC: , , Subject: [PATCH EDK2 v1 0/1] MdeModulePkg/XhciDxe: Decreasing stuck time Date: Mon, 30 Aug 2021 19:20:00 +0800 Message-ID: <1630322401-26962-1-git-send-email-xiewenyi2@huawei.com> X-Mailer: git-send-email 2.8.1 MIME-Version: 1.0 X-Originating-IP: [10.184.68.188] X-ClientProxiedBy: dggems706-chm.china.huawei.com (10.3.19.183) To dggpemm000003.china.huawei.com (7.185.36.128) X-CFilter-Loop: Reflected Content-Type: text/plain Main Changes : 1.add a new flag DisConnect to struct UsbDevContext to determine whether the device is connected or not 2.add new function XhcGetHubDevice to check port status Wenyi Xie (1): MdeModulePkg/XhciDxe: Decreasing stuck time MdeModulePkg/Bus/Pci/XhciDxe/Xhci.h | 46 ++++ MdeModulePkg/Bus/Pci/XhciDxe/XhciBus.h | 229 ++++++++++++++++++++ MdeModulePkg/Bus/Pci/XhciDxe/Xhci.c | 130 ++++++++--- MdeModulePkg/Bus/Pci/XhciDxe/XhciSched.c | 111 ++++++++++ 4 files changed, 488 insertions(+), 28 deletions(-) create mode 100644 MdeModulePkg/Bus/Pci/XhciDxe/XhciBus.h -- 2.20.1.windows.1