diff options
author | Sai Prakash Ranjan <quic_saipraka@quicinc.com> | 2022-01-28 10:47:09 +0300 |
---|---|---|
committer | Bjorn Andersson <bjorn.andersson@linaro.org> | 2022-02-11 03:29:33 +0300 |
commit | 8008e7902f28eb9e5459b21d375b3e5b4090efff (patch) | |
tree | 93e98a497fc9c4b7c0b19a66e2654ba37aeafe00 /include/linux/bug.h | |
parent | 06b24ab364403094884b71234b44e17f746e5090 (diff) | |
download | linux-8008e7902f28eb9e5459b21d375b3e5b4090efff.tar.xz |
soc: qcom: llcc: Update the logic for version info extraction
LLCC HW version info is made up of major, branch, minor and echo
version bits each of which are 8bits. Several features in newer
LLCC HW are based on the full version rather than just major or
minor versions such as write-subcache enable which is applicable
for versions v2.0.0.0 and later, also upcoming write-subcache
cacheable for SM8450 SoC which is only present in versions v2.1.0.0
and later, so it makes it easier and cleaner to just directly
compare with the full version than adding additional major/branch/
minor/echo version checks. So remove the earlier major version check
and add full version check for those features.
Signed-off-by: Sai Prakash Ranjan <quic_saipraka@quicinc.com>
Tested-by: Vinod Koul <vkoul@kernel.org>
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Link: https://lore.kernel.org/r/a82d7c32348c51fcc2b63e220d91b318bf706c83.1643355594.git.quic_saipraka@quicinc.com
Diffstat (limited to 'include/linux/bug.h')
0 files changed, 0 insertions, 0 deletions