[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20231231-cpu-cacheinfo-of-v1-0-cd3584d2c7b4@linaro.org>
Date: Sun, 31 Dec 2023 19:30:55 +0200
From: Dmitry Baryshkov <dmitry.baryshkov@...aro.org>
To: Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
"Rafael J. Wysocki" <rafael@...nel.org>,
Thomas Gleixner <tglx@...utronix.de>, Peter Zijlstra <peterz@...radead.org>,
Rob Herring <robh@...nel.org>
Cc: linux-kernel@...r.kernel.org, linux-arm-msm@...r.kernel.org,
Dmitry Baryshkov <dmitry.baryshkov@...aro.org>
Subject: [PATCH 0/2] cacheinfo: allow using OF style matchine for cache
devices
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.
[1] https://lore.kernel.org/linux-arm-msm/20231011154935.GA785564-robh@kernel.org/
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@...aro.org>
---
Dmitry Baryshkov (2):
cpu: allow matching cpu_subsys devices against OF nodes
cacheinfo: pass of_node to cpu_device_create()
drivers/base/cacheinfo.c | 16 ++++++++++++++--
drivers/base/cpu.c | 15 ++++++++++++---
include/linux/cacheinfo.h | 2 ++
include/linux/cpu.h | 3 ++-
4 files changed, 30 insertions(+), 6 deletions(-)
---
base-commit: 39676dfe52331dba909c617f213fdb21015c8d10
change-id: 20231231-cpu-cacheinfo-of-c4f14013bf31
Best regards,
--
Dmitry Baryshkov <dmitry.baryshkov@...aro.org>
Powered by blists - more mailing lists