Linux Samsung SOC development
 help / color / mirror / Atom feed
From: Abhilash Kesavan <a.kesavan@samsung.com>
To: Kevin Hilman <khilman@linaro.org>,
	CHANDER KASHYAP <k.chander@samsung.com>
Cc: "linux-samsung-soc@vger.kernel.org"
	<linux-samsung-soc@vger.kernel.org>,
	"linaro-kernel@lists.linaro.org" <linaro-kernel@lists.linaro.org>,
	Mauro Ribeiro <mdrjr0@gmail.com>
Subject: Re: exynos5422-odroid-xu3: MCPM: only 6 of 8 CPUs coming online
Date: Thu, 09 Oct 2014 03:06:37 +0000 (GMT)	[thread overview]
Message-ID: <7133556.456161412823997169.JavaMail.weblogic@epml02> (raw)

Hi Kevin,

I had noticed a similar issue where only 6 cores would come up during development on 5420. This was because there was a check in our u-boot secondary boot-up path which would put a core into WFI if a flag was not present and hence fail to boot. I wonder if it is the same situation in your case too.
Is the u-boot for odroid-xu3 publically available or can you check if there is any such code present in your secondary bring-up path.

Regards,
Abhilash
------- Original Message -------
Sender : Kevin Hilman<khilman@linaro.org>
Date : Oct 09, 2014 00:28 (GMT+05:30)
Title : exynos5422-odroid-xu3: MCPM: only 6 of 8 CPUs coming online

Hi Chander, Abhilash,

I'm using the exynos5422 odroid-xu3 and only 6 of 8 cores are coming
online when using MCPM[1].  All the A15s are booting but only 2 of the
A7s, one of which is the primary CPU.

After booting, if I try to manually bring one of the CPUs online via
/sys/devices/.../cpuX/online, I hit the BUG() in
mcpm-exynos.c:exynos_power_up().

Any ideas why 2 of the A7s aren't booting up?

Kevin

[1]
[    0.001719] CPU: Testing write buffer coherency: ok
[    0.002171] CPU0: update cpu_capacity 448
[    0.002187] CPU0: thread -1, cpu 0, socket 1, mpidr 80000100
[    0.002429] Setting up static identity map for 0x4046df70 - 0x4046dfc8
[    0.002732] ARM CCI driver probed
[    0.002815] exynos_mcpm_usage_count_init: cpu 0 cluster 1
[    0.003010] Exynos MCPM support installed
[    0.030310] mcpm_boot_secondary: logical CPU 1 is physical CPU 0 cluster 0
[    0.030326] exynos_power_up: cpu 0 cluster 0
[    0.030626] CPU1: Booted secondary processor
[    0.030686] CPU1: update cpu_capacity 1535
[    0.030693] CPU1: thread -1, cpu 0, socket 0, mpidr 80000000
[    0.040314] mcpm_boot_secondary: logical CPU 2 is physical CPU 1 cluster 0
[    0.040340] exynos_power_up: cpu 1 cluster 0
[    0.040629] CPU2: Booted secondary processor
[    0.040672] CPU2: update cpu_capacity 1535
[    0.040679] CPU2: thread -1, cpu 1, socket 0, mpidr 80000001
[    0.050321] mcpm_boot_secondary: logical CPU 3 is physical CPU 2 cluster 0
[    0.050347] exynos_power_up: cpu 2 cluster 0
[    0.050659] CPU3: Booted secondary processor
[    0.050703] CPU3: update cpu_capacity 1535
[    0.050710] CPU3: thread -1, cpu 2, socket 0, mpidr 80000002
[    0.060316] mcpm_boot_secondary: logical CPU 4 is physical CPU 3 cluster 0
[    0.060343] exynos_power_up: cpu 3 cluster 0
[    0.060631] CPU4: Booted secondary processor
[    0.060675] CPU4: update cpu_capacity 1535
[    0.060682] CPU4: thread -1, cpu 3, socket 0, mpidr 80000003
[    0.070316] mcpm_boot_secondary: logical CPU 5 is physical CPU 1 cluster 1
[    0.070343] exynos_power_up: cpu 1 cluster 1
[    1.070007] CPU5: failed to come online
[    1.080322] mcpm_boot_secondary: logical CPU 6 is physical CPU 2 cluster 1
[    1.080337] exynos_power_up: cpu 2 cluster 1
[    1.080625] CPU6: Booted secondary processor
[    1.080691] CPU6: update cpu_capacity 448
[    1.080699] CPU6: thread -1, cpu 2, socket 1, mpidr 80000102
[    1.090331] mcpm_boot_secondary: logical CPU 7 is physical CPU 3 cluster 1
[    1.090356] exynos_power_up: cpu 3 cluster 1
[    2.090023] CPU7: failed to come online
[    2.090055] Brought up 6 CPUs
[    2.090067] SMP: Total of 6 processors activated.
[    2.090079] CPU: WARNING: CPU(s) started in wrong/inconsistent
modes (primary CPU mode 0x13)
[    2.090089] CPU: This may indicate a broken bootloader or firmware.

             reply	other threads:[~2014-10-09  3:10 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-10-09  3:06 Abhilash Kesavan [this message]
2014-10-09 21:58 ` exynos5422-odroid-xu3: MCPM: only 6 of 8 CPUs coming online Kevin Hilman
2014-10-15 11:35   ` Joonyoung Shim
2014-10-17 12:06     ` Kevin Hilman
2014-10-23  1:04       ` Joonyoung Shim
2014-10-23  1:17         ` Joonyoung Shim
2014-10-23  1:25           ` Mauro Ribeiro
2014-10-23  1:36             ` Joonyoung Shim
2014-10-23  1:42               ` Mauro Ribeiro
2014-10-23  1:49                 ` Joonyoung Shim
2014-10-23  1:54                   ` Joonyoung Shim
2014-10-23  8:36                     ` Abhijeet Dev
     [not found]                     ` <CAG30XQJ29cM6=OFh=TTbR2rfWGt3AK1o2=PMqdoq6ejUJtUwGA@mail.gmail.com>
     [not found]                       ` <A804D1798D614199AFA7AEDC00248EA9@sisodomain.com>
2014-10-23 15:56                         ` Kevin Hilman
2014-10-24 14:33                           ` Abhilash Kesavan
2014-10-24 16:00                             ` Kevin Hilman
2014-10-25 12:47                               ` Mauro Ribeiro
2014-10-27 19:00                                 ` Kevin Hilman
2014-10-23 18:01           ` Kevin Hilman
  -- strict thread matches above, loose matches on Subject: below --
2014-10-08 18:58 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=7133556.456161412823997169.JavaMail.weblogic@epml02 \
    --to=a.kesavan@samsung.com \
    --cc=k.chander@samsung.com \
    --cc=khilman@linaro.org \
    --cc=linaro-kernel@lists.linaro.org \
    --cc=linux-samsung-soc@vger.kernel.org \
    --cc=mdrjr0@gmail.com \
    /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