aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/scripts/Makefile.thinlto
diff options
context:
space:
mode:
authorSergey Lebedev <lsa.uz@pm.me>2026-09-28 22:40:02 +0530
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>2026-10-14 14:38:18 -0400
commit4f6ead67b93bcc4ba1fbbf97c7c8bc5a0c45b80b (patch)
tree89d7dee3005b753b22ce1ae20d9e9cbac7ca13dd /scripts/Makefile.thinlto
parentBluetooth: btintel_pcie: fix PM flow for S0ix, S3 and S4 (diff)
Bluetooth: btintel_pcie: verify and serialize D-state transitions
The gp0_received flag only reports that the GP0 handler ran. It does not contain proof that the handler completed the requested D-state transition: a matched case can leave the state unchanged. Refresh the boot-stage register before treating the transition as successful. When the controller is in D0 but the handler did not re-arm the interface, restore the alive context, reset the IA, restart RX, and complete the mailbox/alive handshake. Propagate RX setup failures to the PM caller. Likewise, when the controller is in D3 but the handler did not record it, restore the alive context so the next transition dispatches correctly. Serialize the alive-context claim between the GP0 handler and the set_dxstate() fallback with irq_lock. Only the path that claims the D0 transition resets the IA and rearms RX, avoiding concurrent updates to the shared ring state. Co-developed-by: Ravindra <ravindra@intel.com> Signed-off-by: Ravindra <ravindra@intel.com> Signed-off-by: Sergey Lebedev <lsa.uz@pm.me> Fixes: 88c6216a52ea ("Bluetooth: btintel_pcie: Suspend/Resume: Controller doorbell interrupt handling") Tested-by: Sergey Lebedev <lsa.uz@pm.me> Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions