Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix some corner cases for USB mediator #3410

Merged
merged 4 commits into from Jul 12, 2019

Conversation

xiaoguangwu
Copy link
Contributor

This patch series fixes some issues under WaaG and LaaG.

  1. USB BT device can't do scaning
  2. Need long time to enumerate certain brand USB disk.

Tracked-On: #3401
Signed-off-by: Xiaoguang Wu xiaoguang.wu@intel.com
Acked-by: Yu Wang yu1.wang@intel.com

Not change code logic, just modify some logging code.

Tracked-On: projectacrn#3401
Signed-off-by: Xiaoguang Wu <xiaoguang.wu@intel.com>
Acked-by: Yu Wang <yu1.wang@intel.com>
When the Stop Endpoint command is trapped, should not clear all
the data structure. Instead, only reset the ring buffer.

The reason is the xHCI may continue queue TRB without doing whole
initializing process again.

Tracked-On: projectacrn#3401
Signed-off-by: Xiaoguang Wu <xiaoguang.wu@intel.com>
Acked-by: Yu Wang <yu1.wang@intel.com>
Add resume state for the Port Link Status (PLS) bits.

Tracked-On: projectacrn#3401
Signed-off-by: Xiaoguang Wu <xiaoguang.wu@intel.com>
Acked-by: Yu Wang <yu1.wang@intel.com>
The old logic identify the short packet complete status (CS) by
comparing the transfered bytes (TB) and the expected transfered
bytes (ETB), it is right only when no error happend. If error
appears, the TB may be less than the ETB, but DM should report
error CS instead of short packet CS.

Tracked-On: projectacrn#3401
Signed-off-by: Xiaoguang Wu <xiaoguang.wu@intel.com>
Acked-by: Yu Wang <yu1.wang@intel.com>
@ghost
Copy link

ghost commented Jul 12, 2019

No new violations to the coding guideline detected.
No New Name Conflict

No New Function Declaration/Definition Mismatch

@acrnsi acrnsi added the Auto_Merge_Pass it is ready to merge label Jul 12, 2019
@wenlingz wenlingz merged commit 7a3ea2a into projectacrn:master Jul 12, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants