From: "zhoucheng" <zhoucheng@phytium.com.cn>
To: Wu, Hao A <hao.a.wu@intel.com>,devel@edk2.groups.io
Subject: Re: [edk2-devel] [PATCH v1 1/1] MdeModulePkg:Add Warm Reset for Xhc
Date: Wed, 16 Nov 2022 03:36:41 -0800 [thread overview]
Message-ID: <32014.1668598601004178780@groups.io> (raw)
In-Reply-To: <DM6PR11MB402540EF93068EB130F3BA4FCA079@DM6PR11MB4025.namprd11.prod.outlook.com>
[-- Attachment #1.1: Type: text/plain, Size: 740 bytes --]
HI:
The printing test is added here. When the USB disk device is inserted, the repeated mass restart test will be carried out.There
will be a probability of disk loss. When the disk is dropped, the PORTSC register is read. The USB state machine is abnormal.
Its PLS field is 6. Check the protocol document, so warm reset it. The test is normal and no disk loss occurs again.
The left is normal, and the right is abnormal.
After XhcUsbPortReset.The normal PORTSC register status is 0x1203, EXCEPTION PORTSC register status is 0x2202c0.
The USB device has been disconnected.
After hot reset, the device can be connected normally.
In the source code, it is confirmed that Usb3.0 is used. Do you need to judge again?
Thanks!
[-- Attachment #1.2: Type: text/html, Size: 997 bytes --]
[-- Attachment #2: dummyfile.0.part --]
[-- Type: image/png, Size: 532317 bytes --]
[-- Attachment #3: dummyfile.1.part --]
[-- Type: image/png, Size: 63035 bytes --]
next prev parent reply other threads:[~2022-11-16 11:36 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-11-03 15:53 [PATCH v1 0/1] MdeModulePkg:Add Warm Reset for Xhc zhoucheng
2022-11-03 15:53 ` [PATCH v1 1/1] " zhoucheng
2022-11-03 18:28 ` [edk2-devel] " Pedro Falcato
2022-11-04 3:15 ` zhoucheng
2022-11-16 6:55 ` Wu, Hao A
2022-11-16 11:36 ` zhoucheng [this message]
2022-11-17 1:48 ` Wu, Hao A
2022-11-17 10:23 ` zhoucheng
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-list from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=32014.1668598601004178780@groups.io \
--to=devel@edk2.groups.io \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox