wifi: ath12k: Add support for QCN6432
Status from this message: Applied, thanks!
Get series with b4
b4 am [email protected] change-id 20261008-mpp_bringup-ea2187d10a28Versions newest first
- v3 Latest17 patches 4 repliesApplied
- v217 patches 9 repliesSuperseded inferred link
- v117 patches 8 repliesSuperseded
Changes in v3 from the cover letter
- patch 1/17: Update the commit subject and change the file name.
- patch 3/17: Initialize qmi_max_chunk_size for QCN6432.
- Link to v2: https://patch.msgid.link/[email protected]
Patches in v3 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/17 | dt-bindings: net: wireless: Add QCN6432Documentation/ | +149 | 1 reply | |
| 2/17 | wifi: ath12k: Refactor PCI operations and MSI config structuredrivers/ drivers/ drivers/ +3 more | +56 | 0 replies | |
| 3/17 | wifi: ath12k: Add hardware parameter for QCN6432drivers/ drivers/ drivers/ | +88 | 0 replies | |
| 4/17 | wifi: ath12k: Add hardware ring mask for QCN6432drivers/ drivers/ | +52 | 0 replies | |
| 5/17 | wifi: ath12k: add hardware registers for QCN6432drivers/ drivers/ drivers/ | +93 | 0 replies | |
| 6/17 | wifi: ath12k: move multi MSI vector flag to ath12k_dev_flagsdrivers/ drivers/ drivers/ +1 more | +13 | 0 replies | |
| 7/17 | wifi: ath12k: Add hybrid_bus_type in ath12k_hw_paramsdrivers/ drivers/ | +13 | 0 replies | |
| 8/17 | wifi: ath12k: Add hif operation support for QCN6432drivers/ drivers/ drivers/ +6 more | +253 | 0 replies | |
| 9/17 | wifi: ath12k: add support for unified data-region memory allocationdrivers/ | +70 | 0 replies | |
| 10/17 | wifi: ath12k: move MSI config to pci.cdrivers/ drivers/ drivers/ | +19 | 0 replies | |
| 11/17 | wifi: ath12k: Add platform MSI support for CEdrivers/ drivers/ drivers/ +3 more | +190 | 0 replies | |
| 12/17 | wifi: ath12k: Enable MSI interrupt support for DP interruptdrivers/ drivers/ drivers/ | +129 | 0 replies | |
| 13/17 | wifi: ath12k: use CMEM write for PPT on hybrid bus devicesdrivers/ drivers/ drivers/ | +28 | 0 replies | |
| 14/17 | wifi: ath12k: store and use MSI data per CE and DP interrupt group for QCN6432drivers/ drivers/ drivers/ +1 more | +17 | 0 replies | |
| 15/17 | wifi: ath12k: Derive QMI service instance ID per protection domaindrivers/ | +3 | 0 replies | |
| 16/17 | wifi: ath12k: Resolve userPD ID per devicedrivers/ | +26 | 0 replies | |
| 17/17 | wifi: ath12k: Add QCN6432 AHB supportdrivers/ drivers/ | +19 | 0 replies |
Reviews trailers per patch
1 of 17 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.
| Patch | Krzysztof Kozlowski | Baochen Qiang | Vasanthakumar Thiagarajan |
|---|---|---|---|
| Series | R-b | R-b | |
| 1/17 | R-b | ||
| 2/17 | |||
| 3/17 | |||
| 4/17 | |||
| 5/17 | |||
| 6/17 | |||
| 7/17 | |||
| 8/17 | |||
| 9/17 | |||
| 10/17 | |||
| 11/17 | |||
| 12/17 | |||
| 13/17 | |||
| 14/17 | |||
| 15/17 | |||
| 16/17 | |||
| 17/17 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.
Cover letter [PATCH ath-next v3 00/17] wifi: ath12k: Add support for QCN6432
QCN6432 is a PCIe-based device attached to the WCSS Q6 processor. It is registered as a platform device (AHB), and remoteproc APIs are used to boot and shut down the device, similar to other AHB-based devices such as IPQ5332.
However, PCI APIs are used for device setup and register access. Since QCN6432 requires both AHB and PCI APIs for its operation, a hybrid AHB/PCI approach is implemented.
Overview:
- Patch [1/17] adds DT binding documentation for QCN6432.
- Patch [2/17] refactors PCI operations and MSI config structure to support different MSI configurations.
- Patches [3,4,5/17] add hardware parameters, ring mask, and registers
for QCN6432.
- Patch [6/17] moves multi MSI vector flag to ath12k_dev_flags.
- Patches [7,8/17] add hybrid_bus_type and HIF operations support for
QCN6432. - Patch [9/17] adds support for unified data-region memory allocation.
- Patch [10/17] moves MSI config to pcic for better abstraction.
- Patches [11,12/17] enable MSI interrupt support for CE and DP rings specific to QCN6432.
- Patch [13/17] uses CMEM write for PPT on hybrid bus devices.
- Patch [14/17] stores and uses per CE DP MSI data for QCN6432.
- Patch [15/17] derives QMI service instance ID per protection domain.
- Patch [16/17] add userpd ID mapping per device.
- Patch [17/17] adds support for QCN6432 in the driver.
Changes in v3:
- patch 1/17: Update the commit subject and change the file name.
- patch 3/17: Initialize qmi_max_chunk_size for QCN6432.
- Link to v2: https://patch.msgid.link/[email protected]
Changes in v2:
- patch 1/17: Update the compatible string from qcom,qcn6432-wifi to qcom,qcn6432 and remove the | character.
- patch 11/17 and patch 12/17: Fix resource leaks on probe error paths.
- patch 16/17: Move the NULL check before the loop.
- Link to v1: https://lore.kernel.org/linux-wireless/[email protected]/
---
Aaradhana Sahu (10):
dt-bindings: net: wireless: Add QCN6432
wifi: ath12k: Refactor PCI operations and MSI config structure
wifi: ath12k: move multi MSI vector flag to ath12k_dev_flags
wifi: ath12k: Add hybrid_bus_type in ath12k_hw_params
wifi: ath12k: add support for unified data-region memory allocation
wifi: ath12k: move MSI config to pci.c
wifi: ath12k: Add platform MSI support for CE
wifi: ath12k: use CMEM write for PPT on hybrid bus devices
wifi: ath12k: Resolve userPD ID per device
wifi: ath12k: Add QCN6432 AHB support
Sowmiya Sree Elavalagan (7):
wifi: ath12k: Add hardware parameter for QCN6432
wifi: ath12k: Add hardware ring mask for QCN6432
wifi: ath12k: add hardware registers for QCN6432
wifi: ath12k: Add hif operation support for QCN6432
wifi: ath12k: Enable MSI interrupt support for DP interrupt
wifi: ath12k: store and use MSI data per CE and DP interrupt group for QCN6432
wifi: ath12k: Derive QMI service instance ID per protection domain
.../bindings/net/wireless/qcom,qcn6432.yaml | 149 +++++++ drivers/net/wireless/ath/ath12k/Makefile | 2 +- drivers/net/wireless/ath/ath12k/ahb.c | 54 ++- drivers/net/wireless/ath/ath12k/ahb.h | 10 +- drivers/net/wireless/ath/ath12k/ce.c | 7 +- drivers/net/wireless/ath/ath12k/ce.h | 6 + drivers/net/wireless/ath/ath12k/core.c | 10 +- drivers/net/wireless/ath/ath12k/core.h | 24 ++ drivers/net/wireless/ath/ath12k/dp.c | 39 +- drivers/net/wireless/ath/ath12k/dp.h | 2 +- drivers/net/wireless/ath/ath12k/hif.h | 30 ++ drivers/net/wireless/ath/ath12k/hw.h | 8 +- drivers/net/wireless/ath/ath12k/mhi.c | 4 +- drivers/net/wireless/ath/ath12k/pci.c | 111 +++--- drivers/net/wireless/ath/ath12k/pci.h | 21 +- drivers/net/wireless/ath/ath12k/pcic.c | 435 +++++++++++++++++++++ drivers/net/wireless/ath/ath12k/pcic.h | 24 ++ drivers/net/wireless/ath/ath12k/qmi.c | 83 +++- drivers/net/wireless/ath/ath12k/qmi.h | 1 + drivers/net/wireless/ath/ath12k/wifi7/ahb.c | 45 ++- drivers/net/wireless/ath/ath12k/wifi7/hal.c | 7 + .../net/wireless/ath/ath12k/wifi7/hal_qcn9274.c | 85 ++++ .../net/wireless/ath/ath12k/wifi7/hal_qcn9274.h | 1 + drivers/net/wireless/ath/ath12k/wifi7/hw.c | 143 +++++++ drivers/net/wireless/ath/ath12k/wifi7/pci.c | 22 +- 25 files changed, 1214 insertions(+), 109 deletions(-)
---
base-commit: 2d57db8fbf72b1872e7411e917166bd12ed5bc98
change-id: 20261015-mpp-bringup-75f457bef8ee