public inbox for linux-samsung-soc@vger.kernel.org
 help / color / mirror / Atom feed
From: Kevin Hilman <khilman@linaro.org>
To: Marek Szyprowski <m.szyprowski@samsung.com>
Cc: Chanho Park <chanho61.park@samsung.com>,
	'Joonyoung Shim' <jy0922.shim@samsung.com>,
	kgene@kernel.org, k.kozlowski@samsung.com, cw00.choi@samsung.com,
	linux-samsung-soc@vger.kernel.org,
	javier.martinez@collabora.co.uk, sjoerd.simons@collabora.co.uk,
	heesub.shin@samsung.com,
	Przemyslaw Marczak <p.marczak@samsung.com>,
	Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Subject: Re: [PATCH] ARM: dts: add exynos5422.dtsi to correct cpu order
Date: Thu, 28 May 2015 10:19:26 -0700	[thread overview]
Message-ID: <7h1ti0k4bl.fsf@linaro.org> (raw)
In-Reply-To: <5566D681.2030107@samsung.com> (Marek Szyprowski's message of "Thu, 28 May 2015 10:49:05 +0200")

Marek Szyprowski <m.szyprowski@samsung.com> writes:

> Hello,
>
> On 2015-05-28 06:00, Chanho Park wrote:
>>> -----Original Message-----
>>> From: Joonyoung Shim [mailto:jy0922.shim@samsung.com]
>>> Sent: Thursday, May 28, 2015 10:59 AM
>>> To: Chanho Park; kgene@kernel.org; k.kozlowski@samsung.com
>>> Cc: cw00.choi@samsung.com; linux-samsung-soc@vger.kernel.org;
>>> javier.martinez@collabora.co.uk; khilman@linaro.org;
>>> sjoerd.simons@collabora.co.uk; heesub.shin@samsung.com
>>> Subject: Re: [PATCH] ARM: dts: add exynos5422.dtsi to correct cpu order
>>>
>>> Hi Chanho,
>>>
>>> On 05/28/2015 12:15 AM, 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.
>>> The exynos5422 SoC can boot using cortex-a15 cpu depending on gpio
>>> GPG2CON[1],
>> Yes, But, the pin is not controllable because it's checked in  the iROM
>> area.
>>
>>> i think this is just Odroid-XU3 board problem. Is it
>>> possible to overwrite cpus information directly from
>>> exynos5422-odroidxu3.dts?
>> It's possible to override the info in the odroidxu3.dts. As you know,
>> however, a new exynos5422 board will be added soon. The board also has same
>> configuration of the gpio pin and booted cpu0 from a cortex-a7 core.
>>
>> BTW, booting of secondary cpus are still broken. Is there any progress of
>> the patch[1]?
>> This patch is also generated top of the patch with some fixes.

Note that even with that hack/patch from me, all cores may boot, but you
cannot let them hit deeper idle states with CPUidle.  This is because
the firmware appears to have configured CCI in secure mode, which mean
that the kernel cannot control CCI, which essentially breaks MCPM  and
everthing built on it (idle, suspend, etc.)

> Przemyslaw is checking how to solve this issue in the bootloader like it has
> been solved for Exynos 5800 based Chromebooks. The plan is to use the same
> SPL code as mentioned here:
> https://www.mail-archive.com/u-boot@lists.denx.de/msg159960.html

This is good news!   I'd be happy to test any work in progress on this.

We really need the other exynos platforms to follow the bootloader of
the chromebooks which includes a working CCI and thus kernel MCPM
functionality.

Kevin

      reply	other threads:[~2015-05-28 17:19 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-05-27 15:15 [PATCH] ARM: dts: add exynos5422.dtsi to correct cpu order Chanho Park
2015-05-28  1:58 ` Joonyoung Shim
2015-05-28  4:00   ` Chanho Park
2015-05-28  5:29     ` Krzysztof Kozlowski
2015-05-28  8:43       ` Chanho Park
2015-05-31  7:09         ` Krzysztof Kozlowski
2015-05-28  8:49     ` Marek Szyprowski
2015-05-28 17:19       ` Kevin Hilman [this message]

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=7h1ti0k4bl.fsf@linaro.org \
    --to=khilman@linaro.org \
    --cc=b.zolnierkie@samsung.com \
    --cc=chanho61.park@samsung.com \
    --cc=cw00.choi@samsung.com \
    --cc=heesub.shin@samsung.com \
    --cc=javier.martinez@collabora.co.uk \
    --cc=jy0922.shim@samsung.com \
    --cc=k.kozlowski@samsung.com \
    --cc=kgene@kernel.org \
    --cc=linux-samsung-soc@vger.kernel.org \
    --cc=m.szyprowski@samsung.com \
    --cc=p.marczak@samsung.com \
    --cc=sjoerd.simons@collabora.co.uk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
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