From: Pauli Virtanen <pav@iki.fi>
To: Luiz Augusto von Dentz <luiz.dentz@gmail.com>
Cc: Sasha Levin <sashal@kernel.org>,
linux-bluetooth@vger.kernel.org, llvm@lists.linux.dev,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH] Bluetooth: btintel_pcie: Fix context analysis errors on req_lock
Date: Thu, 03 Dec 2026 21:32:09 +0200 [thread overview]
Message-ID: <cc8d1d444412d72d72808b05cb6555f40d9ac857.camel@iki.fi> (raw)
In-Reply-To: <CABBYNZ+LeyRQSiVR4EbLvqtMbH6OMPp-ZCaMPY5w8ygWP0gFtg@mail.gmail.com>
Hi,
to, 2026-12-03 kello 13:55 -0500, Luiz Augusto von Dentz kirjoitti:
> On Thu, Dec 3, 2026 at 1:52 PM Pauli Virtanen <pav@iki.fi> wrote:
> > to, 2026-12-03 kello 13:01 -0500, Luiz Augusto von Dentz kirjoitti:
> > > On Thu, Dec 3, 2026 at 12:53 PM Sasha Levin <sashal@kernel.org> wrote:
> > > >
> > > > On Thu, Dec 03, 2026 at 11:16:40AM -0500, Luiz Augusto von Dentz wrote:
> > > > > Can you give some more context so I can try enabling it in our CI to
> > > > > avoid committing new code with this problem. (No need to respin just
> > > > > want a lead to enable this sort of errors in our CI).
> > > >
> > > > It just needs clang 23 or newer. CONFIG_WARN_CONTEXT_ANALYSIS depends on
> > > > that and defaults to y, and drivers/bluetooth and net/bluetooth already
> > > > have CONTEXT_ANALYSIS := y in their Makefiles. They're warnings unless
> > > > CONFIG_WERROR is set.
> > >
> > > By clang 23 you mean LLVM=1 as well? There is a ton of other errors if
> > > I enable CONFIG_WERROR so I assume this is just checking for new
> > > errors in which case we need some sort of history to compare to.
> >
> > There is LLVM build test (CheckKernelLLVM) with context analysis +
> > Werror enabled in the bluez CI.
>
> Is that using clang 23? Or do we need to update the container to use
> that version?
Yes, it is working:
https://lore.kernel.org/linux-bluetooth/6b0da550.18b9987f.3871c4.950b@mx.google.com/
The only problem looks like the intel pcie driver (and possibly others)
is not enabled in the kernel config.
> > CONFIG_BT_INTEL_PCIE=y seems missing from bluez/doc/ci.config that the
> > kernel CI build tests use, so the build tests are probably not running
> > for this driver.
>
> I guess action-ci needs to be updated then.
--
Pauli Virtanen
prev parent reply other threads:[~2026-12-03 19:32 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-12-03 10:59 Sasha Levin
2026-12-03 16:16 ` Luiz Augusto von Dentz
2026-12-03 17:53 ` Sasha Levin
2026-12-03 18:01 ` Luiz Augusto von Dentz
2026-12-03 18:15 ` Sasha Levin
2026-12-03 19:31 ` Nick Desaulniers
2026-12-03 18:52 ` Pauli Virtanen
2026-12-03 18:55 ` Luiz Augusto von Dentz
2026-12-03 19:17 ` Sasha Levin
2026-12-03 19:32 ` Pauli Virtanen [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=cc8d1d444412d72d72808b05cb6555f40d9ac857.camel@iki.fi \
--to=pav@iki.fi \
--cc=linux-bluetooth@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=llvm@lists.linux.dev \
--cc=luiz.dentz@gmail.com \
--cc=sashal@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®