]> 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)
commitc48d6cd19fe724b77f53e2080474f3a30b93f083
treee8f9aa7f9518533c3c8a2d337092697a2c7bfa38
parent9b842ed7209c837831144970a8bb4bf5cd7c899b
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]