mbox series

[v1,0/2] interconnect: qcom: icc-rpm: Fix setting clock rate

Message ID 20220416031029.693211-1-leo.yan@linaro.org
Headers show
Series interconnect: qcom: icc-rpm: Fix setting clock rate | expand

Message

Leo Yan April 16, 2022, 3:10 a.m. UTC
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.

Another chagne for enabling active and sleep clocks for icc-rpm driver
will be sent out later, which is dependent on this patch set.


Leo Yan (2):
  interconnect: qcom: icc-rpm: Fix for cached clock rate
  interconnect: qcom: icc-rpm: Cache every clock rate

 drivers/interconnect/qcom/icc-rpm.c | 14 +++++++++-----
 drivers/interconnect/qcom/icc-rpm.h |  4 ++--
 2 files changed, 11 insertions(+), 7 deletions(-)