]> git.baikalelectronics.ru Git - kernel.git/commit
drivers: soc: Add LLCC driver
authorRishabh Bhatnagar <rishabhb@codeaurora.org>
Thu, 24 May 2018 00:35:21 +0000 (17:35 -0700)
committerAndy Gross <andy.gross@linaro.org>
Sat, 21 Jul 2018 18:31:35 +0000 (13:31 -0500)
commitc91e60c7a3805556a722366a771656d2825327f9
treee8f9aa7f9518533c3c8a2d337092697a2c7bfa38
parentd47d9a051ac830bc64716d2dfbe775f0155d2179
drivers: soc: Add LLCC driver

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 <ckadabi@codeaurora.org>
Signed-off-by: Rishabh Bhatnagar <rishabhb@codeaurora.org>
Reviewed-by: Evan Green <evgreen@chromium.org>
Reviewed-by: Rob Herring <robh@kernel.org>
Reviewed-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Signed-off-by: Andy Gross <andy.gross@linaro.org>
drivers/soc/qcom/Kconfig
drivers/soc/qcom/Makefile
drivers/soc/qcom/llcc-sdm845.c [new file with mode: 0644]
drivers/soc/qcom/llcc-slice.c [new file with mode: 0644]
include/linux/soc/qcom/llcc-qcom.h [new file with mode: 0644]