Re: [PATCH v5.5] of/fdt: export fdt blob as /sys/firmware/fdt

2014-11-19 Thread Geoff Levand
Hi Ian, On Wed, 2014-11-19 at 13:09 +, Ian Campbell wrote: > On Tue, 2014-11-18 at 22:11 +, Grant Likely wrote: > > > > * It also helps with exposing the reserved map to userspace, but kexec > > > > has done without that feature for years, and it is in the process of > > > > being depr

Re: [PATCH 9/9] arm64: Add new cpu-return-addr device tree binding

2014-08-29 Thread Geoff Levand
Hi Catalin, On Wed, 2014-08-27 at 09:30 +0100, Catalin Marinas wrote: > On Fri, Aug 22, 2014 at 08:49:17PM +0100, Geoff Levand wrote: > > Add a new arm64 device tree binding cpu-return-addr. This binding is > > recomended > > for all ARM v8 CPUs that have an "enable

Re: [PATCH] of: Fix constantness of of_n_size_cells

2014-08-29 Thread Geoff Levand
Hi Grant, On Wed, 2014-08-27 at 11:28 +0100, Grant Likely wrote: > On Fri, 22 Aug 2014 17:43:36 +0000, Geoff Levand wrote: > > The of_n_size_cells() routine only does a read-only operation on the device > > tree > > passed in, so add the const keyword to

[PATCH 9/9] arm64: Add new cpu-return-addr device tree binding

2014-08-22 Thread Geoff Levand
Add a new arm64 device tree binding cpu-return-addr. This binding is recomended for all ARM v8 CPUs that have an "enable-method" property value of "spin-table". The value is a 64 bit physical address that secondary CPU execution will transfer to upon CPU shutdown. Signed-

[PATCH] of: Fix constantness of of_n_size_cells

2014-08-22 Thread Geoff Levand
The of_n_size_cells() routine only does a read-only operation on the device tree passed in, so add the const keyword to that argument so that of_n_size_cells() can be called with read-only data without casting. Signed-off-by: Geoff Levand --- The following changes since commit

[RFC] arm64: Add cpu-return-addr to dts files

2014-08-15 Thread Geoff Levand
Add entries for the new device tree property cpu-return-addr to the existing arm64 dts files. Signed-off-by: Geoff Levand --- Just FYI. arch/arm64/boot/dts/apm-storm.dtsi | 8 arch/arm64/boot/dts/foundation-v8.dts | 4 arch/arm64/boot/dts/rtsm_ve-aemv8a.dts | 4 3

[RFC] arm64: Add new cpu-return-addr device tree binding

2014-08-15 Thread Geoff Levand
Add a new device tree binding cpu-return-addr. This binding is required for all ARM v8 CPUs that have an "enable-method" property value of "spin-table". The value is a 64 bit read-only physical address that secondary CPU execution will transfer to upon CPU shutdown. Signed-

Re: [PATCH v5 4/8] arm64: add PSCI CPU_SUSPEND based cpu_suspend support

2014-06-25 Thread Geoff Levand
Hi Lorenzo, On Wed, 2014-06-25 at 15:10 +0100, Lorenzo Pieralisi wrote: > diff --git a/arch/arm64/kernel/psci.c b/arch/arm64/kernel/psci.c > + /* > + * This is belt-and-braces: make sure that if the idle > + * specified protocol is psci, the cpu_ops have been > + * initialized

Re: [PATCH v5 5/8] drivers: cpuidle: CPU idle ARM64 driver

2014-06-25 Thread Geoff Levand
Hi Lorenzo, On Wed, 2014-06-25 at 15:10 +0100, Lorenzo Pieralisi wrote: > This patch implements a generic CPU idle driver for ARM64 machines. ... > +typedef int (*suspend_init_fn)(struct cpuidle_driver *, > +struct device_node *[]); > + > +struct cpu_suspend_ops { > +