[PATCH] ARM: EXYNOS: Fix core ID used by platsmp and hotplug code
Tomasz Figa
tomasz.figa at gmail.com
Fri May 30 04:39:57 PDT 2014
Hi,
On 23.05.2014 17:20, Tomasz Figa wrote:
> When CPU topology is specified in device tree, cpu_logical_map() does
> not return core ID anymore, but rather full MPIDR value. This breaks
> existing calculation of PMU register offsets on Exynos SoCs.
>
> This patch fixes the problem by adjusting the code to use only core ID
> bits of the value returned by cpu_logical_map() to allow CPU topology to
> be specified in device tree on Exynos SoCs.
>
> Signed-off-by: Tomasz Figa <t.figa at samsung.com>
> ---
> arch/arm/mach-exynos/hotplug.c | 10 ++++++----
> arch/arm/mach-exynos/platsmp.c | 34 +++++++++++++++++++---------------
> 2 files changed, 25 insertions(+), 19 deletions(-)
Ping.
Best regards,
Tomasz
More information about the linux-arm-kernel
mailing list