[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20230616063210.19063-1-eric.lin@sifive.com>
Date: Fri, 16 Jun 2023 14:32:07 +0800
From: Eric Lin <eric.lin@...ive.com>
To: conor@...nel.org, robh+dt@...nel.org,
krzysztof.kozlowski+dt@...aro.org, palmer@...belt.com,
paul.walmsley@...ive.com, aou@...s.berkeley.edu, maz@...nel.org,
chenhuacai@...nel.org, baolu.lu@...ux.intel.com, will@...nel.org,
kan.liang@...ux.intel.com, nnac123@...ux.ibm.com,
pierre.gondois@....com, huangguangbin2@...wei.com, jgross@...e.com,
chao.gao@...el.com, maobibo@...ngson.cn,
linux-riscv@...ts.infradead.org, devicetree@...r.kernel.org,
linux-kernel@...r.kernel.org, dslin1010@...il.com
Cc: Eric Lin <eric.lin@...ive.com>
Subject: [PATCH 0/3] Add SiFive Private L2 cache and PMU driver
This patch series adds the SiFive Private L2 cache controller
driver and Performance Monitoring Unit (PMU) driver.
The Private L2 cache communicates with both the upstream L1
caches and downstream L3 cache or memory, enabling a high-
performance cache subsystem. It is also responsible for managing
requests from the L1 instruction and data caches of the core.
The Private L2 Performance Monitoring Unit (PMU) consists of a
set of event-programmable counters and their event selector registers.
The registers are available to control the behavior of the counters.
Eric Lin (2):
soc: sifive: Add SiFive private L2 cache support
dt-bindings: riscv: sifive: Add SiFive Private L2 cache controller
Greentime Hu (1):
soc: sifive: Add SiFive private L2 cache PMU driver
.../bindings/riscv/sifive,pL2Cache0.yaml | 81 +++
drivers/soc/sifive/Kconfig | 17 +
drivers/soc/sifive/Makefile | 2 +
drivers/soc/sifive/sifive_pl2.h | 45 ++
drivers/soc/sifive/sifive_pl2_cache.c | 218 ++++++
drivers/soc/sifive/sifive_pl2_pmu.c | 669 ++++++++++++++++++
include/linux/cpuhotplug.h | 2 +
7 files changed, 1034 insertions(+)
create mode 100644 Documentation/devicetree/bindings/riscv/sifive,pL2Cache0.yaml
create mode 100644 drivers/soc/sifive/sifive_pl2.h
create mode 100644 drivers/soc/sifive/sifive_pl2_cache.c
create mode 100644 drivers/soc/sifive/sifive_pl2_pmu.c
--
2.40.1
Powered by blists - more mailing lists