Thread (7 messages) 7 messages, 4 authors, 2020-06-17

Re: [v1 PATCH 2/2] Add Documentation regarding the ima-kexec-buffer node in the chosen node documentation

From: Rob Herring <robh@kernel.org>
Date: 2020-06-17 20:43:30
Also in: linux-arm-kernel, linux-devicetree, linux-integrity, linuxppc-dev, lkml

On Sun, Jun 07, 2020 at 04:33:23PM -0700, Prakhar Srivastava wrote:
Add Documentation regarding the ima-kexec-buffer node in
 the chosen node documentation
Run 'git log --oneline Documentation/devicetree/bindings/chosen.txt' and 
write $subject using the dominate format used.

For the commit message, answer why you need the change, not what the 
change is. I can read the diff for that.
 
Signed-off-by: Prakhar Srivastava <redacted>
---
 Documentation/devicetree/bindings/chosen.txt | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)
This file has moved to a schema here[1]. You need to update it.
quoted hunk ↗ jump to hunk
diff --git a/Documentation/devicetree/bindings/chosen.txt b/Documentation/devicetree/bindings/chosen.txt
index 45e79172a646..a15f70c007ef 100644
--- a/Documentation/devicetree/bindings/chosen.txt
+++ b/Documentation/devicetree/bindings/chosen.txt
@@ -135,3 +135,20 @@ e.g.
 		linux,initrd-end = <0x82800000>;
 	};
 };
+
+linux,ima-kexec-buffer
+----------------------
+
+This property(currently used by powerpc, arm64) holds the memory range,
+the address and the size, of the IMA measurement logs that are being carried
+over to the kexec session.
What's IMA? 
+
+/ {
+	chosen {
+		linux,ima-kexec-buffer = <0x9 0x82000000 0x0 0x00008000>;
+	};
+};
+
+This porperty does not represent real hardware, but the memory allocated for
typo
+carrying the IMA measurement logs. The address and the suze are expressed in
typo
+#address-cells and #size-cells, respectively of the root node.
-- 
2.25.1

[1] https://github.com/devicetree-org/dt-schema/blob/master/schemas/chosen.yaml
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help