Re: [PATCH] ARM: EXYNOS: Fix incorrect usage of S5P_ARM_CORE1_* registers

2013-06-20 Thread Tomasz Figa
On Wednesday 19 of June 2013 11:19:30 Nicolas Pitre wrote: On Wed, 19 Jun 2013, Tomasz Figa wrote: On Wednesday 19 of June 2013 20:26:50 Chander Kashyap wrote: On 19 June 2013 19:58, Tomasz Figa t.f...@samsung.com wrote: I mean, calculate register offset based on two parameters - cluster

Re: [PATCH] ARM: EXYNOS: Fix incorrect usage of S5P_ARM_CORE1_* registers

2013-06-19 Thread Chander Kashyap
On 18 June 2013 23:29, Kukjin Kim kgene@samsung.com wrote: On 06/19/13 02:45, Tomasz Figa wrote: Ccing Arnd and Olof, because I forgot to add them to git send-email... Sorry for the noise. On Tuesday 18 of June 2013 17:26:31 Tomasz Figa wrote: S5P_ARM_CORE1_* registers affect only

Re: [PATCH] ARM: EXYNOS: Fix incorrect usage of S5P_ARM_CORE1_* registers

2013-06-19 Thread Tomasz Figa
On Wednesday 19 of June 2013 17:39:21 Chander Kashyap wrote: On 18 June 2013 23:29, Kukjin Kim kgene@samsung.com wrote: On 06/19/13 02:45, Tomasz Figa wrote: Ccing Arnd and Olof, because I forgot to add them to git send-email... Sorry for the noise. On Tuesday 18 of June 2013

Re: [PATCH] ARM: EXYNOS: Fix incorrect usage of S5P_ARM_CORE1_* registers

2013-06-19 Thread Chander Kashyap
On 19 June 2013 18:20, Tomasz Figa t.f...@samsung.com wrote: On Wednesday 19 of June 2013 17:39:21 Chander Kashyap wrote: On 18 June 2013 23:29, Kukjin Kim kgene@samsung.com wrote: On 06/19/13 02:45, Tomasz Figa wrote: Ccing Arnd and Olof, because I forgot to add them to git

Re: [PATCH] ARM: EXYNOS: Fix incorrect usage of S5P_ARM_CORE1_* registers

2013-06-19 Thread Lorenzo Pieralisi
On Wed, Jun 19, 2013 at 01:50:57PM +0100, Tomasz Figa wrote: On Wednesday 19 of June 2013 17:39:21 Chander Kashyap wrote: On 18 June 2013 23:29, Kukjin Kim kgene@samsung.com wrote: On 06/19/13 02:45, Tomasz Figa wrote: Ccing Arnd and Olof, because I forgot to add them to git

Re: [PATCH] ARM: EXYNOS: Fix incorrect usage of S5P_ARM_CORE1_* registers

2013-06-19 Thread Chander Kashyap
On 19 June 2013 18:54, Lorenzo Pieralisi lorenzo.pieral...@arm.com wrote: On Wed, Jun 19, 2013 at 01:50:57PM +0100, Tomasz Figa wrote: On Wednesday 19 of June 2013 17:39:21 Chander Kashyap wrote: On 18 June 2013 23:29, Kukjin Kim kgene@samsung.com wrote: On 06/19/13 02:45, Tomasz Figa

Re: [PATCH] ARM: EXYNOS: Fix incorrect usage of S5P_ARM_CORE1_* registers

2013-06-19 Thread Tomasz Figa
On Wednesday 19 of June 2013 14:24:17 Lorenzo Pieralisi wrote: On Wed, Jun 19, 2013 at 01:50:57PM +0100, Tomasz Figa wrote: On Wednesday 19 of June 2013 17:39:21 Chander Kashyap wrote: On 18 June 2013 23:29, Kukjin Kim kgene@samsung.com wrote: On 06/19/13 02:45, Tomasz Figa wrote:

Re: [PATCH] ARM: EXYNOS: Fix incorrect usage of S5P_ARM_CORE1_* registers

2013-06-19 Thread Chander Kashyap
On 19 June 2013 19:19, Tomasz Figa t.f...@samsung.com wrote: On Wednesday 19 of June 2013 14:24:17 Lorenzo Pieralisi wrote: On Wed, Jun 19, 2013 at 01:50:57PM +0100, Tomasz Figa wrote: On Wednesday 19 of June 2013 17:39:21 Chander Kashyap wrote: On 18 June 2013 23:29, Kukjin Kim

