Re: [PATCH 2/4] soc: qcom: icc-bwmon: add support for sc7280 LLCC BWMON
From: Krzysztof Kozlowski
Date: Thu Sep 01 2022 - 11:28:15 EST
On 01/09/2022 15:47, Rajendra Nayak wrote:
> Add support for sc7280 BWMON instance measuring traffic between LLCC and
> memory with the v5 register layout.
>
> Signed-off-by: Rajendra Nayak <quic_rjendra@xxxxxxxxxxx>
> ---
> drivers/soc/qcom/icc-bwmon.c | 15 +++++++++++++++
> 1 file changed, 15 insertions(+)
>
> diff --git a/drivers/soc/qcom/icc-bwmon.c b/drivers/soc/qcom/icc-bwmon.c
> index 47c2c3e7bb3f..44a10009b45e 100644
> --- a/drivers/soc/qcom/icc-bwmon.c
> +++ b/drivers/soc/qcom/icc-bwmon.c
> @@ -656,6 +656,18 @@ static const struct icc_bwmon_data sdm845_llcc_bwmon_data = {
> .regmap_cfg = &sdm845_llcc_bwmon_regmap_cfg,
> };
>
> +static const struct icc_bwmon_data sc7280_llcc_bwmon_data = {
> + .sample_ms = 4,
> + .count_unit_kb = 64,
This makes me wonder if I put correct count unit for SDM845 LLCC...
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@xxxxxxxxxx>
Best regards,
Krzysztof