From: k.kozlowski@samsung•com (Krzysztof Kozlowski)
To: linux-arm-kernel@lists•infradead.org
Subject: [PATCHv4] ARM: dts: add exynos5422-cpus.dtsi to correct cpu order
Date: Mon, 06 Jul 2015 09:52:20 +0900 [thread overview]
Message-ID: <5599D144.7040001@samsung.com> (raw)
In-Reply-To: <1436106556-19134-1-git-send-email-chanho61.park@samsung.com>
On 05.07.2015 23:29, Chanho Park wrote:
> The odroid-xu3 board which is based on exynos5422 not exynos5800 is
> booted from cortex-a7 core unlike exynos5800. The odroid-xu3's cpu order
> is quite strange. cpu0 and cpu5-7 are cortex-a7 cores and cpu1-4 are
> cortex-a15 cores. To correct this mis-odering, I added exynos5422.dtsi
> and reversing cpu orders from exynos5420. Now, cpu0-3 are cortex-a7 and
> cpu4-7 are cortex-a15.
>
> Reviewed-by: Krzysztof Kozlowski <k.kozlowski@samsung•com>
> Signed-off-by: Chanho Park <chanho61.park@samsung•com>
> ---
> Changes from v3:
> - include this exynos5422-cpus.dtsi in the exynos5422-odroidxu3-common.dtsi
>
> Changes from v2:
> - drop inclusion of exynos5420.dtsi from exynos5422-cpus.dtsi
> - drop compatibles from exynos5422-cpus.dtsi
>
> Changes from v1:
> - rename exynos5422.dtsi to exynos5422-cpus.dtsi
> - include the dtsi file top of the exynos5422-odroidxu3.dts
>
> Secondary cpu booting problem[1] is not resolved yet. Below temporal patch is
> required to see 8 cores booting.
>
> --- a/arch/arm/mach-exynos/platsmp.c
> +++ b/arch/arm/mach-exynos/platsmp.c
> @@ -124,6 +124,7 @@ void exynos_cpu_power_up(int cpu)
> if (soc_is_exynos3250())
> core_conf |= S5P_CORE_AUTOWAKEUP_EN;
>
> + pmu_raw_writel(1, S5P_PMU_SPARE2);
> pmu_raw_writel(core_conf,
> EXYNOS_ARM_CORE_CONFIGURATION(cpu));
> }
>
> [1]: http://www.spinics.net/lists/linux-samsung-soc/msg45525.html
$ git am ...
Applying: ARM: dts: add exynos5422-cpus.dtsi to correct cpu order
error: patch failed: arch/arm/mach-exynos/platsmp.c:124
error: arch/arm/mach-exynos/platsmp.c: patch does not apply
The diff above confuses 'git am'.
Best regards,
Krzysztof
next prev parent reply other threads:[~2015-07-06 0:52 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-07-05 14:29 [PATCHv4] ARM: dts: add exynos5422-cpus.dtsi to correct cpu order Chanho Park
2015-07-06 0:52 ` Krzysztof Kozlowski [this message]
2015-07-06 14:03 ` Chanho Park
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5599D144.7040001@samsung.com \
--to=k.kozlowski@samsung$(echo .)com \
--cc=linux-arm-kernel@lists$(echo .)infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox