Re: [PATCH 0/6] Bluetooth: btusb: Preparation for upcoming Qualcomm QCC2072 support

From: Luiz Augusto von Dentz

Date: Thu Jul 09 2026 - 10:17:39 EST


Hi Zijun,

On Thu, Jul 9, 2026 at 2:15 AM Zijun Hu <zijun.hu@xxxxxxxxxxxxxxxx> wrote:
>
> This series collects the btusb and devcoredump changes required by the
> upcoming Qualcomm QCC2072 Bluetooth driver. None of them are QCC2072-
> specific: they refactor btusb into a shape that can host vendor-specific
> source files, and make a few coredump helpers reusable.

I really this not a 'lets redesign btusb because our driver is not
standard Bluetooth Class' kind of thing, we already have hdev->setup
and other callbacks for vendor specific functionality, if you want
more than that perhaps it needs to be become it own driver.

> Posting them as a standalone series because the QCC2072 driver itself is
> larger and will take longer to review. These prerequisites are small and
> self-contained, so they can hopefully be reviewed and merged on their own
> in the meantime.
>
> The series contains:
> - coredump: a readable state-name helper and a fixed-size dump header,
> both reused by the vendor driver
> - btusb: an indirect recv_intr() hook, hci_dev-based recv wrappers, a
> shared reset-prepare helper, and a split into btusb_main.c so vendor
> files can be added later
>
> No functional change intended.
>
> Signed-off-by: Zijun Hu <zijun.hu@xxxxxxxxxxxxxxxx>
> ---
> Zijun Hu (6):
> Bluetooth: coredump: Introduce and apply hci_devcd_state_name()
> Bluetooth: coredump: Allow drivers to pad dump header to fixed size
> Bluetooth: btusb: Add an indirect recv_intr() hook to btusb_data
> Bluetooth: btusb: Add wrappers btusb_recv_{event,acl}_hdev()
> Bluetooth: btusb: Add a simple static btusb_prepare_reset()
> Bluetooth: btusb: Build the driver from multiple source files
>
> drivers/bluetooth/Makefile | 2 ++
> drivers/bluetooth/{btusb.c => btusb_main.c} | 33 ++++++++++++++++++++++---
> include/net/bluetooth/coredump.h | 11 +++++++++
> net/bluetooth/coredump.c | 38 ++++++++++++++++++++---------
> 4 files changed, 68 insertions(+), 16 deletions(-)
> ---
> base-commit: ca75417ab1793f23b3ddc91869f0809b593d6954
> change-id: 20260708-btusb_prep_qcc2072-23604a4e81d1
>
> Best regards,
> --
> Zijun Hu <zijun.hu@xxxxxxxxxxxxxxxx>
>


--
Luiz Augusto von Dentz