projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
76ee15a
)
soc: qcom: llcc: Add support for 16 ways of allocation
author
Huang Yiwei
<hyiwei@codeaurora.org>
Fri, 28 Jan 2022 07:47:08 +0000
(13:17 +0530)
committer
Bjorn Andersson
<bjorn.andersson@linaro.org>
Fri, 11 Feb 2022 00:29:33 +0000
(18:29 -0600)
Add support for 16 ways of allocation for LLCC HW version 2.1.0
and later.
Signed-off-by: Huang Yiwei <hyiwei@codeaurora.org>
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/a7a5f64259c2c02628f03fb59b91e9fa78da2dfb.1643355594.git.quic_saipraka@quicinc.com
drivers/soc/qcom/llcc-qcom.c
patch
|
blob
|
history
diff --git
a/drivers/soc/qcom/llcc-qcom.c
b/drivers/soc/qcom/llcc-qcom.c
index
00274a9
..
c45146c
100644
(file)
--- a/
drivers/soc/qcom/llcc-qcom.c
+++ b/
drivers/soc/qcom/llcc-qcom.c
@@
-29,8
+29,8
@@
#define ATTR1_FIXED_SIZE_SHIFT 0x03
#define ATTR1_PRIORITY_SHIFT 0x04
#define ATTR1_MAX_CAP_SHIFT 0x10
-#define ATTR0_RES_WAYS_MASK GENMASK(1
1
, 0)
-#define ATTR0_BONUS_WAYS_MASK GENMASK(
27
, 16)
+#define ATTR0_RES_WAYS_MASK GENMASK(1
5
, 0)
+#define ATTR0_BONUS_WAYS_MASK GENMASK(
31
, 16)
#define ATTR0_BONUS_WAYS_SHIFT 0x10
#define LLCC_STATUS_READ_DELAY 100