of: document /sys/firmware/fdt
PATCH 1/1 of: document /sys/firmware/fdt
From: Frank Rowand <frank.rowand-7U/[email protected]>
Add ABI documentation for /sys/firmware/fdt
Update contact for /sys/firmware/devicetree/* to include mail list
--- Documentation/ABI/testing/sysfs-firmware-ofw | 27 ++++++++++++++++++++++++++- 1 file changed, 26 insertions(+), 1 deletion(-)
Documentation/ABI/testing/sysfs-firmware-ofw +26 -1
@@ -1,6 +1,6 @@ What: /sys/firmware/devicetree/* Date: November 2013 -Contact: Grant Likely <[email protected]> +Contact: Grant Likely <[email protected]>, [email protected] Description: When using OpenFirmware or a Flattened Device Tree to enumerate hardware, the device tree structure will be exposed in this
@@ -26,3 +26,28 @@ Description: name plus address). Properties are represented as files in the directory. The contents of each file is the exact binary data from the device tree. + +What: /sys/firmware/fdt +Date: February 2015 +KernelVersion: 3.19 +Contact: Frank Rowand <frank.rowand-7U/[email protected]>, [email protected] +Description: + Exports the FDT blob that was passed to the kernel by + the bootloader. This allows userland applications such + as kexec to access the raw binary. This blob is also + useful when debugging since it contains any changes + made to the blob by the bootloader. + + The fact that this node does not reside under + /sys/firmware/device-tree is deliberate: FDT is also used + on arm64 UEFI/ACPI systems to communicate just the UEFI + and ACPI entry points, but the FDT is never unflattened + and used to configure the system. + + A CRC32 checksum is calculated over the entire FDT + blob, and verified at late_initcall time. The sysfs + entry is instantiated only if the checksum is valid, + i.e., if the FDT blob has not been modified in the mean + time. Otherwise, a warning is printed. +Users: kexec, debugging +
Signature · 6 lines
Frank Rowand <frank.rowand-7U/[email protected]> -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
[Adding Ard, as he added /sys/firmware/fdt]
Quoted 7 lines · On Tue, Jun 13, 2017 at 09:20:07PM -0700…
From: Frank Rowand <frank.rowand-7U/[email protected]>
Add ABI documentation for
/sys/firmware/fdtUpdate contact for
/sys/firmware/devicetree/*to include mail listSigned-off-by Frank Rowand <frank.rowand-7U/[email protected]>
FWIW:
Mark.
Quoted 48 lines
--- Documentation/ABI/testing/sysfs-firmware-ofw | 27 ++++++++++++++++++++++++++- 1 file changed, 26 insertions(+), 1 deletion(-)Documentation/ABI/testing/sysfs-firmware-ofw +26
-2@@ -1,6 +1,6 @@ What: /sys/firmware/devicetree/* Date: November 2013 -Contact: Grant Likely <[email protected]> +Contact: Grant Likely <[email protected]>, [email protected] Description: When using OpenFirmware or a Flattened Device Tree to enumerate hardware, the device tree structure will be exposed in this@@ -26,3 +26,28 @@ Description: name plus address). Properties are represented as files in the directory. The contents of each file is the exact binary data from the device tree. + +What: /sys/firmware/fdt +Date: February 2015 +KernelVersion: 3.19 +Contact: Frank Rowand <frank.rowand-7U/[email protected]>, [email protected] +Description: + Exports the FDT blob that was passed to the kernel by + the bootloader. This allows userland applications such + as kexec to access the raw binary. This blob is also + useful when debugging since it contains any changes + made to the blob by the bootloader. + + The fact that this node does not reside under + /sys/firmware/device-tree is deliberate: FDT is also used + on arm64 UEFI/ACPI systems to communicate just the UEFI + and ACPI entry points, but the FDT is never unflattened + and used to configure the system. + + A CRC32 checksum is calculated over the entire FDT + blob, and verified at late_initcall time. The sysfs + entry is instantiated only if the checksum is valid, + i.e., if the FDT blob has not been modified in the mean + time. Otherwise, a warning is printed. +Users: kexec, debugging + --Frank Rowand <frank.rowand-7U/[email protected]>
Quoted 4 lines
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Thank you. --
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Ard Biesheuvel
Reviewed-byQuoted 2 lines · Mark Rutland
[Adding Ard, as he added
/sys/firmware/fdt]
Thanks
Quoted 5 lines · On Tue, Jun 13, 2017 at 09:20:07PM -0700, [email protected] wrote:
Quoted 4 lines
From: Frank Rowand <[email protected]>
Add ABI documentation for
/sys/firmware/fdt
Quoted 8 lines
Quoted 3 lines
Update contact for
/sys/firmware/devicetree/*to include mail listSigned-off-by Frank Rowand <[email protected]>FWIW:
Acked-by Mark Rutland <[email protected]>
Quoted 53 lines
Quoted 48 lines
--- Documentation/ABI/testing/sysfs-firmware-ofw | 27 ++++++++++++++++++++++++++- 1 file changed, 26 insertions(+), 1 deletion(-)Documentation/ABI/testing/sysfs-firmware-ofw +26
-2@@ -1,6 +1,6 @@ What: /sys/firmware/devicetree/* Date: November 2013 -Contact: Grant Likely <[email protected]> +Contact: Grant Likely <[email protected]>, [email protected] Description: When using OpenFirmware or a Flattened Device Tree to enumerate hardware, the device tree structure will be exposed in this@@ -26,3 +26,28 @@ Description: name plus address). Properties are represented as files in the directory. The contents of each file is the exact binary data from the device tree. + +What: /sys/firmware/fdt +Date: February 2015 +KernelVersion: 3.19 +Contact: Frank Rowand <[email protected]>, [email protected] +Description: + Exports the FDT blob that was passed to the kernel by + the bootloader. This allows userland applications such + as kexec to access the raw binary. This blob is also + useful when debugging since it contains any changes + made to the blob by the bootloader. + + The fact that this node does not reside under + /sys/firmware/device-tree is deliberate: FDT is also used + on arm64 UEFI/ACPI systems to communicate just the UEFI + and ACPI entry points, but the FDT is never unflattened + and used to configure the system. + + A CRC32 checksum is calculated over the entire FDT + blob, and verified at late_initcall time. The sysfs + entry is instantiated only if the checksum is valid, + i.e., if the FDT blob has not been modified in the mean + time. Otherwise, a warning is printed. +Users: kexec, debugging + --Frank Rowand <[email protected]>
Quoted 4 lines
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.htmlIMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Thank you.
Rob Herring
maintainerQuoted 16 lines · On Tue, Jun 13, 2017 at 09:20:07PM -0700…
From: Frank Rowand <frank.rowand-7U/[email protected]>
Add ABI documentation for
/sys/firmware/fdtUpdate contact for
/sys/firmware/devicetree/*to include mail listSigned-off-by Frank Rowand <frank.rowand-7U/[email protected]>--- Documentation/ABI/testing/sysfs-firmware-ofw | 27 ++++++++++++++++++++++++++- 1 file changed, 26 insertions(+), 1 deletion(-)Documentation/ABI/testing/sysfs-firmware-ofw +0
-0
Documentation/ABI/testing/sysfs-firmware-ofw line 3
Quoted 4 lines
Documentation/ABI/testing/sysfs-firmware-ofw +1
-1@@ -1,6 +1,6 @@ What: /sys/firmware/devicetree/* Date: November 2013 -Contact: Grant Likely <[email protected]> +Contact: Grant Likely <[email protected]>, [email protected]
Grant's email is not valid either. I would just drop it unless he wants his secretlab.ca email.
Rob
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
Rob Herring
maintainerMeant to add Grant.
Quoted 25 lines · Rob Herring
Quoted 16 lines · On Tue, Jun 13, 2017 at 09:20:07PM -0700…
From: Frank Rowand <frank.rowand-7U/[email protected]>
Add ABI documentation for
/sys/firmware/fdtUpdate contact for
/sys/firmware/devicetree/*to include mail listSigned-off-by Frank Rowand <frank.rowand-7U/[email protected]>--- Documentation/ABI/testing/sysfs-firmware-ofw | 27 ++++++++++++++++++++++++++- 1 file changed, 26 insertions(+), 1 deletion(-)Documentation/ABI/testing/sysfs-firmware-ofw +0
-0Documentation/ABI/testing/sysfs-firmware-ofw line 3
Quoted 4 lines
Documentation/ABI/testing/sysfs-firmware-ofw +1
-1@@ -1,6 +1,6 @@ What: /sys/firmware/devicetree/* Date: November 2013 -Contact: Grant Likely <[email protected]> +Contact: Grant Likely <[email protected]>, [email protected]Grant's email is not valid either. I would just drop it unless he wants his secretlab.ca email.
Quoted 1 line
Rob
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
Quoted 30 lines · Rob Herring
Meant to add Grant.
Quoted 26 lines · Rob Herring
Quoted 16 lines · On Tue, Jun 13, 2017 at 09:20:07PM -0700, [email protected] wrote:
From: Frank Rowand <[email protected]>
Add ABI documentation for
/sys/firmware/fdtUpdate contact for
/sys/firmware/devicetree/*to include mail listSigned-off-by Frank Rowand <[email protected]>--- Documentation/ABI/testing/sysfs-firmware-ofw | 27 ++++++++++++++++++++++++++- 1 file changed, 26 insertions(+), 1 deletion(-)Documentation/ABI/testing/sysfs-firmware-ofw +0
-0Documentation/ABI/testing/sysfs-firmware-ofw line 3
Quoted 4 lines
Documentation/ABI/testing/sysfs-firmware-ofw +1
-1@@ -1,6 +1,6 @@ What: /sys/firmware/devicetree/* Date: November 2013 -Contact: Grant Likely <[email protected]> +Contact: Grant Likely <[email protected]>, [email protected]Grant's email is not valid either. I would just drop it unless he wants his secretlab.ca email.
Rob
No response from Grant, so I'll drop his email and add the mail list.
Also, for the newly added section I'll change the contact from being both me and the mail list to just be the mail list.
-Frank
I'm slowly getting back into things and plan to actively participate. Please use my ARM address:
g.
Quoted 32 lines · Frank Rowand
Quoted 30 lines · Rob Herring
Meant to add Grant.
Quoted 26 lines · Rob Herring
Quoted 16 lines · On Tue, Jun 13, 2017 at 09:20:07PM -0700…
From: Frank Rowand <frank.rowand-7U/[email protected]>
Add ABI documentation for
/sys/firmware/fdtUpdate contact for
/sys/firmware/devicetree/*to include mail listSigned-off-by Frank Rowand <frank.rowand-7U/[email protected]>--- Documentation/ABI/testing/sysfs-firmware-ofw | 27 ++++++++++++++++++++++++++- 1 file changed, 26 insertions(+), 1 deletion(-)Documentation/ABI/testing/sysfs-firmware-ofw +0
-0Documentation/ABI/testing/sysfs-firmware-ofw line 3
Quoted 4 lines
Documentation/ABI/testing/sysfs-firmware-ofw +1
-1@@ -1,6 +1,6 @@ What: /sys/firmware/devicetree/* Date: November 2013 -Contact: Grant Likely <[email protected]> +Contact: Grant Likely <[email protected]>, [email protected]Grant's email is not valid either. I would just drop it unless he wants his secretlab.ca email.
Rob
Quoted 6 lines
No response from Grant, so I'll drop his email and add the mail list.
Also, for the newly added section I'll change the contact from being both me and the mail list to just be the mail list.
-Frank
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
Quoted 4 lines · Grant Likely
I'm slowly getting back into things and plan to actively participate. Please use my ARM address:
OK, I'll do that.
-Frank
Quoted 43 lines
g.
Quoted 38 lines · Frank Rowand
Quoted 30 lines · Rob Herring
Meant to add Grant.
Quoted 26 lines · Rob Herring
Quoted 16 lines · On Tue, Jun 13, 2017 at 09:20:07PM -0700…
From: Frank Rowand <frank.rowand-7U/[email protected]>
Add ABI documentation for
/sys/firmware/fdtUpdate contact for
/sys/firmware/devicetree/*to include mail listSigned-off-by Frank Rowand <frank.rowand-7U/[email protected]>--- Documentation/ABI/testing/sysfs-firmware-ofw | 27 ++++++++++++++++++++++++++- 1 file changed, 26 insertions(+), 1 deletion(-)Documentation/ABI/testing/sysfs-firmware-ofw +0
-0Documentation/ABI/testing/sysfs-firmware-ofw line 3
Quoted 4 lines
Documentation/ABI/testing/sysfs-firmware-ofw +1
-1@@ -1,6 +1,6 @@ What: /sys/firmware/devicetree/* Date: November 2013 -Contact: Grant Likely <[email protected]> +Contact: Grant Likely <[email protected]>, [email protected]Grant's email is not valid either. I would just drop it unless he wants his secretlab.ca email.
Rob
No response from Grant, so I'll drop his email and add the mail list.
Also, for the newly added section I'll change the contact from being both me and the mail list to just be the mail list.
-Frank
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
Quoted 7 lines · On Wed, Jun 14, 2017 at 5:20 AM, <[email protected]…
From: Frank Rowand <frank.rowand-7U/[email protected]>
Add ABI documentation for
/sys/firmware/fdtUpdate contact for
/sys/firmware/devicetree/*to include mail listSigned-off-by Frank Rowand <frank.rowand-7U/[email protected]>
(Apologies for acking from a different address. My ARM email isn't yet set up to play nice on mailing lists.)
g.
Quoted 46 lines
--- Documentation/ABI/testing/sysfs-firmware-ofw | 27 ++++++++++++++++++++++++++- 1 file changed, 26 insertions(+), 1 deletion(-)Documentation/ABI/testing/sysfs-firmware-ofw +26
-2@@ -1,6 +1,6 @@ What: /sys/firmware/devicetree/* Date: November 2013 -Contact: Grant Likely <[email protected]> +Contact: Grant Likely <[email protected]>, [email protected] Description: When using OpenFirmware or a Flattened Device Tree to enumerate hardware, the device tree structure will be exposed in this@@ -26,3 +26,28 @@ Description: name plus address). Properties are represented as files in the directory. The contents of each file is the exact binary data from the device tree. + +What: /sys/firmware/fdt +Date: February 2015 +KernelVersion: 3.19 +Contact: Frank Rowand <frank.rowand-7U/[email protected]>, [email protected] +Description: + Exports the FDT blob that was passed to the kernel by + the bootloader. This allows userland applications such + as kexec to access the raw binary. This blob is also + useful when debugging since it contains any changes + made to the blob by the bootloader. + + The fact that this node does not reside under + /sys/firmware/device-tree is deliberate: FDT is also used + on arm64 UEFI/ACPI systems to communicate just the UEFI + and ACPI entry points, but the FDT is never unflattened + and used to configure the system. + + A CRC32 checksum is calculated over the entire FDT + blob, and verified at late_initcall time. The sysfs + entry is instantiated only if the checksum is valid, + i.e., if the FDT blob has not been modified in the mean + time. Otherwise, a warning is printed. +Users: kexec, debugging + --
Quoted 2 lines
Frank Rowand <frank.rowand-7U/[email protected]>
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html