Re: [RFC PATCH 3/5] arm64: introduce CPU_OF_TABLES for cpu ops selection

2015-04-14 Thread Mark Rutland
On Thu, Apr 09, 2015 at 10:17:06PM +0100, Arnd Bergmann wrote: > On Thursday 09 April 2015 12:37:09 Kumar Gala wrote: > > @@ -67,4 +67,9 @@ extern const struct cpu_operations *cpu_ops[NR_CPUS]; > > int __init cpu_read_ops(struct device_node *dn, int cpu); > > void __init cpu_read_bootcpu_ops(void

Re: [RFC PATCH 3/5] arm64: introduce CPU_OF_TABLES for cpu ops selection

2015-04-09 Thread Arnd Bergmann
On Thursday 09 April 2015 12:37:09 Kumar Gala wrote: > @@ -67,4 +67,9 @@ extern const struct cpu_operations *cpu_ops[NR_CPUS]; > int __init cpu_read_ops(struct device_node *dn, int cpu); > void __init cpu_read_bootcpu_ops(void); > > +#define CPU_METHOD_OF_DECLARE(name, __ops)

[RFC PATCH 3/5] arm64: introduce CPU_OF_TABLES for cpu ops selection

2015-04-09 Thread Kumar Gala
From: Abhimanyu Kapur Add support to arm64 to provide a dt-based method to allow soc-vendors to supply cpu_ops. Also move psci and smp_spin_table ops to use CPU_OF_TABLES. Signed-off-by: Abhimanyu Kapur Signed-off-by: Kumar Gala --- arch/arm64/include/asm/cpu_ops.h | 5 + arch/arm64/ke