All of lore.kernel.org
 help / color / mirror / Atom feed
From: Heesub Shin <heesub.shin@samsung.com>
To: linux-samsung-soc@vger.kernel.org
Subject: Re: [RFC] ARM: exynos: MCPM: [is this a] fix for secondary boot on 5422?
Date: Wed, 26 Nov 2014 09:35:29 +0000 (UTC)	[thread overview]
Message-ID: <loom.20141126T100245-113@post.gmane.org> (raw)
In-Reply-To: 1416896510-24612-1-git-send-email-khilman@kernel.org

Kevin Hilman <khilman <at> kernel.org> writes:

> 
> From: Kevin Hilman <khilman <at> linaro.org>
> 
> Using the current exynos_defconfig on the exynos5422-odroid-xu3, only
> 6 of 8 CPUs come online with MCPM boot.  CPU0 is an A7, CPUs 1-4 are
> A15s and CPU5-7 are the other A7s, but with the current code, CPUs 5
> and 7 do not boot:
> 
>    [...]
>    Exynos MCPM support installed
>    CPU1: update cpu_capacity 1535
>    CPU1: thread -1, cpu 0, socket 0, mpidr 80000000
>    CPU2: update cpu_capacity 1535
>    CPU2: thread -1, cpu 1, socket 0, mpidr 80000001
>    CPU3: update cpu_capacity 1535
>    CPU3: thread -1, cpu 2, socket 0, mpidr 80000002
>    CPU4: update cpu_capacity 1535
>    CPU4: thread -1, cpu 3, socket 0, mpidr 80000003
>    CPU5: failed to come online
>    CPU6: update cpu_capacity 448
>    CPU6: thread -1, cpu 2, socket 1, mpidr 80000102
>    CPU7: failed to come online
>    Brought up 6 CPUs
>    CPU: WARNING: CPU(s) started in wrong/inconsistent modes
>    (primary CPU mode 0x13)
>    CPU: This may indicate a broken bootloader or firmware.
> 
> Thanks to a tip from Abhilash, this patch gets all 8 CPUs booting
> again, but the warning about CPUs started in inconsistent modes
> remains.  Also, not being terribly familiar with Exynos internals,
> it's not at all obvious to me why this register write (done for *all*
> secondaries) makes things work works for the 2 secondary CPUs that
> didn't come online.  It's also not obvious whether this is the right
> general fix, since it doesn't seem to be needed on other 542x or 5800
> platforms.

Hi,

Very interesting to see your post. I was also suffering from the same 
problem with my Odroid-XU3 board. With your patch 8 CPUs are brought up, 
but Cortex-A15 CPUs are always offline, showing low performance.

heesub@odroid:~$ cat /sys/devices/system/cpu/online
0,5-7
heesub@odroid:~$ cat /sys/devices/system/cpu/offline
1-4

Any suggestion?

Thanks a lot!!
Heesub

  reply	other threads:[~2014-11-26  9:40 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-11-25  6:21 [RFC] ARM: exynos: MCPM: [is this a] fix for secondary boot on 5422? Kevin Hilman
2014-11-25  6:21 ` Kevin Hilman
2014-11-26  9:35 ` Heesub Shin [this message]
2014-11-26 16:00   ` Kevin Hilman
2015-06-14  8:56 ` Krzysztof Kozłowski
2015-06-14  8:56   ` Krzysztof Kozłowski
2015-06-15 10:07   ` Bartlomiej Zolnierkiewicz
2015-06-15 10:07     ` Bartlomiej Zolnierkiewicz
2015-06-15 10:19   ` Przemyslaw Marczak
2015-06-15 10:19     ` Przemyslaw Marczak
2015-06-15 11:19     ` Amit Kucheria
2015-06-15 11:19       ` Amit Kucheria
2015-06-15 12:57       ` Przemyslaw Marczak
2015-06-15 12:57         ` Przemyslaw Marczak
2015-06-15 18:58         ` Kevin Hilman
2015-06-15 18:58           ` Kevin Hilman
2015-06-15 12:17     ` Krzysztof Kozłowski
2015-06-15 12:17       ` Krzysztof Kozłowski
2015-06-15 14:00       ` Przemyslaw Marczak
2015-06-15 14:00         ` Przemyslaw Marczak
2015-06-15 18:53   ` Kevin Hilman
2015-06-15 18:53     ` Kevin Hilman

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=loom.20141126T100245-113@post.gmane.org \
    --to=heesub.shin@samsung.com \
    --cc=linux-samsung-soc@vger.kernel.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.