Re: [PATCH 0/2] cacheinfo: allow using OF style matchine for cache devices

From: Dmitry Baryshkov
Date: Wed Jan 03 2024 - 20:27:03 EST


On Sun, 31 Dec 2023 at 19:30, Dmitry Baryshkov
<dmitry.baryshkov@xxxxxxxxxx> wrote:
>
> On Qualcomm Krait (APQ8064, MSM8960, MSM8974, APQ8084) platforms L2
> cache frequency should follow CPU cache frequencies. It is logical to
> put the correponding OPP table into the L2 device node and then add
> simple devfreq driver that aggregates CPU votes and sets the clock
> accordingly.
>
> In [1] Rob suggested reusing existing cache devices for
> platform-specific cache drivers. This series implements that suggestion.
>
> This is posted as an RFC. If this implementation is found to be
> acceptable, corresponding L2 cache driver will be included in the next
> revision.

I'd like to recall this series for now. It doesn't work as expected.

>
> [1] https://lore.kernel.org/linux-arm-msm/20231011154935.GA785564-robh@xxxxxxxxxx/
>
> Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@xxxxxxxxxx>
> ---
> Dmitry Baryshkov (2):
> cpu: allow matching cpu_subsys devices against OF nodes
> cacheinfo: pass of_node to cpu_device_create()

--
With best wishes
Dmitry