Re: [PATCH v2 1/2] of/fdt: export fdt blob as /sys/firmware/fdt

2014-11-12 Thread Suzuki K. Poulose
On 10/11/14 18:47, Ard Biesheuvel wrote: Create a new /sys entry '/sys/firmware/fdt' to export the FDT blob that was passed to the kernel by the bootloader. This allows userland applications such as kexec to access the raw binary. The blob needs to be preserved as early as possible by calling

Re: [PATCH v2 1/2] of/fdt: export fdt blob as /sys/firmware/fdt

2014-11-12 Thread Grant Likely
On Tue, Nov 11, 2014 at 8:34 PM, Ard Biesheuvel ard.biesheu...@linaro.org wrote: On 11 November 2014 21:08, Grant Likely grant.lik...@linaro.org wrote: On Tue, Nov 11, 2014 at 4:25 PM, Rob Herring robherri...@gmail.com wrote: On Tue, Nov 11, 2014 at 8:42 AM, Grant Likely grant.lik...@linaro.org

Re: [PATCH v2 1/2] of/fdt: export fdt blob as /sys/firmware/fdt

2014-11-12 Thread Ard Biesheuvel
On 12 November 2014 12:45, Grant Likely grant.lik...@linaro.org wrote: On Tue, Nov 11, 2014 at 8:34 PM, Ard Biesheuvel ard.biesheu...@linaro.org wrote: On 11 November 2014 21:08, Grant Likely grant.lik...@linaro.org wrote: On Tue, Nov 11, 2014 at 4:25 PM, Rob Herring robherri...@gmail.com

Re: [PATCH v2 1/2] of/fdt: export fdt blob as /sys/firmware/fdt

2014-11-12 Thread Grant Likely
On Wed, Nov 12, 2014 at 11:51 AM, Ard Biesheuvel ard.biesheu...@linaro.org wrote: On 12 November 2014 12:45, Grant Likely grant.lik...@linaro.org wrote: On Tue, Nov 11, 2014 at 8:34 PM, Ard Biesheuvel ard.biesheu...@linaro.org wrote: On 11 November 2014 21:08, Grant Likely

Re: [PATCH v2 1/2] of/fdt: export fdt blob as /sys/firmware/fdt

2014-11-12 Thread Ard Biesheuvel
On 12 November 2014 13:01, Grant Likely grant.lik...@linaro.org wrote: On Wed, Nov 12, 2014 at 11:51 AM, Ard Biesheuvel ard.biesheu...@linaro.org wrote: On 12 November 2014 12:45, Grant Likely grant.lik...@linaro.org wrote: On Tue, Nov 11, 2014 at 8:34 PM, Ard Biesheuvel

Re: [PATCH v2 1/2] of/fdt: export fdt blob as /sys/firmware/fdt

2014-11-12 Thread Grant Likely
On Wed, Nov 12, 2014 at 12:08 PM, Ard Biesheuvel ard.biesheu...@linaro.org wrote: On 12 November 2014 13:01, Grant Likely grant.lik...@linaro.org wrote: On Wed, Nov 12, 2014 at 11:51 AM, Ard Biesheuvel ard.biesheu...@linaro.org wrote: On 12 November 2014 12:45, Grant Likely

Re: [PATCH v2 1/2] of/fdt: export fdt blob as /sys/firmware/fdt

2014-11-11 Thread Grant Likely
On Mon, 10 Nov 2014 19:47:01 +0100 , Ard Biesheuvel ard.biesheu...@linaro.org wrote: Create a new /sys entry '/sys/firmware/fdt' to export the FDT blob that was passed to the kernel by the bootloader. This allows userland applications such as kexec to access the raw binary. The blob needs to

Re: [PATCH v2 1/2] of/fdt: export fdt blob as /sys/firmware/fdt

2014-11-11 Thread Ard Biesheuvel
On 11 November 2014 15:42, Grant Likely grant.lik...@linaro.org wrote: On Mon, 10 Nov 2014 19:47:01 +0100 , Ard Biesheuvel ard.biesheu...@linaro.org wrote: Create a new /sys entry '/sys/firmware/fdt' to export the FDT blob that was passed to the kernel by the bootloader. This allows userland

Re: [PATCH v2 1/2] of/fdt: export fdt blob as /sys/firmware/fdt

2014-11-11 Thread Rob Herring
On Tue, Nov 11, 2014 at 8:42 AM, Grant Likely grant.lik...@linaro.org wrote: On Mon, 10 Nov 2014 19:47:01 +0100 , Ard Biesheuvel ard.biesheu...@linaro.org wrote: Create a new /sys entry '/sys/firmware/fdt' to export the FDT blob that was passed to the kernel by the bootloader. This allows

Re: [PATCH v2 1/2] of/fdt: export fdt blob as /sys/firmware/fdt

2014-11-11 Thread Grant Likely
On Tue, Nov 11, 2014 at 4:25 PM, Rob Herring robherri...@gmail.com wrote: On Tue, Nov 11, 2014 at 8:42 AM, Grant Likely grant.lik...@linaro.org wrote: On Mon, 10 Nov 2014 19:47:01 +0100 , Ard Biesheuvel ard.biesheu...@linaro.org wrote: Create a new /sys entry '/sys/firmware/fdt' to export

Re: [PATCH v2 1/2] of/fdt: export fdt blob as /sys/firmware/fdt

2014-11-11 Thread Ard Biesheuvel
On 11 November 2014 21:08, Grant Likely grant.lik...@linaro.org wrote: On Tue, Nov 11, 2014 at 4:25 PM, Rob Herring robherri...@gmail.com wrote: On Tue, Nov 11, 2014 at 8:42 AM, Grant Likely grant.lik...@linaro.org wrote: On Mon, 10 Nov 2014 19:47:01 +0100 , Ard Biesheuvel

[PATCH v2 1/2] of/fdt: export fdt blob as /sys/firmware/fdt

2014-11-10 Thread Ard Biesheuvel
Create a new /sys entry '/sys/firmware/fdt' to export the FDT blob that was passed to the kernel by the bootloader. This allows userland applications such as kexec to access the raw binary. The blob needs to be preserved as early as possible by calling preserve_fdt(). The fact that this node does