commit | 79812cf62fdcdbda456b832181c332d6a6b13ac9 | [log] [tgz] |
---|---|---|
author | Ruby Zhuang <rdzhuang@google.com> | Wed Nov 02 23:56:04 2022 +0000 |
committer | CQ Bot <fuchsia-internal-scoped@luci-project-accounts.iam.gserviceaccount.com> | Wed Nov 02 23:56:04 2022 +0000 |
tree | c9332234b4bf6adc4f8069986197be2815f09de0 | |
parent | f8c2d774d0b7057bbd8a689eec568dd2ec33aa34 [diff] |
[usb][xhci] Limit number of TRBs we can go without updating ERDP According to note in 4.9.4, we should process as many Events as possible before writing to ERDP. But practically, we need to limit the maximum number of TRBs before writing Otherwise, the lag between consuming an ED and moving the ERDP forward may cause the ring to become full with consumed EDs which have yet to be relinquished. Test: tested on Atlas Bug: 112057 Change-Id: I0300c9302cdfed7ef74800716c9045665bf38899 Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/750902 Reviewed-by: Sam Hansen <hansens@google.com> Commit-Queue: Ruby Zhuang <rdzhuang@google.com>
Fuchsia is an open source, general purpose operating system supporting modern 64-bit Intel and ARM processors.
We expect everyone interacting with our project to respect our code of conduct.
Read more about Fuchsia's principles.
See Getting Started.
See fuchsia.dev.