]> git.ipfire.org Git - thirdparty/linux.git/commit
interconnect: qcom: let platforms declare their bugginess
authorDmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Tue, 24 Mar 2026 00:10:42 +0000 (02:10 +0200)
committerGeorgi Djakov <djakov@kernel.org>
Thu, 26 Mar 2026 18:09:47 +0000 (20:09 +0200)
commit91cfd1604f9ec73d3fde18204de263d0e2c79a3b
treedcab8a567d7c39515eeb4c294f6d30c35022a6dd
parent1d5b5f7d755be846e7b3a236855ee148b80b4fa3
interconnect: qcom: let platforms declare their bugginess

On MSM8974 programming some of the RPM resources results in the
"resource does not exist" messages from the firmware. This occurs even
with the downstream bus driver, which happily ignores the errors. My
assumption is that these resources existed in the earlier firmware
revisions but were later switched to be programmed differently (for the
later platforms corresponding nodes use qos.ap_owned, which prevents
those resources from being programmed.

In preparation for conversion of the MSM8974 driver (which doesn't have
QoS code yet) to the main icc-rpm set of helpers, let the driver declare
that those -ENXIO errors must be ignored (for now). Later, when the QoS
programming is sorted out (and more interconnects are added to the DT),
this quirk might be removed.

Reviewed-by: Brian Masney <bmasney@redhat.com>
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-6-527280043ad8@oss.qualcomm.com
Signed-off-by: Georgi Djakov <djakov@kernel.org>
drivers/interconnect/qcom/icc-rpm.c
drivers/interconnect/qcom/icc-rpm.h