]> git.ipfire.org Git - thirdparty/linux.git/commit
interconnect: qcom: msm8974: switch to the main icc-rpm driver
authorDmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Tue, 24 Mar 2026 00:10:43 +0000 (02:10 +0200)
committerGeorgi Djakov <djakov@kernel.org>
Thu, 26 Mar 2026 18:09:55 +0000 (20:09 +0200)
commitaa60d907b3c289832d2188e079fc126a700389fa
tree787502432caa7563342c6ac400903a9d8dec443d
parent91cfd1604f9ec73d3fde18204de263d0e2c79a3b
interconnect: qcom: msm8974: switch to the main icc-rpm driver

In preparation to restoring the ability of MSM8974 driver to work with
the modern kernels, switch the driver to the main icc-rpm set of helper
code.

As platform-specific workarounds, set the get_bw callback (returning 0)
to prevent initial setup from programming INT_MAX into the RPM (which
otherwise might hang the platform) and tell RPM programming code to
ignore -ENXIO errors from the firmware (until the QoS programming is
sorted out).

Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Link: https://msgid.link/20260324-msm8974-icc-v2-7-527280043ad8@oss.qualcomm.com
Signed-off-by: Georgi Djakov <djakov@kernel.org>
drivers/interconnect/qcom/msm8974.c