All of lore.kernel.org
 help / color / mirror / Atom feed
* Re: exynos5422-odroid-xu3: MCPM: only 6 of 8 CPUs coming online
@ 2014-10-09  3:06 Abhilash Kesavan
  2014-10-09 21:58 ` Kevin Hilman
  0 siblings, 1 reply; 19+ messages in thread
From: Abhilash Kesavan @ 2014-10-09  3:06 UTC (permalink / raw)
  To: Kevin Hilman, CHANDER KASHYAP
  Cc: linux-samsung-soc@vger.kernel.org, linaro-kernel@lists.linaro.org,
	Mauro Ribeiro

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.

^ permalink raw reply	[flat|nested] 19+ messages in thread
* exynos5422-odroid-xu3: MCPM: only 6 of 8 CPUs coming online
@ 2014-10-08 18:58 Kevin Hilman
  0 siblings, 0 replies; 19+ messages in thread
From: Kevin Hilman @ 2014-10-08 18:58 UTC (permalink / raw)
  To: Chander Kashyap, Abhilash Kesavan
  Cc: linux-samsung-soc@vger.kernel.org, linaro-kernel@lists.linaro.org,
	Mauro Ribeiro

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.

^ permalink raw reply	[flat|nested] 19+ messages in thread

end of thread, other threads:[~2014-10-27 19:00 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-10-09  3:06 exynos5422-odroid-xu3: MCPM: only 6 of 8 CPUs coming online Abhilash Kesavan
2014-10-09 21:58 ` 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

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.