summaryrefslogtreecommitdiff
path: root/scripts/Makefile.thinlto
diff options
context:
space:
mode:
authorAnup Vishwakarma <anup.vishwakarma@oss.qualcomm.com>2026-10-27 17:31:22 +0530
committerBjorn Andersson <andersson@kernel.org>2026-11-08 14:02:43 -0600
commitec1f9ba57b02fe12a6fa5f141206d439ba3d044e (patch)
tree111fe63e65330706b56b069ae7bbf2366149d4b0 /scripts/Makefile.thinlto
parent3f4f7571c001b04622be50c288c73ec8f320beca (diff)
downloadlinux-next-ec1f9ba57b02fe12a6fa5f141206d439ba3d044e.tar.gz
linux-next-ec1f9ba57b02fe12a6fa5f141206d439ba3d044e.zip
remoteproc: qcom_q6v5_mss: Fix proxy regulator array overflow
The proxy supply tables of msm8974, msm8226 and msm8926 list two regulators (pll and mx), but proxy_regs[] has room for one. The second entry written by q6v5_regulator_init() lands in fallback_proxy_regs[0]. On msm8974 with a device tree that has no cx power domain, the fallback table then overwrites that entry with cx, so mx is never enabled and cx is enabled twice. Make proxy_regs[] large enough for the largest proxy supply table. Fixes: 4641840341f3 ("remoteproc: qcom_q6v5_mss: Handle platforms with one power domain") Cc: stable@vger.kernel.org Signed-off-by: Anup Vishwakarma <anup.vishwakarma@oss.qualcomm.com> Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com> Link: https://lore.kernel.org/r/20261027-b4-q6v5_mss_proxy_regs-v1-1-6c5557e42462@oss.qualcomm.com Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions