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

2014-04-20 Thread Chander Kashyap
Hi Tomasz, On 18 April 2014 19:42, Tomasz Figa t.f...@samsung.com 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.

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 chander.kash...@linaro.org --- changes in v3: 1.

[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 chander.kash...@linaro.org --- changes in v3: 1. Move cpunr calculation to a macro 2. Changed

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 chander.kash...@linaro.org wrote: Hi Tomasz, On 9 April 2014 20:15, Tomasz Figa t.f...@samsung.com wrote: On 09.04.2014 15:49, Chander Kashyap wrote: Hi Tomasz, On 9 April 2014 17:19, Tomasz Figa

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 chander.kash...@linaro.org

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

2014-04-13 Thread Chander Kashyap
Hi, On 10 April 2014 11:18, Chander Kashyap chander.kash...@linaro.org wrote: Hi Tomasz, On 9 April 2014 20:15, Tomasz Figa t.f...@samsung.com wrote: On 09.04.2014 15:49, Chander Kashyap wrote: Hi Tomasz, On 9 April 2014 17:19, Tomasz Figa t.f...@samsung.com wrote: Hi Chander, On

[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 chander.kash...@linaro.org --- changes in v2 : Used existing macros for clusterid and cpuid calculation

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 chander.kash...@linaro.org --- changes in v2 : Used

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 t.f...@samsung.com 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.

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 t.f...@samsung.com 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

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 t.f...@samsung.com wrote: On 09.04.2014 15:49, Chander Kashyap wrote: Hi Tomasz, On 9 April 2014 17:19, Tomasz Figa t.f...@samsung.com wrote: Hi Chander, On 09.04.2014 13:09, Chander Kashyap wrote: Currently status/configuration power

[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 chander.kash...@linaro.org --- arch/arm/mach-exynos/hotplug.c | 10 +++--- arch/arm/mach-exynos/platsmp.c