[v1 PATCH 2/2] Add Documentation regarding the ima-kexec-buffer node in the chosen node documentation
Rob Herring
robh at kernel.org
Wed Jun 17 20:43:24 UTC 2020
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 <prsriva at linux.microsoft.com>
> ---
> 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.
>
> 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
More information about the Linux-security-module-archive
mailing list