Re: [RFC PATCH 5/5] arm64: qcom: add cpu operations

2015-04-15 Thread Al Stone
On 04/15/2015 08:53 AM, Catalin Marinas wrote: > On Wed, Apr 15, 2015 at 10:04:25AM +0100, Mark Rutland wrote: >> On Tue, Apr 14, 2015 at 11:52:39PM +0100, Al Stone wrote: >>> On 04/14/2015 10:29 AM, Mark Rutland wrote: > diff --git a/Documentation/devicetree/bindings/arm/cpus.txt > b/Docu

Re: [RFC PATCH 5/5] arm64: qcom: add cpu operations

2015-04-15 Thread Catalin Marinas
On Wed, Apr 15, 2015 at 10:04:25AM +0100, Mark Rutland wrote: > On Tue, Apr 14, 2015 at 11:52:39PM +0100, Al Stone wrote: > > On 04/14/2015 10:29 AM, Mark Rutland wrote: > > >> diff --git a/Documentation/devicetree/bindings/arm/cpus.txt > > >> b/Documentation/devicetree/bindings/arm/cpus.txt > > >

Re: [RFC PATCH 5/5] arm64: qcom: add cpu operations

2015-04-15 Thread Catalin Marinas
On Tue, Apr 14, 2015 at 10:51:40PM +0200, Arnd Bergmann wrote: > On Tuesday 14 April 2015 17:29:53 Mark Rutland wrote: > > > +static int msm_cpu_boot(unsigned int cpu) > > > +{ > > > + int ret = 0; > > > + > > > + if (per_cpu(cold_boot_done, cpu) == false) { > > > + ret =

Re: [RFC PATCH 5/5] arm64: qcom: add cpu operations

2015-04-15 Thread Mark Rutland
On Tue, Apr 14, 2015 at 11:52:39PM +0100, Al Stone wrote: > On 04/14/2015 10:29 AM, Mark Rutland wrote: > >> diff --git a/Documentation/devicetree/bindings/arm/cpus.txt > >> b/Documentation/devicetree/bindings/arm/cpus.txt > >> index 8b9e0a9..35cabe5 100644 > >> --- a/Documentation/devicetree/bind

Re: [RFC PATCH 5/5] arm64: qcom: add cpu operations

2015-04-14 Thread Al Stone
On 04/14/2015 10:29 AM, Mark Rutland wrote: >> diff --git a/Documentation/devicetree/bindings/arm/cpus.txt >> b/Documentation/devicetree/bindings/arm/cpus.txt >> index 8b9e0a9..35cabe5 100644 >> --- a/Documentation/devicetree/bindings/arm/cpus.txt >> +++ b/Documentation/devicetree/bindings/arm/cpu

Re: [RFC PATCH 5/5] arm64: qcom: add cpu operations

2015-04-14 Thread Arnd Bergmann
On Tuesday 14 April 2015 17:29:53 Mark Rutland wrote: > > > +static int msm_cpu_boot(unsigned int cpu) > > +{ > > + int ret = 0; > > + > > + if (per_cpu(cold_boot_done, cpu) == false) { > > + ret = msm_unclamp_secondary_arm_cpu(cpu); > > + if (ret) > > +

Re: [RFC PATCH 5/5] arm64: qcom: add cpu operations

2015-04-14 Thread Mark Rutland
> diff --git a/Documentation/devicetree/bindings/arm/cpus.txt > b/Documentation/devicetree/bindings/arm/cpus.txt > index 8b9e0a9..35cabe5 100644 > --- a/Documentation/devicetree/bindings/arm/cpus.txt > +++ b/Documentation/devicetree/bindings/arm/cpus.txt > @@ -185,6 +185,8 @@ nodes to be present a

Re: [RFC PATCH 5/5] arm64: qcom: add cpu operations

2015-04-09 Thread Arnd Bergmann
On Thursday 09 April 2015 12:37:11 Kumar Gala wrote: > From: Abhimanyu Kapur > > Add qcom cpu operations for arm-v8 cpus. Implement secondary cpu boot ops > As a part of this change update device tree documentation for: > > 1. Arm cortex-a ACC device which provides percpu reg > 2. Armv8 cortex-a

[RFC PATCH 5/5] arm64: qcom: add cpu operations

2015-04-09 Thread Kumar Gala
From: Abhimanyu Kapur Add qcom cpu operations for arm-v8 cpus. Implement secondary cpu boot ops As a part of this change update device tree documentation for: 1. Arm cortex-a ACC device which provides percpu reg 2. Armv8 cortex-a compatible string in arm/cpus.txt Signed-off-by: Abhimanyu Kapur