[PATCH v2 0/4] Bluetooth: btusb: Support Qualcomm multi-subsystem QCC2072

Zijun Hu posted 4 patches 3 weeks, 5 days ago
There is a newer version of this series
drivers/bluetooth/Kconfig                   |   14 +
drivers/bluetooth/Makefile                  |    3 +
drivers/bluetooth/{btusb.c => btusb_main.c} |   77 +-
drivers/bluetooth/btusb_qcom.c              | 4513 +++++++++++++++++++++++++++
drivers/bluetooth/btusb_qcom.h              |   91 +
include/net/bluetooth/bluetooth.h           |    6 +
include/net/bluetooth/hci.h                 |    1 +
include/net/bluetooth/hci_core.h            |    5 +
include/net/bluetooth/hci_mon.h             |    2 +
net/bluetooth/hci_core.c                    |   44 +
net/bluetooth/hci_sock.c                    |   53 +-
11 files changed, 4802 insertions(+), 7 deletions(-)
[PATCH v2 0/4] Bluetooth: btusb: Support Qualcomm multi-subsystem QCC2072
Posted by Zijun Hu 3 weeks, 5 days ago
Hi Luiz,

This revision addresses issues below you raised in our previous discussion.
Could you take a look at this new revision when you get a chance, and let
me know if you have any further comments?

- Pre-process the PERI frame
- Don't hci_send_to_monitor() for PERI frame
- Don't use the safer skb_pull_data() helper

A malformed PERI frame, once identified for what it is, is sometimes still
valuable, so don't drop it early via a min_len/max_len check.
For example, a malformed memdump frame needs to reach its final handler to
abort an in-progress memdump procedure.

This patch series is to support Qualcomm multi-subsystem QCC2072, the
first 3 commits are simple dependencies of the last one, previously
sent separately but now combined into this series, each commit includes
its own changelog below the commit message.

Signed-off-by: Zijun Hu <zijun.hu@oss.qualcomm.com>
---
Zijun Hu (4):
      Bluetooth: btusb: Add recv_intr() hook to btusb_data
      Bluetooth: Add generic support for vendor HCI packets
      Bluetooth: btusb: Build the driver from multiple source files
      Bluetooth: btusb: Add support for Qualcomm multi-subsystem QCC2072

 drivers/bluetooth/Kconfig                   |   14 +
 drivers/bluetooth/Makefile                  |    3 +
 drivers/bluetooth/{btusb.c => btusb_main.c} |   77 +-
 drivers/bluetooth/btusb_qcom.c              | 4513 +++++++++++++++++++++++++++
 drivers/bluetooth/btusb_qcom.h              |   91 +
 include/net/bluetooth/bluetooth.h           |    6 +
 include/net/bluetooth/hci.h                 |    1 +
 include/net/bluetooth/hci_core.h            |    5 +
 include/net/bluetooth/hci_mon.h             |    2 +
 net/bluetooth/hci_core.c                    |   44 +
 net/bluetooth/hci_sock.c                    |   53 +-
 11 files changed, 4802 insertions(+), 7 deletions(-)
---
base-commit: bcb621272aa04a116a74ab5fcc9324231ffa3acb
change-id: 20260824-btusb_qcc2072-abb918ab4220

Best regards,
--  
Zijun Hu <zijun.hu@oss.qualcomm.com>
Re: [PATCH v2 0/4] Bluetooth: btusb: Support Qualcomm multi-subsystem QCC2072
Posted by Luiz Augusto von Dentz 3 weeks, 5 days ago
Hi Zijun,

On Mon, Aug 31, 2026 at 1:04 AM Zijun Hu <zijun.hu@oss.qualcomm.com> wrote:
>
> Hi Luiz,
>
> This revision addresses issues below you raised in our previous discussion.
> Could you take a look at this new revision when you get a chance, and let
> me know if you have any further comments?
>
> - Pre-process the PERI frame
> - Don't hci_send_to_monitor() for PERI frame
> - Don't use the safer skb_pull_data() helper
>
> A malformed PERI frame, once identified for what it is, is sometimes still
> valuable, so don't drop it early via a min_len/max_len check.
> For example, a malformed memdump frame needs to reach its final handler to
> abort an in-progress memdump procedure.
>
> This patch series is to support Qualcomm multi-subsystem QCC2072, the
> first 3 commits are simple dependencies of the last one, previously
> sent separately but now combined into this series, each commit includes
> its own changelog below the commit message.
>
> Signed-off-by: Zijun Hu <zijun.hu@oss.qualcomm.com>
> ---
> Zijun Hu (4):
>       Bluetooth: btusb: Add recv_intr() hook to btusb_data
>       Bluetooth: Add generic support for vendor HCI packets
>       Bluetooth: btusb: Build the driver from multiple source files
>       Bluetooth: btusb: Add support for Qualcomm multi-subsystem QCC2072
>
>  drivers/bluetooth/Kconfig                   |   14 +
>  drivers/bluetooth/Makefile                  |    3 +
>  drivers/bluetooth/{btusb.c => btusb_main.c} |   77 +-
>  drivers/bluetooth/btusb_qcom.c              | 4513 +++++++++++++++++++++++++++
>  drivers/bluetooth/btusb_qcom.h              |   91 +
>  include/net/bluetooth/bluetooth.h           |    6 +
>  include/net/bluetooth/hci.h                 |    1 +
>  include/net/bluetooth/hci_core.h            |    5 +
>  include/net/bluetooth/hci_mon.h             |    2 +
>  net/bluetooth/hci_core.c                    |   44 +
>  net/bluetooth/hci_sock.c                    |   53 +-
>  11 files changed, 4802 insertions(+), 7 deletions(-)
> ---
> base-commit: bcb621272aa04a116a74ab5fcc9324231ffa3acb
> change-id: 20260824-btusb_qcc2072-abb918ab4220
>
> Best regards,
> --
> Zijun Hu <zijun.hu@oss.qualcomm.com>

Sashiko found several issues with this series:

https://sashiko.dev/#/patchset/20260830-btusb_qcc2072-v2-0-5c0e0c9dd98b%40oss.qualcomm.com

-- 
Luiz Augusto von Dentz