summary refs log tree commit diff stats
path: root/hw/core
diff options
context:
space:
mode:
authorAkihiko Odaki <akihiko.odaki@daynix.com>2025-04-18 14:51:48 +0900
committerPhilippe Mathieu-Daudé <philmd@linaro.org>2025-04-25 17:00:42 +0200
commitaca4967567aaa168ce51d54145ba970aafb135de (patch)
tree9ed4dc473aad20b21089866c75a250aa400912bc /hw/core
parentb939b8e42acedc2ff35534f96fae026f8fe2efcf (diff)
downloadfocaccia-qemu-aca4967567aaa168ce51d54145ba970aafb135de.tar.gz
focaccia-qemu-aca4967567aaa168ce51d54145ba970aafb135de.zip
hw/usb/hcd-xhci: Unmap canceled packet
When the Stop Endpoint Command is received, packets running
asynchronously are canceled and then all packets are cleaned up. Packets
running asynchronously hold the DMA mapping so cleaning the packets leak
the mapping. Remove the mapping after canceling packets to fix the leak.

Fixes: 62c6ae04cf43 ("xhci: Initial xHCI implementation")
Signed-off-by: Akihiko Odaki <akihiko.odaki@daynix.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-ID: <20250418-xhc-v1-1-bb32dab6a67e@daynix.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Diffstat (limited to 'hw/core')
0 files changed, 0 insertions, 0 deletions