Re: [PATCH v1 0/8] Group QMI service IDs into the QMI header

From: Jeff Johnson

Date: Mon Mar 09 2026 - 19:50:51 EST


On 3/9/2026 4:03 PM, Daniel Lezcano wrote:
> The different subsystems implementing the QMI service protocol are
> using their own definition of the service id. It is not a problem but
> it results on having those duplicated with different names but the
> same value and without consistency in their name.
>
> It makes more sense to unify their names and move the definitions in
> the QMI header file providing a consistent way to represent the
> supported protocols. Consequently the different drivers will use them
> instead of their own definition of the service id.
>
> Cc: Alex Elder <elder@xxxxxxxxxx>
> Cc: Andrew Lunn <andrew+netdev@xxxxxxx>
> Cc: "David S. Miller" <davem@xxxxxxxxxxxxx>
> Cc: Eric Dumazet <edumazet@xxxxxxxxxx>
> Cc: Jakub Kicinski <kuba@xxxxxxxxxx>
> Cc: Paolo Abeni <pabeni@xxxxxxxxxx>
> Cc: Jeff Johnson <jjohnson@xxxxxxxxxx>
> Cc: Bjorn Andersson <andersson@xxxxxxxxxx>
> Cc: Mathieu Poirier <mathieu.poirier@xxxxxxxxxx>
> Cc: Srinivas Kandagatla <srini@xxxxxxxxxx>
> Cc: Konrad Dybcio <konradybcio@xxxxxxxxxx>
> Cc: Jaroslav Kysela <perex@xxxxxxxx>
> Cc: Takashi Iwai <tiwai@xxxxxxxx>
> Cc: Kees Cook <kees@xxxxxxxxxx>
> Cc: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>
> Cc: Arnd Bergmann <arnd@xxxxxxxx>
> Cc: Mark Brown <broonie@xxxxxxxxxx>
> Cc: Wesley Cheng <quic_wcheng@xxxxxxxxxxx>
> Cc: netdev@xxxxxxxxxxxxxxx
> Cc: linux-kernel@xxxxxxxxxxxxxxx
> Cc: linux-wireless@xxxxxxxxxxxxxxx
> Cc: ath10k@xxxxxxxxxxxxxxxxxxx
> Cc: ath11k@xxxxxxxxxxxxxxxxxxx
> Cc: ath12k@xxxxxxxxxxxxxxxxxxx
> Cc: linux-arm-msm@xxxxxxxxxxxxxxx
> Cc: linux-remoteproc@xxxxxxxxxxxxxxx
> Cc: linux-sound@xxxxxxxxxxxxxxx
> ---
> Daniel Lezcano (8):
> soc: qcom: qmi: Enumerate the service IDs of QMI
> net: ipa: Use the unified QMI service ID instead of defining it
> locally
> net: drivers: wireless: ath: Use the unified QMI service ID instead of
> defining it locally

prefix for wireless drivers is simply wifi: <driver>:
so s/net: drivers: wireless:/wifi:/

> remoteproc: qcom: Use the unified QMI service ID instead of defining
> it locally
> slimbus: qcom-ngd-ctrl: Use the unified QMI service ID instead of
> defining it locally
> soc: qcom: pdr: Use the unified QMI service ID instead of defining it
> locally
> ALSA: usb-audio: qcom: Use the unified QMI service ID instead of
> defining it locally
> samples: qmi: Use the unified QMI service ID instead of defining it
> locally
>
> drivers/net/ipa/ipa_qmi.c | 6 ++----
> drivers/net/wireless/ath/ath10k/qmi.c | 2 +-
> drivers/net/wireless/ath/ath10k/qmi_wlfw_v01.h | 1 -
> drivers/net/wireless/ath/ath11k/qmi.c | 2 +-
> drivers/net/wireless/ath/ath11k/qmi.h | 1 -
> drivers/net/wireless/ath/ath12k/qmi.c | 2 +-
> drivers/net/wireless/ath/ath12k/qmi.h | 1 -
> drivers/remoteproc/qcom_sysmon.c | 2 +-
> drivers/slimbus/qcom-ngd-ctrl.c | 5 ++---
> drivers/soc/qcom/pdr_interface.c | 4 ++--
> drivers/soc/qcom/pdr_internal.h | 3 ---
> drivers/soc/qcom/qcom_pd_mapper.c | 2 +-
> include/linux/soc/qcom/qmi.h | 12 ++++++++++++
> samples/qmi/qmi_sample_client.c | 2 +-
> sound/usb/qcom/qc_audio_offload.c | 2 +-
> sound/usb/qcom/usb_audio_qmi_v01.h | 1 -

You are touching a lot of subsystems with a single series.
How do you plan on having these land?
Do you have a maintainer who will take all of these through their tree?

> 16 files changed, 25 insertions(+), 23 deletions(-)
>