Skip to contentSkip to conversation

backports: add QMI helpers

PATCH In review Robert Marko 2 participants 2 messages May 30, 2022 – Jul 31, 2022

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 backports: add QMI helpers

QMI helpers are used by ath11k for both AHB and PCI support. They are also not user selectable but rather are meant to be selected by ath11k, so backport them as well to avoid patching the kernel to provide these from OpenWrt for example.

---
 backport/Kconfig.sources | 1 +
 backport/Makefile.kernel | 1 +
 copy-list                | 5 +++++
 dependencies             | 2 ++
 4 files changed, 9 insertions(+)
backport/Kconfig.sources +1 -0
index 87ffca94..2ea4d8a6 100644
@@ -6,6 +6,7 @@ source "$BACKPORT_DIR/net/wireless/Kconfig"
 source "$BACKPORT_DIR/net/mac80211/Kconfig"
 source "$BACKPORT_DIR/net/qrtr/Kconfig"
 source "$BACKPORT_DIR/drivers/bus/mhi/Kconfig"
+source "$BACKPORT_DIR/drivers/soc/qcom/Kconfig"
 source "$BACKPORT_DIR/drivers/net/wireless/Kconfig"
 source "$BACKPORT_DIR/drivers/net/usb/Kconfig"
 
backport/Makefile.kernel +1 -0
index 373fed96..11ce4177 100644
@@ -40,6 +40,7 @@ obj-y += compat/
 obj-$(CPTCFG_CFG80211) += net/wireless/
 obj-$(CPTCFG_MAC80211) += net/mac80211/
 obj-$(CPTCFG_QRTR) += net/qrtr/
+obj-$(CPTCFG_QCOM_QMI_HELPERS) += drivers/soc/qcom/
 obj-$(CPTCFG_MHI_BUS) += drivers/bus/mhi/
 obj-$(CPTCFG_WLAN) += drivers/net/wireless/
 obj-$(CPTCFG_SSB) += drivers/ssb/
copy-list +5 -0
index 480a9fb3..21bf6c58 100644
@@ -102,6 +102,11 @@ drivers/ssb/
 include/linux/ssb/
 drivers/bcma/
 include/linux/bcma/
+drivers/soc/qcom/Makefile
+drivers/soc/qcom/Kconfig
+drivers/soc/qcom/qmi_encdec.c
+drivers/soc/qcom/qmi_interface.c
+include/linux/soc/qcom/qmi.h
 drivers/net/wireless/atmel/
 drivers/net/wireless/broadcom/
 drivers/net/wireless/st/
dependencies +2 -0
index 5bb9c563..3f88c446 100644
@@ -44,5 +44,7 @@ MHI_BUS 4.19
 # sock_gettstamp()
 QRTR 5.2
 
+QCOM_QMI_HELPERS 4.16
+
 # QRTR
 ATH11K 5.2
Signature · 4 lines
2.36.1

--
To unsubscribe from this list: send the line "unsubscribe backports" in
#1 lore raw
Quoted 5 lines · Robert Marko

QMI helpers are used by ath11k for both AHB and PCI support. They are also not user selectable but rather are meant to be selected by ath11k, so backport them as well to avoid patching the kernel to provide these from OpenWrt for example.

Quoted 8 lines
---
  backport/Kconfig.sources | 1 +
  backport/Makefile.kernel | 1 +
  copy-list                | 5 +++++
  dependencies             | 2 ++
  4 files changed, 9 insertions(+)

Thank you for your patch I applied it to master.

Hauke

--
To unsubscribe from this list: send the line "unsubscribe backports" in