* [PATCH v1] Bluetooth: btintel_pcie: Clear automask on spurious interrupts
@ 2026-08-25 16:25 Kiran K
2026-08-25 16:11 ` Luiz Augusto von Dentz
2026-08-25 16:55 ` [v1] " bluez.test.bot
0 siblings, 2 replies; 4+ messages in thread
From: Kiran K @ 2026-08-25 16:25 UTC (permalink / raw)
To: linux-bluetooth; +Cc: ravishankar.srivatsa, chethan.tumkur.narayan, Kiran K
On spurious interrupt where the TX and RX causes are not set, driver was
not clearing the auto mask which can block all the interrupts. Driver
needs to clear the automask even if no causes are set.
Signed-off-by: Kiran K <kiran.k@intel.com>
---
drivers/bluetooth/btintel_pcie.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/drivers/bluetooth/btintel_pcie.c b/drivers/bluetooth/btintel_pcie.c
index baa621b3fef9..30923eaabed7 100644
--- a/drivers/bluetooth/btintel_pcie.c
+++ b/drivers/bluetooth/btintel_pcie.c
@@ -2051,6 +2051,9 @@ static irqreturn_t btintel_pcie_irq_msix_handler(int irq, void *dev_id)
if (unlikely(!(intr_fh | intr_hw))) {
/* Ignore interrupt, inta == 0 */
+ bt_warn_ratelimited("Bluetooth: btintel_pcie: Received spurious interrupt\n");
+ btintel_pcie_wr_reg32(data, BTINTEL_PCIE_CSR_MSIX_AUTOMASK_ST,
+ BIT(entry->entry));
return IRQ_NONE;
}
--
2.54.0
^ permalink raw reply related [flat|nested] 4+ messages in thread* Re: [PATCH v1] Bluetooth: btintel_pcie: Clear automask on spurious interrupts
2026-08-25 16:25 [PATCH v1] Bluetooth: btintel_pcie: Clear automask on spurious interrupts Kiran K
@ 2026-08-25 16:11 ` Luiz Augusto von Dentz
2026-08-25 17:01 ` K, Kiran
2026-08-25 16:55 ` [v1] " bluez.test.bot
1 sibling, 1 reply; 4+ messages in thread
From: Luiz Augusto von Dentz @ 2026-08-25 16:11 UTC (permalink / raw)
To: Kiran K; +Cc: linux-bluetooth, ravishankar.srivatsa, chethan.tumkur.narayan
Hi Kiran,
On Tue, Aug 25, 2026 at 12:06 PM Kiran K <kiran.k@intel.com> wrote:
>
> On spurious interrupt where the TX and RX causes are not set, driver was
> not clearing the auto mask which can block all the interrupts. Driver
> needs to clear the automask even if no causes are set.
Aren't we missing the fixes tag here? This looks like a candidate for
backport, right?
> Signed-off-by: Kiran K <kiran.k@intel.com>
> ---
> drivers/bluetooth/btintel_pcie.c | 3 +++
> 1 file changed, 3 insertions(+)
>
> diff --git a/drivers/bluetooth/btintel_pcie.c b/drivers/bluetooth/btintel_pcie.c
> index baa621b3fef9..30923eaabed7 100644
> --- a/drivers/bluetooth/btintel_pcie.c
> +++ b/drivers/bluetooth/btintel_pcie.c
> @@ -2051,6 +2051,9 @@ static irqreturn_t btintel_pcie_irq_msix_handler(int irq, void *dev_id)
>
> if (unlikely(!(intr_fh | intr_hw))) {
> /* Ignore interrupt, inta == 0 */
> + bt_warn_ratelimited("Bluetooth: btintel_pcie: Received spurious interrupt\n");
> + btintel_pcie_wr_reg32(data, BTINTEL_PCIE_CSR_MSIX_AUTOMASK_ST,
> + BIT(entry->entry));
> return IRQ_NONE;
> }
>
> --
> 2.54.0
>
>
--
Luiz Augusto von Dentz
^ permalink raw reply [flat|nested] 4+ messages in thread* RE: [PATCH v1] Bluetooth: btintel_pcie: Clear automask on spurious interrupts
2026-08-25 16:11 ` Luiz Augusto von Dentz
@ 2026-08-25 17:01 ` K, Kiran
0 siblings, 0 replies; 4+ messages in thread
From: K, Kiran @ 2026-08-25 17:01 UTC (permalink / raw)
To: Luiz Augusto von Dentz
Cc: linux-bluetooth@vger.kernel.org, Srivatsa, Ravishankar,
Tumkur Narayan, Chethan
Hi Luiz,
Thanks for the comments.
>Subject: Re: [PATCH v1] Bluetooth: btintel_pcie: Clear automask on spurious
>interrupts
>
>Hi Kiran,
>
>On Tue, Aug 25, 2026 at 12:06 PM Kiran K <kiran.k@intel.com> wrote:
>>
>> On spurious interrupt where the TX and RX causes are not set, driver was
>> not clearing the auto mask which can block all the interrupts. Driver
>> needs to clear the automask even if no causes are set.
>
>Aren't we missing the fixes tag here? This looks like a candidate for
>backport, right?
Ack. I will add the fixes tag in v2 version of the patch.
>
>> Signed-off-by: Kiran K <kiran.k@intel.com>
>> ---
>> drivers/bluetooth/btintel_pcie.c | 3 +++
>> 1 file changed, 3 insertions(+)
>>
>> diff --git a/drivers/bluetooth/btintel_pcie.c b/drivers/bluetooth/btintel_pcie.c
>> index baa621b3fef9..30923eaabed7 100644
>> --- a/drivers/bluetooth/btintel_pcie.c
>> +++ b/drivers/bluetooth/btintel_pcie.c
>> @@ -2051,6 +2051,9 @@ static irqreturn_t btintel_pcie_irq_msix_handler(int
>irq, void *dev_id)
>>
>> if (unlikely(!(intr_fh | intr_hw))) {
>> /* Ignore interrupt, inta == 0 */
>> + bt_warn_ratelimited("Bluetooth: btintel_pcie: Received spurious
>interrupt\n");
>> + btintel_pcie_wr_reg32(data,
>BTINTEL_PCIE_CSR_MSIX_AUTOMASK_ST,
>> + BIT(entry->entry));
>> return IRQ_NONE;
>> }
>>
>> --
>> 2.54.0
>>
>>
>
>
>--
>Luiz Augusto von Dentz
Regards,
Kiran
^ permalink raw reply [flat|nested] 4+ messages in thread
* RE: [v1] Bluetooth: btintel_pcie: Clear automask on spurious interrupts
2026-08-25 16:25 [PATCH v1] Bluetooth: btintel_pcie: Clear automask on spurious interrupts Kiran K
2026-08-25 16:11 ` Luiz Augusto von Dentz
@ 2026-08-25 16:55 ` bluez.test.bot
1 sibling, 0 replies; 4+ messages in thread
From: bluez.test.bot @ 2026-08-25 16:55 UTC (permalink / raw)
To: linux-bluetooth, kiran.k
[-- Attachment #1: Type: text/plain, Size: 1181 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/project/bluetooth/list/?series=1151620
---Test result---
Test Summary:
CheckPatch PASS 0.69 seconds
VerifyFixes PASS 0.13 seconds
VerifySignedoff PASS 0.13 seconds
GitLint PASS 0.32 seconds
SubjectPrefix PASS 0.12 seconds
BuildKernel PASS 26.01 seconds
CheckAllWarning PASS 28.15 seconds
CheckSparse PASS 26.88 seconds
BuildKernel32 PASS 24.61 seconds
CheckKernelLLVM SKIP 0.00 seconds
TestRunnerSetup PASS 472.27 seconds
IncrementalBuild PASS 24.34 seconds
Details
##############################
Test: CheckKernelLLVM - SKIP
Desc: Build kernel with LLVM + context analysis
Output:
Clang not found
https://github.com/bluez/bluetooth-next/pull/653
---
Regards,
Linux Bluetooth
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2026-08-25 17:02 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-08-25 16:25 [PATCH v1] Bluetooth: btintel_pcie: Clear automask on spurious interrupts Kiran K
2026-08-25 16:11 ` Luiz Augusto von Dentz
2026-08-25 17:01 ` K, Kiran
2026-08-25 16:55 ` [v1] " bluez.test.bot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox