Re: [PATCH v6 0/4] Bluetooth: btintel_pcie: fix D-state transitions and PM flows
From: Sergey Lebedev
Date: Mon Sep 28 2026 - 17:17:18 EST
Ravindra,
Thank you for taking the race on and fixing it in 3/4.
I ran v6 on the Surface Pro 11 bench (BE201 8086:a876, s2idle, the same
base as for v4), with an instrumented copy that forces each path:
- plain cycles: the handler records D3 and re-arms RX, as before
- a gp0 dropped on the way down: one 200 ms timeout, the register read
again, D3 recorded
- the handler's D0 or D3 case forced to break: the fallback records D3,
or claims D0 and re-arms RX
- the race: the handler held in case D3 for 300 ms after deciding to
claim D0, past the 200 ms wait. With v5 the fallback re-armed RX at
203 ms and the handler again at 300 ms. With v6 the fallback waited on
irq_lock, found D0 claimed and returned, and RX was re-armed once.
After every cycle Bluetooth answered an HCI command and scanned.
Tested-by: Sergey Lebedev <lsa.uz@xxxxx>
Sergey