Re: [PATCH] ARM: EXYNOS: Fix incorrect usage of S5P_ARM_CORE1_* registers

2013-06-19 Thread Tomasz Figa
On Wednesday 19 of June 2013 19:25:27 Chander Kashyap wrote: On 19 June 2013 19:19, Tomasz Figa t.f...@samsung.com wrote: On Wednesday 19 of June 2013 14:24:17 Lorenzo Pieralisi wrote: On Wed, Jun 19, 2013 at 01:50:57PM +0100, Tomasz Figa wrote: On Wednesday 19 of June 2013 17:39:21

Re: [PATCH] ARM: EXYNOS: Fix incorrect usage of S5P_ARM_CORE1_* registers

2013-06-19 Thread Chander Kashyap
On 19 June 2013 19:58, Tomasz Figa t.f...@samsung.com wrote: On Wednesday 19 of June 2013 19:25:27 Chander Kashyap wrote: On 19 June 2013 19:19, Tomasz Figa t.f...@samsung.com wrote: On Wednesday 19 of June 2013 14:24:17 Lorenzo Pieralisi wrote: On Wed, Jun 19, 2013 at 01:50:57PM +0100,

Re: [PATCH] ARM: EXYNOS: Fix incorrect usage of S5P_ARM_CORE1_* registers

2013-06-19 Thread Tomasz Figa
On Wednesday 19 of June 2013 20:26:50 Chander Kashyap wrote: On 19 June 2013 19:58, Tomasz Figa t.f...@samsung.com wrote: On Wednesday 19 of June 2013 19:25:27 Chander Kashyap wrote: On 19 June 2013 19:19, Tomasz Figa t.f...@samsung.com wrote: On Wednesday 19 of June 2013 14:24:17 Lorenzo

Re: [PATCH] ARM: EXYNOS: Fix incorrect usage of S5P_ARM_CORE1_* registers

2013-06-19 Thread Chander Kashyap
On 19 June 2013 20:31, Tomasz Figa t.f...@samsung.com wrote: On Wednesday 19 of June 2013 20:26:50 Chander Kashyap wrote: On 19 June 2013 19:58, Tomasz Figa t.f...@samsung.com wrote: On Wednesday 19 of June 2013 19:25:27 Chander Kashyap wrote: On 19 June 2013 19:19, Tomasz Figa

Re: [PATCH] ARM: EXYNOS: Fix incorrect usage of S5P_ARM_CORE1_* registers

2013-06-19 Thread Nicolas Pitre
On Wed, 19 Jun 2013, Tomasz Figa wrote: On Wednesday 19 of June 2013 20:26:50 Chander Kashyap wrote: On 19 June 2013 19:58, Tomasz Figa t.f...@samsung.com wrote: I mean, calculate register offset based on two parameters - cluster ID and CPU ID, like: ...

[PATCH] ARM: EXYNOS: Fix incorrect usage of S5P_ARM_CORE1_* registers

2013-06-18 Thread Tomasz Figa
S5P_ARM_CORE1_* registers affect only core 1. To control further cores properly another registers must be used. This patch replaces S5P_ARM_CORE1_* register definitions with S5P_ARM_CORE_*(x) macro which return addresses of registers for specified core. This fixes CPU hotplug on quad core Exynos

Re: [PATCH] ARM: EXYNOS: Fix incorrect usage of S5P_ARM_CORE1_* registers

2013-06-18 Thread Tomasz Figa
Ccing Arnd and Olof, because I forgot to add them to git send-email... Sorry for the noise. On Tuesday 18 of June 2013 17:26:31 Tomasz Figa wrote: S5P_ARM_CORE1_* registers affect only core 1. To control further cores properly another registers must be used. This patch replaces

Re: [PATCH] ARM: EXYNOS: Fix incorrect usage of S5P_ARM_CORE1_* registers

2013-06-18 Thread Kukjin Kim
On 06/19/13 02:45, Tomasz Figa wrote: Ccing Arnd and Olof, because I forgot to add them to git send-email... Sorry for the noise. On Tuesday 18 of June 2013 17:26:31 Tomasz Figa wrote: S5P_ARM_CORE1_* registers affect only core 1. To control further cores properly another registers must be