Web lists-archives.com

[PATCH 7/8] DT/arm,gic-v3: add resend-mapc-on-resume property

This boolean property for the GIC-V3-ITS enables resending the MAP
COLLECTIONS commands when restoring the GIC on resume.

Change-Id: I03ab8689dace109851a4d2be3abf5fbafb090d27
Signed-off-by: Derek Basehore <dbasehore@xxxxxxxxxxxx>
 .../devicetree/bindings/interrupt-controller/arm,gic-v3.txt        | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/Documentation/devicetree/bindings/interrupt-controller/arm,gic-v3.txt b/Documentation/devicetree/bindings/interrupt-controller/arm,gic-v3.txt
index 820556a8ffd2..1f0d691df9b3 100644
--- a/Documentation/devicetree/bindings/interrupt-controller/arm,gic-v3.txt
+++ b/Documentation/devicetree/bindings/interrupt-controller/arm,gic-v3.txt
@@ -82,6 +82,12 @@ These nodes must have the following properties:
 - socionext,synquacer-pre-its: (u32, u32) tuple describing the untranslated
   address and size of the pre-ITS window.
+- resend-mapc-on-resume : Bool property. If the collections for the ITS
+  are stored in the ITS instead of external memory, the state will be
+  lost if the GIC loses power. Setting this enables the kernel to
+  reset the collections state on resume for this ITS node. The state
+  will only be reset if the save-suspend-state boolean is set for the
+  gic.
 The main GIC node must contain the appropriate #address-cells,
 #size-cells and ranges properties for the reg property of all ITS
@@ -129,6 +135,7 @@ Examples:
 		its: interrupt-controller@fee20000 {
 			compatible = "arm,gic-v3-its";
+			resend-mapc-on-resume;
 			reg = <0x0 0xfee20000 0x0 0x20000>;