Re: [PATCH v7 2/2] drivers: soc: Add LLCC driver
From: Evan Green <hidden>
Date: 2018-05-17 22:31:36
Also in:
linux-arm-kernel, linux-arm-msm, lkml
From: Evan Green <hidden>
Date: 2018-05-17 22:31:36
Also in:
linux-arm-kernel, linux-arm-msm, lkml
On Wed, May 16, 2018 at 10:44 AM Rishabh Bhatnagar [off-list ref] wrote:
LLCC (Last Level Cache Controller) provides additional cache memory in the system. LLCC is partitioned into multiple slices and each slice gets its own priority, size, ID and other config parameters. LLCC driver programs these parameters for each slice. Clients that are assigned to use LLCC need to get information such size & ID of the slice they get and activate or deactivate the slice as needed. LLCC driver provides API for the clients to perform these operations.
Signed-off-by: Channagoud Kadabi <redacted> Signed-off-by: Rishabh Bhatnagar <redacted> --- drivers/soc/qcom/Kconfig | 17 ++ drivers/soc/qcom/Makefile | 2 + drivers/soc/qcom/llcc-sdm845.c | 106 ++++++++++++ drivers/soc/qcom/llcc-slice.c | 337
+++++++++++++++++++++++++++++++++++++
include/linux/soc/qcom/llcc-qcom.h | 180 ++++++++++++++++++++ 5 files changed, 642 insertions(+) create mode 100644 drivers/soc/qcom/llcc-sdm845.c create mode 100644 drivers/soc/qcom/llcc-slice.c create mode 100644 include/linux/soc/qcom/llcc-qcom.h
Thanks Rishabh. Reviewed-by: Evan Green <redacted>