OSDN Git Service

ARM: dts: msm: Add qcom,dump-size entry for dumping CPU L1/L2 caches
authorPrasad Sodagudi <psodagud@codeaurora.org>
Tue, 28 Jul 2015 04:31:04 +0000 (10:01 +0530)
committerSrinivas Ramana <sramana@codeaurora.org>
Tue, 1 Nov 2016 12:32:29 +0000 (18:02 +0530)
Update arm cache documentation about qcom,dump-size to dump
the CPU L1/L2 caches in order to analyze data corruption.

Change-Id: Ia9350b9c7810db7eb900957b4ce5dac046ab5e0d
Signed-off-by: Abhimanyu Kapur <abhimany@codeaurora.org>
Signed-off-by: Patrick Daly <pdaly@codeaurora.org>
Signed-off-by: Prasad Sodagudi <psodagud@codeaurora.org>
Documentation/devicetree/bindings/arm/cache.txt

index b27cedf..a9594f0 100644 (file)
@@ -64,6 +64,14 @@ This document provides the device tree bindings for ARM architected caches.
                            bindings of power controller specified by the
                            phandle [5].
 
+       - qcom,dump-size
+               Usage: Optional
+               Value type: <integer>
+               Definition: The memory size needed to contain a copy of the
+                           cache data and associated tag ram.
+                           size = nways * nsets * (bytes per cache line +
+                                                   bytes tag ram per line)
+
 Example(dual-cluster big.LITTLE system 32-bit)
 
        cpus {