All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] SDM845 System Cache Driver
@ 2018-01-25 23:55 ` Channagoud Kadabi
  0 siblings, 0 replies; 40+ messages in thread
From: Channagoud Kadabi @ 2018-01-25 23:55 UTC (permalink / raw)
  To: linux-arm-kernel, linux-arm-msm
  Cc: linux-arm, linux-kernel, tsoni, sboyd, kyan, Channagoud Kadabi

This series implements system cache or LLCC(Last Level Cache Controller) driver
for SDM845 SOC. The purpose of the driver is to partition the system cache and
program the settings such as priortiy, lines to probe while doing a look up
in the system cache, low power related settings etc. The partitions are called
cache slices. Each cache slice is associated with size and SCID (System Cache ID)
The driver also provides API for clients to query the cache slice details,
activate and deactivate them.

System cache has other blocks for memory error detection and
AMON (Activity Monitor) for lock up detection.

Since the hardware block has multiple functional units the driver is implemented
to use syscon/regmap interface. The driver can be broadly classified into:

- Core driver: llcc-core.c: This driver initializes the syscon, does common
settings required to enable interrupts and error handling features.

- SOC specific driver: llcc-sdm845.c: Cache partitioning and cache slice
properties for usecases on sdm845 that need to use system cache.

- API : llcc-slice.c: Exports APIs to clients to query cache slice details,
activate and deactivate cache slices.

Channagoud Kadabi (2):
  dt-bindings: Documentation for qcom,llcc
  drivers: soc: Add LLCC driver

 .../devicetree/bindings/arm/msm/qcom,llcc.txt      |  93 +++++
 drivers/soc/qcom/Kconfig                           |  16 +
 drivers/soc/qcom/Makefile                          |   2 +
 drivers/soc/qcom/llcc-core.c                       | 120 ++++++
 drivers/soc/qcom/llcc-sdm845.c                     | 102 +++++
 drivers/soc/qcom/llcc-slice.c                      | 456 +++++++++++++++++++++
 include/linux/soc/qcom/llcc-qcom.h                 | 152 +++++++
 7 files changed, 941 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/arm/msm/qcom,llcc.txt
 create mode 100644 drivers/soc/qcom/llcc-core.c
 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

-- 
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,
a Linux Foundation Collaborative Project

^ permalink raw reply	[flat|nested] 40+ messages in thread
* [PATCH 0/2] SDM845 System Cache Driver
@ 2018-01-16 22:35 Channagoud Kadabi
  2018-01-16 22:35 ` [PATCH 2/2] drivers: soc: Add LLCC driver Channagoud Kadabi
  0 siblings, 1 reply; 40+ messages in thread
From: Channagoud Kadabi @ 2018-01-16 22:35 UTC (permalink / raw)
  To: linux-arm-msm
  Cc: linux-arm, linux-kernel, tsoni, sboyd, kyan, Channagoud Kadabi

This series implements system cache or LLCC(Last Level Cache Controller) driver
for SDM845 SOC. The purpose of the driver is to partition the system cache and
program the settings such as priortiy, lines to probe while doing a look up
in the system cache, low power related settings etc. The partitions are called
cache slices. Each cache slice is associated with size and SCID (System Cache ID)
The driver also provides API for clients to query the cache slice details,
activate and deactivate them.

System cache has other blocks for memory error detection and
AMON (Activity Monitor) for lock up detection.

Since the hardware block has multiple functional units the driver is implemented
to use syscon/regmap interface. The driver can be broadly classified into:

- Core driver: llcc-core.c: This driver initializes the syscon, does common
settings required to enable interrupts and error handling features.

- SOC specific driver: llcc-sdm845.c: Cache partitioning and cache slice
properties for usecases on sdm845 that need to use system cache.

- API : llcc-slice.c: Exports APIs to clients to query cache slice details,
activate and deactivate cache slices.

Channagoud Kadabi (2):
  dt-bindings: Documentation for qcom,llcc
  drivers: soc: Add LLCC driver

 .../devicetree/bindings/arm/msm/qcom,llcc.txt      |  93 +++++
 drivers/soc/qcom/Kconfig                           |  16 +
 drivers/soc/qcom/Makefile                          |   2 +
 drivers/soc/qcom/llcc-core.c                       | 120 ++++++
 drivers/soc/qcom/llcc-sdm845.c                     | 102 +++++
 drivers/soc/qcom/llcc-slice.c                      | 456 +++++++++++++++++++++
 include/linux/soc/qcom/llcc-qcom.h                 | 152 +++++++
 7 files changed, 941 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/arm/msm/qcom,llcc.txt
 create mode 100644 drivers/soc/qcom/llcc-core.c
 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

-- 
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,
a Linux Foundation Collaborative Project

^ permalink raw reply	[flat|nested] 40+ messages in thread

end of thread, other threads:[~2018-03-23 23:57 UTC | newest]

Thread overview: 40+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-01-25 23:55 [PATCH 0/2] SDM845 System Cache Driver Channagoud Kadabi
2018-01-25 23:55 ` Channagoud Kadabi
2018-01-25 23:55 ` [PATCH 1/2] dt-bindings: Documentation for qcom,llcc Channagoud Kadabi
2018-01-25 23:55   ` Channagoud Kadabi
2018-02-01 10:44   ` Mark Rutland
2018-02-01 10:44     ` Mark Rutland
2018-02-01 20:39     ` Channa
2018-02-01 20:39       ` Channa
2018-02-02 11:05       ` Mark Rutland
2018-02-02 11:05         ` Mark Rutland
2018-02-06 19:56         ` Channa
2018-02-06 19:56           ` Channa
2018-02-06 19:56           ` Channa
2018-02-13 14:37           ` Mark Rutland
2018-02-13 14:37             ` Mark Rutland
2018-02-13 17:38             ` Channa
2018-02-13 17:38               ` Channa
2018-02-01 10:48   ` Mark Rutland
2018-02-01 10:48     ` Mark Rutland
2018-02-01 20:47     ` Channa
2018-02-01 20:47       ` Channa
2018-02-01 20:47       ` Channa
2018-02-02 11:08       ` Mark Rutland
2018-02-02 11:08         ` Mark Rutland
2018-02-08 16:52   ` Matt Sealey
2018-02-08 16:52     ` Matt Sealey
2018-02-09  0:24     ` Channa
2018-02-09  0:24       ` Channa
2018-02-13 14:33       ` Mark Rutland
2018-02-13 14:33         ` Mark Rutland
2018-01-25 23:55 ` [PATCH 2/2] drivers: soc: Add LLCC driver Channagoud Kadabi
2018-01-25 23:55   ` Channagoud Kadabi
2018-03-19 14:55   ` Jordan Crouse
2018-03-19 14:55     ` Jordan Crouse
2018-03-23 23:57     ` Channa
2018-03-23 23:57       ` Channa
  -- strict thread matches above, loose matches on Subject: below --
2018-01-16 22:35 [PATCH 0/2] SDM845 System Cache Driver Channagoud Kadabi
2018-01-16 22:35 ` [PATCH 2/2] drivers: soc: Add LLCC driver Channagoud Kadabi
2018-01-25 23:39   ` Trilok Soni
2018-01-30  1:57   ` kbuild test robot
2018-01-30  1:57     ` kbuild test robot

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.