summaryrefslogtreecommitdiffstats
path: root/lib/crc32defs.h
diff options
context:
space:
mode:
authorAtul Dhudase <quic_adhudase@quicinc.com>2023-12-06 21:02:51 +0530
committerBjorn Andersson <andersson@kernel.org>2023-12-15 23:20:08 -0600
commiteed6e57e9f3e2beac37563eb6a0129549daa330e (patch)
tree5a8bd974b27c13826c1dd2cb66560fdd4cbf54e8 /lib/crc32defs.h
parentfbfd1f55ad34be14e52b39a1b83ae1f0d29b890c (diff)
downloadlinux-stable-eed6e57e9f3e2beac37563eb6a0129549daa330e.tar.gz
linux-stable-eed6e57e9f3e2beac37563eb6a0129549daa330e.tar.bz2
linux-stable-eed6e57e9f3e2beac37563eb6a0129549daa330e.zip
soc: qcom: llcc: Fix dis_cap_alloc and retain_on_pc configuration
Commit c14e64b46944 ("soc: qcom: llcc: Support chipsets that can write to llcc") add the support for chipset where capacity based allocation and retention through power collapse can be programmed based on content of SCT table mentioned in the llcc driver where the target like sdm845 where the entire programming related to it is controlled in firmware. However, the commit introduces a bug where capacity/retention register get overwritten each time it gets programmed for each slice and that results in misconfiguration of the register based on SCT table and that is not expected behaviour instead it should be read modify write to retain the configuration of other slices. This issue is totally caught from code review and programming test and not through any power/perf numbers so, it is not known what impact this could make if we don't have this change however, this feature are for these targets and they should have been programmed accordingly as per their configuration mentioned in SCT table like others bits information. This change brings one difference where it keeps capacity/retention bits of the slices that are not mentioned in SCT table in unknown state where as earlier it was initialized to zero. Fixes: c14e64b46944 ("soc: qcom: llcc: Support chipsets that can write to llcc") Signed-off-by: Atul Dhudase <quic_adhudase@quicinc.com> Signed-off-by: Mukesh Ojha <quic_mojha@quicinc.com> Reviewed-by: Douglas Anderson <dianders@chromium.org> Link: https://lore.kernel.org/r/1701876771-10695-1-git-send-email-quic_mojha@quicinc.com Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Diffstat (limited to 'lib/crc32defs.h')
0 files changed, 0 insertions, 0 deletions