Re: [PATCH] arm: exynos: generalize power register address calculation

2014-04-19 Thread Chander Kashyap
Hi Tomasz, On 18 April 2014 19:42, Tomasz Figa wrote: > Hi Chander, > > > On 15.04.2014 09:38, Chander Kashyap wrote: >> >> Currently status/configuration power register values are hard-coded for >> cpu1. >> >> Make it generic so that it is useful for SoC's with more than two cpus. >> >> Signed-o

Re: [PATCH] arm: exynos: generalize power register address calculation

2014-04-18 Thread Tomasz Figa
Hi Chander, On 15.04.2014 09:38, Chander Kashyap wrote: Currently status/configuration power register values are hard-coded for cpu1. Make it generic so that it is useful for SoC's with more than two cpus. Signed-off-by: Chander Kashyap --- changes in v3: 1. Move cpunr calculation to

[PATCH] arm: exynos: generalize power register address calculation

2014-04-15 Thread Chander Kashyap
Currently status/configuration power register values are hard-coded for cpu1. Make it generic so that it is useful for SoC's with more than two cpus. Signed-off-by: Chander Kashyap --- changes in v3: 1. Move cpunr calculation to a macro 2. Changed printk format specifier from uns

Re: [PATCH] arm: exynos: generalize power register address calculation

2014-04-14 Thread Chander Kashyap
Hi Tomasz, Thanks for the review comments, On 14 April 2014 22:58, Tomasz Figa wrote: > Hi Chander, > > Few more comments inline. > > > On 09.04.2014 13:09, Chander Kashyap wrote: >> >> Currently status/configuration power register values are hard-coded for >> cpu1. >> >> Make it generic so that

Re: [PATCH] arm: exynos: generalize power register address calculation

2014-04-14 Thread Tomasz Figa
Hi Chander, Few more comments inline. On 09.04.2014 13:09, Chander Kashyap wrote: Currently status/configuration power register values are hard-coded for cpu1. Make it generic so that it is useful for SoC's with more than two cpus. Signed-off-by: Chander Kashyap --- changes in v2 : Used exis

Re: [PATCH] arm: exynos: generalize power register address calculation

2014-04-14 Thread Tomasz Figa
On 14.04.2014 06:27, Chander Kashyap wrote: Hi, On 10 April 2014 11:18, Chander Kashyap wrote: Hi Tomasz, On 9 April 2014 20:15, Tomasz Figa wrote: On 09.04.2014 15:49, Chander Kashyap wrote: Hi Tomasz, On 9 April 2014 17:19, Tomasz Figa wrote: Hi Chander, On 09.04.2014 13:09, Chand

Re: [PATCH] arm: exynos: generalize power register address calculation

2014-04-13 Thread Chander Kashyap
Hi, On 10 April 2014 11:18, Chander Kashyap wrote: > Hi Tomasz, > > On 9 April 2014 20:15, Tomasz Figa wrote: >> On 09.04.2014 15:49, Chander Kashyap wrote: >>> >>> Hi Tomasz, >>> >>> On 9 April 2014 17:19, Tomasz Figa wrote: Hi Chander, On 09.04.2014 13:09, Chander Kas

Re: [PATCH] arm: exynos: generalize power register address calculation

2014-04-09 Thread Chander Kashyap
Hi Tomasz, On 9 April 2014 20:15, Tomasz Figa wrote: > On 09.04.2014 15:49, Chander Kashyap wrote: >> >> Hi Tomasz, >> >> On 9 April 2014 17:19, Tomasz Figa wrote: >>> >>> Hi Chander, >>> >>> >>> On 09.04.2014 13:09, Chander Kashyap wrote: Currently status/configuration power regi

Re: [PATCH] arm: exynos: generalize power register address calculation

2014-04-09 Thread Tomasz Figa
On 09.04.2014 15:49, Chander Kashyap wrote: Hi Tomasz, On 9 April 2014 17:19, Tomasz Figa wrote: Hi Chander, On 09.04.2014 13:09, Chander Kashyap wrote: Currently status/configuration power register values are hard-coded for cpu1. Make it generic so that it is useful for SoC's with more t

Re: [PATCH] arm: exynos: generalize power register address calculation

2014-04-09 Thread Chander Kashyap
Hi Tomasz, On 9 April 2014 17:19, Tomasz Figa wrote: > Hi Chander, > > > On 09.04.2014 13:09, Chander Kashyap wrote: >> >> Currently status/configuration power register values are hard-coded for >> cpu1. >> >> Make it generic so that it is useful for SoC's with more than two cpus. >> >> Signed-of

Re: [PATCH] arm: exynos: generalize power register address calculation

2014-04-09 Thread Tomasz Figa
Hi Chander, On 09.04.2014 13:09, Chander Kashyap wrote: Currently status/configuration power register values are hard-coded for cpu1. Make it generic so that it is useful for SoC's with more than two cpus. Signed-off-by: Chander Kashyap --- changes in v2 : Used existing macros for clusterid a

[PATCH] arm: exynos: generalize power register address calculation

2014-04-09 Thread Chander Kashyap
Currently status/configuration power register values are hard-coded for cpu1. Make it generic so that it is useful for SoC's with more than two cpus. Signed-off-by: Chander Kashyap --- changes in v2 : Used existing macros for clusterid and cpuid calculation arch/arm/mach-exynos/hotplug.c |

[PATCH] arm: exynos: generalize power register address calculation

2014-04-08 Thread Chander Kashyap
Currently status/configuration power register values are hard-coded for cpu1. Make it generic so that it is useful for SoC's with more than two cpus. Signed-off-by: Chander Kashyap --- arch/arm/mach-exynos/hotplug.c | 10 +++--- arch/arm/mach-exynos/platsmp.c | 13 - arch/