Message ID | 20230724084155.8682-1-quic_kbajaj@quicinc.com |
---|---|
Headers | show |
Series | soc: qcom: llcc: Add support for QDU1000/QRU1000 | expand |
On 7/24/2023 6:18 PM, Konrad Dybcio wrote: > On 24.07.2023 10:41, Komal Bajaj wrote: >> Updating macro name for LLCC_DRE to LLCC_ECC as per >> the latest specification. >> >> Signed-off-by: Komal Bajaj <quic_kbajaj@quicinc.com> >> --- > Nit: "updating" -> "update", as the action is complete. > > On top of that, please wrap your commit messages at +/- 72 characters, > not 50. Sure, will update the commit message. Thanks Komal > > Acked-by: Konrad Dybcio <konrad.dybcio@linaro.org> > > Konrad >> drivers/soc/qcom/llcc-qcom.c | 2 +- >> include/linux/soc/qcom/llcc-qcom.h | 2 +- >> 2 files changed, 2 insertions(+), 2 deletions(-) >> >> diff --git a/drivers/soc/qcom/llcc-qcom.c b/drivers/soc/qcom/llcc-qcom.c >> index 1d2b08dfecea..228ffb4a8971 100644 >> --- a/drivers/soc/qcom/llcc-qcom.c >> +++ b/drivers/soc/qcom/llcc-qcom.c >> @@ -193,7 +193,7 @@ static const struct llcc_slice_config sc8280xp_data[] = { >> { LLCC_MMUHWT, 13, 1024, 1, 1, 0xfff, 0x0, 0, 0, 0, 0, 1, 0 }, >> { LLCC_DISP, 16, 6144, 1, 1, 0xfff, 0x0, 0, 0, 0, 1, 0, 0 }, >> { LLCC_AUDHW, 22, 2048, 1, 1, 0xfff, 0x0, 0, 0, 0, 1, 0, 0 }, >> - { LLCC_DRE, 26, 1024, 1, 1, 0xfff, 0x0, 0, 0, 0, 1, 0, 0 }, >> + { LLCC_ECC, 26, 1024, 1, 1, 0xfff, 0x0, 0, 0, 0, 1, 0, 0 }, >> { LLCC_CVP, 28, 512, 3, 1, 0xfff, 0x0, 0, 0, 0, 1, 0, 0 }, >> { LLCC_APTCM, 30, 1024, 3, 1, 0x0, 0x1, 1, 0, 0, 1, 0, 0 }, >> { LLCC_WRCACHE, 31, 1024, 1, 1, 0xfff, 0x0, 0, 0, 0, 0, 1, 0 }, >> diff --git a/include/linux/soc/qcom/llcc-qcom.h b/include/linux/soc/qcom/llcc-qcom.h >> index 93417ba1ead4..1a886666bbb6 100644 >> --- a/include/linux/soc/qcom/llcc-qcom.h >> +++ b/include/linux/soc/qcom/llcc-qcom.h >> @@ -30,7 +30,7 @@ >> #define LLCC_NPU 23 >> #define LLCC_WLHW 24 >> #define LLCC_PIMEM 25 >> -#define LLCC_DRE 26 >> +#define LLCC_ECC 26 >> #define LLCC_CVP 28 >> #define LLCC_MODPE 29 >> #define LLCC_APTCM 30
On 7/24/2023 6:25 PM, Konrad Dybcio wrote: > On 24.07.2023 14:45, Mukesh Ojha wrote: >> >> On 7/24/2023 2:11 PM, Komal Bajaj wrote: >>> Add LLCC configuration data for QDU1000 and QRU1000 SoCs. >>> >>> Signed-off-by: Komal Bajaj <quic_kbajaj@quicinc.com> >>> --- > [...] > >>> static const struct qcom_sct_config sc7180_cfgs = { >>> .llcc_config = sc7180_cfg, >>> .num_cfgs = 1, >>> @@ -611,6 +672,11 @@ static const struct qcom_sct_config sm8550_cfgs = { >>> .num_cfgs = 1, >>> }; >>> +static const struct qcom_sct_config qdu1000_cfgs = { >>> + .llcc_config = qdu1000_cfg, >>> + .num_cfgs = 1, >> >> Should not this be 4 ? > Even better, use ARRAY_SIZE(name_of_arr) Yes, Thanks for suggesting it. -Komal > > Konrad