Merge branch 'icc-rpm' into icc-next
authorGeorgi Djakov <djakov@kernel.org>
Wed, 18 May 2022 00:03:30 +0000 (03:03 +0300)
committerGeorgi Djakov <djakov@kernel.org>
Wed, 18 May 2022 00:03:30 +0000 (03:03 +0300)
commit3a4c63f5d904d83852a2e4df13fcb89cce977405
tree7f34a1e9fc542ee07e106eaa7479d3892de15e0b
parent314cf651fa83b83aa487299cdfe95fe1e8fb8fbe
parent97f7d384ac4fcadfc0fb83519be23ccd59b4250b
Merge branch 'icc-rpm' into icc-next

This patch set is to address two clock rate setting issues.

The first patch is to fix a potential cached clock rate mismatching
issue, the issue can lead to the clock rate is missed to be set. Note,
since this potential issue requires specific time window and certain
condition (consumers need to request the same bandwidth) to produce,
the patch is based on analysis but not a real trace log.

The second patch is an extension to cache clock rates for active and
sleep clocks separately, with this change it gives us possibility to set
active and sleep clock with different clock rates.

* icc-rpm
  interconnect: qcom: icc-rpm: Fix for cached clock rate
  interconnect: qcom: icc-rpm: Cache every clock rate

Link: https://lore.kernel.org/r/20220416031029.693211-1-leo.yan@linaro.org
Signed-off-by: Georgi Djakov <djakov@kernel.org>
drivers/interconnect/qcom/icc-rpm.c
drivers/interconnect/qcom/icc-rpm.h