summaryrefslogtreecommitdiff
path: root/tools/metrics.py
diff options
context:
space:
mode:
authorHiFiPHile <[email protected]>2026-09-04 09:52:35 +0200
committerHiFiPHile <[email protected]>2026-09-04 09:52:35 +0200
commit6f2824e97bbc7226e06eddd1429fc4fa64f6b2a5 (patch)
tree021d73104c2dad0ff7ed3e7e01e0c669ef0c33f9 /tools/metrics.py
parentd0999293426ccbc8904474eaf5d182dd21a66cce (diff)
fix(dwc2): prevent restart during endpoint retirementpr3864-alt
Mark active close and abort operations on both the endpoint and host channel before requesting a halt. Channel, RX FIFO, and Tx FIFO interrupt paths then discard work until Channel Halted retires the transfer, so split ACK/NYET handling cannot re-arm a channel that software is closing. Serialize the state transition with GAHBCFG.GINT. This keeps a parked low-speed channel atomic with the one-transaction-per-frame SOF scheduler without freeing and reallocating the ESP32 interrupt handler. Slave mode temporarily restores controller interrupts while waiting for halt-request queue space; periodic DMA channels remain owned until their natural halt.
Diffstat (limited to 'tools/metrics.py')
0 files changed, 0 insertions, 0 deletions