Linux bluetooth development
 help / color / mirror / Atom feed
* [PATCH v2] Bluetooth: btintel_pcie: Add shared HW reset for clean start
@ 2026-09-29  6:12 Sai Teja Aluvala
  2026-09-29  6:51 ` [v2] " bluez.test.bot
  2026-09-29 15:10 ` [PATCH v2] " patchwork-bot+bluetooth
  0 siblings, 2 replies; 3+ messages in thread
From: Sai Teja Aluvala @ 2026-09-29  6:12 UTC (permalink / raw)
  To: linux-bluetooth; +Cc: kiran.k, chethan.tumkur.narayan, Sai Teja Aluvala

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.

Fixes: c2b636b3f788 ("Bluetooth: btintel_pcie: Add support for PCIe transport")
Signed-off-by: Sai Teja Aluvala <aluvala.sai.teja@intel.com>
-----
v2 changes:
     - Added Fixes Tag
---
 drivers/bluetooth/btintel_pcie.c | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/drivers/bluetooth/btintel_pcie.c b/drivers/bluetooth/btintel_pcie.c
index 84a6cf2f4920..6cde68ce0304 100644
--- a/drivers/bluetooth/btintel_pcie.c
+++ b/drivers/bluetooth/btintel_pcie.c
@@ -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;
-- 
2.53.0


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* RE: [v2] Bluetooth: btintel_pcie: Add shared HW reset for clean start
  2026-09-29  6:12 [PATCH v2] Bluetooth: btintel_pcie: Add shared HW reset for clean start Sai Teja Aluvala
@ 2026-09-29  6:51 ` bluez.test.bot
  2026-09-29 15:10 ` [PATCH v2] " patchwork-bot+bluetooth
  1 sibling, 0 replies; 3+ messages in thread
From: bluez.test.bot @ 2026-09-29  6:51 UTC (permalink / raw)
  To: linux-bluetooth, aluvala.sai.teja

[-- Attachment #1: Type: text/plain, Size: 1019 bytes --]

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


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH v2] Bluetooth: btintel_pcie: Add shared HW reset for clean start
  2026-09-29  6:12 [PATCH v2] Bluetooth: btintel_pcie: Add shared HW reset for clean start Sai Teja Aluvala
  2026-09-29  6:51 ` [v2] " bluez.test.bot
@ 2026-09-29 15:10 ` patchwork-bot+bluetooth
  1 sibling, 0 replies; 3+ messages in thread
From: patchwork-bot+bluetooth @ 2026-09-29 15:10 UTC (permalink / raw)
  To: Sai Teja Aluvala; +Cc: linux-bluetooth, kiran.k, chethan.tumkur.narayan

Hello:

This patch was applied to bluetooth/bluetooth-next.git (master)
by Luiz Augusto von Dentz <luiz.von.dentz@intel.com>:

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!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2026-09-29 15:10 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-09-29  6:12 [PATCH v2] Bluetooth: btintel_pcie: Add shared HW reset for clean start Sai Teja Aluvala
2026-09-29  6:51 ` [v2] " bluez.test.bot
2026-09-29 15:10 ` [PATCH v2] " patchwork-bot+bluetooth

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox