Re: [PATCH v10 09/13] drivers: devfreq: events: add Exynos PPMU new events

From: Chanwoo Choi
Date: Sat Jun 22 2019 - 09:10:53 EST


Hi,

2019ë 6ì 14ì (ê) ìí 6:54, Lukasz Luba <l.luba@xxxxxxxxxxxxxxxxxxx>ëì ìì:
>
> Define new performance events supported by Exynos5422 SoC counters.
> The counters are built-in in Dynamic Memory Controller and provide
> information regarding memory utilization.
>
> Signed-off-by: Lukasz Luba <l.luba@xxxxxxxxxxxxxxxxxxx>
> ---
> drivers/devfreq/event/exynos-ppmu.c | 6 ++++++
> 1 file changed, 6 insertions(+)
>
> diff --git a/drivers/devfreq/event/exynos-ppmu.c b/drivers/devfreq/event/exynos-ppmu.c
> index c2ea94957501..ce658c262c27 100644
> --- a/drivers/devfreq/event/exynos-ppmu.c
> +++ b/drivers/devfreq/event/exynos-ppmu.c
> @@ -89,6 +89,12 @@ static struct __exynos_ppmu_events {
> PPMU_EVENT(d1-cpu),
> PPMU_EVENT(d1-general),
> PPMU_EVENT(d1-rt),
> +
> + /* For Exynos5422 SoC */
> + PPMU_EVENT(dmc0_0),
> + PPMU_EVENT(dmc0_1),
> + PPMU_EVENT(dmc1_0),
> + PPMU_EVENT(dmc1_1),
> };
>
> static int exynos_ppmu_find_ppmu_id(struct devfreq_event_dev *edev)
> --
> 2.17.1
>

Acked-by: Chanwoo Choi <cw00.choi@xxxxxxxxxxx>

--
Best Regards,
Chanwoo Choi