Bluetooth: btintel_pcie: Add shared HW reset for clean start
PATCH v2 1/1 Bluetooth: btintel_pcie: Add shared HW reset for clean start
Reset shared Bluetooth hardware after mapping the BAR and before setting up MSI-X interrupts, so stale device state is cleared before IRQ handlers and interrupt masks are configured.
Propagate reset errors so probe aborts rather than continuing when the reset fails.
-----
v2 changes:
- Added Fixes Tag
--- drivers/bluetooth/btintel_pcie.c | 7 +++++++ 1 file changed, 7 insertions(+)
drivers/bluetooth/btintel_pcie.c +7 -0
@@ -2876,6 +2876,13 @@ static int btintel_pcie_config_pcie(struct pci_dev *pdev,if (IS_ERR (data->base_addr))return PTR_ERR (data->base_addr); +/* Do shared hardware reset to ensure a clean start before +* configuring interrupts. +*/ + err =btintel_pcie_reset_bt (data); +if (err) +return err; + err =btintel_pcie_setup_irq (data);if (err)return err;
Signature · 1 line
2.53.0
This is automated email and please do not reply to this email!
Dear submitter,
Thank you for submitting the patches to the linux bluetooth mailing list. This is a CI test results with your patch series:
PW Link:https://patchwork.kernel.org/series/1175797/
---Test result---
Test Summary:
CheckPatch PASS 0.53 seconds VerifyFixes PASS 0.11 seconds VerifySignedoff PASS 1.83 seconds GitLint PASS 0.29 seconds SubjectPrefix PASS 0.11 seconds BuildKernel PASS 19.43 seconds CheckAllWarning PASS 21.83 seconds CheckSparse PASS 23.36 seconds BuildKernel32 PASS 19.30 seconds CheckKernelLLVM PASS 26.61 seconds TestRunnerSetup PASS 490.39 seconds IncrementalBuild PASS 18.00 seconds
https://github.com/bluez/bluetooth-next/pull/837
---
Regards,
Linux Bluetooth
This patch was applied to bluetooth/bluetooth-next.git (master) by Luiz Augusto von Dentz <[email protected]>:
Hello:
This patch was applied to bluetooth/bluetooth-next.git (master) by Luiz Augusto von Dentz <[email protected]>:
Quoted 8 lines · On Tue, 29 Sep 2026 11:42:33 +0530 you wrote:
Reset shared Bluetooth hardware after mapping the BAR and before setting up MSI-X interrupts, so stale device state is cleared before IRQ handlers and interrupt masks are configured.
Propagate reset errors so probe aborts rather than continuing when the reset fails.
[...]
Here is the summary with links:
- [v2] Bluetooth: btintel_pcie: Add shared HW reset for clean start
https://git.kernel.org/bluetooth/bluetooth-next/c/1465494e8d07
You are awesome, thank you!
Signature · 2 lines
Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html