Reland "devices: usb: fix ring buffer controller unit test"

This is a reland of commit b0d322f7fe6ffe3df622ea2ae23d9c475a090d3b

Original change's description:
> devices: usb: fix ring buffer controller unit test
>
> The xHCI specification rev1.2b 4.11.5.1 states that "the Toggle Cycle
> flag should be set in at least one Link TRB of a ring". Without the
> flag, the xHCI would not know where to end processing. Add it to the
> last Link TRB.
>
> BUG=b:417615888
> TEST=presubmit
>
> Change-Id: Ic842a6d5b0e63aeb3dc454c3162ea1d3c90cd0e8
> Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/6928704
> Commit-Queue: Hidenori Kobayashi <hidenorik@chromium.org>
> Reviewed-by: Ryuichiro Chiba <chibar@chromium.org>

Bug: b:417615888
Change-Id: I6448be82b4ce73a5534a4c06d1ffda80930a9ac6
Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/7501816
Reviewed-by: Morg <morg@google.com>
Commit-Queue: Hidenori Kobayashi <hidenorik@chromium.org>
1 file changed
tree: 5a5eb5ae8348e536af29c1a3fba3e2fe4a7e5046
  1. .cargo/
  2. .config/
  3. .devcontainer/
  4. .github/
  5. .vscode/
  6. aarch64/
  7. aarch64_sys_reg/
  8. acpi_tables/
  9. android_audio/
  10. arch/
  11. argh_helpers/
  12. audio_streams_conformance_test/
  13. audio_util/
  14. base/
  15. base_tokio/
  16. bit_field/
  17. common/
  18. cros_async/
  19. cros_fdt/
  20. cros_tracing/
  21. cros_tracing_types/
  22. crosvm_cli/
  23. crosvm_control/
  24. devices/
  25. disk/
  26. docs/
  27. e2e_tests/
  28. ext2/
  29. fuse/
  30. fuzz/
  31. gpu_display/
  32. hypervisor/
  33. infra/
  34. io_uring/
  35. jail/
  36. kernel_cmdline/
  37. kernel_loader/
  38. kvm_sys/
  39. libcras_stub/
  40. linux_input_sys/
  41. logo/
  42. media/
  43. metrics/
  44. metrics_events/
  45. net_sys/
  46. net_util/
  47. perfetto/
  48. power_monitor/
  49. prebuilts/
  50. proc_init/
  51. proto_build_tools/
  52. protos/
  53. resources/
  54. riscv64/
  55. sandbox/
  56. serde_keyvalue/
  57. snapshot/
  58. src/
  59. swap/
  60. system_api/
  61. tests/
  62. third_party/
  63. tools/
  64. tube_transporter/
  65. usb_sys/
  66. usb_util/
  67. vendor/
  68. vfio_sys/
  69. vhost/
  70. virtio_sys/
  71. vm_control/
  72. vm_memory/
  73. win_audio/
  74. win_util/
  75. x86_64/
  76. .dockerignore
  77. .envrc
  78. .gitattributes
  79. .gitignore
  80. .gitmodules
  81. .rustfmt.toml
  82. ARCHITECTURE.md
  83. Cargo.lock
  84. Cargo.toml
  85. CONTRIBUTING.md
  86. DIR_METADATA
  87. LICENSE
  88. mypy.ini
  89. OWNERS
  90. OWNERS_COUNCIL
  91. PRESUBMIT.cfg
  92. pyproject.toml
  93. README.chromeos.md
  94. README.md
  95. rust-toolchain
README.md

crosvm - The ChromeOS Virtual Machine Monitor

crosvm is a virtual machine monitor (VMM) based on Linux’s KVM hypervisor, with a focus on simplicity, security, and speed. crosvm is intended to run Linux guests, originally as a security boundary for running native applications on the ChromeOS platform. Compared to QEMU, crosvm doesn’t emulate architectures or real hardware, instead concentrating on paravirtualized devices, such as the virtio standard.

crosvm is currently used to run Linux/Android guests on ChromeOS devices.

Logo