lkml.org 
[lkml]   [2018]   [Jan]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH 7/8] DT/arm,gic-v3: add resend-mapc-on-resume property
Date
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@chromium.org>
---
.../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:
Optional:
- 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";
msi-controller;
+ resend-mapc-on-resume;
reg = <0x0 0xfee20000 0x0 0x20000>;
};

--
2.16.0.rc1.238.g530d649a79-goog
\
 
 \ /
  Last update: 2018-01-14 23:26    [W:0.090 / U:0.116 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site