Skip to contentSkip to conversation

Enabling 8 cores on 5420

DISCUSSION Daniel Lezcano 3 participants 7 messages May 30, 2014 – Jun 23, 2014 Arm Samsung Exynos

lore
Share & tools
lore
#0 lore raw

Hi all,

I am trying an upstream kernel + some patches to enable ethernet on arndale octa.

Unfortunately, only 4 cores boot up. The other ones fail to boot.

[12.179453] CPU6: failed to come online
[13.189479] CPU7: failed to come online
[14.199479] CPU4: failed to come online
[15.209743] CPU5: failed to come online

What should I do to enable those 8 cores ? Is there a patchset somewhere to do so ?

Thanks

-- Daniel

Signature · 5 lines
 <http://www.linaro.org/> Linaro.org │ Open source software for ARM SoCs

Follow Linaro:  <http://www.facebook.com/pages/Linaro> Facebook |
<http://twitter.com/#!/linaroorg> Twitter |
<http://www.linaro.org/linaro-blog/> Blog
#1 lore raw

Hi,

Am 30.05.2014 11:25, schrieb Daniel Lezcano:

Quoted 6 lines

I am trying an upstream kernel + some patches to enable ethernet on arndale octa.

Unfortunately, only 4 cores boot up. The other ones fail to boot.

Quoted 7 lines
[12.179453] CPU6: failed to come online
[13.189479] CPU7: failed to come online
[14.199479] CPU4: failed to come online
[15.209743] CPU5: failed to come online

What should I do to enable those 8 cores ? Is there a patchset somewhere to do so ?

Yes, this is the reply I received just yesterday from Tushar Behera:

Quoted 11 lines

Can you check after applying following two patches for Arndale-Octa ([1],[2])? In other words, a patch similar to [2] might be required for this board too if it is booting under secure mode.

[1] http://www.spinics.net/lists/linux-samsung-soc/msg31776.html

[PATCH v2 Resend 1/2] ARM: EXYNOS: Update secondary boot addr for secure mode

[2] http://www.spinics.net/lists/linux-samsung-soc/msg31777.html

[PATCH v2 Resend 2/2] ARM: dts: Add secure firmware support for Arndale-octa

The first one I tested successfully on the 5410 already.

HTH,
Andreas

Signature · 2 lines
SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany
GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer; HRB 16746 AG Nürnberg
#2 lore raw
Quoted 24 lines · Andreas Färber

Hi,

Am 30.05.2014 11:25, schrieb Daniel Lezcano:

Quoted 6 lines

I am trying an upstream kernel + some patches to enable ethernet on arndale octa.

Unfortunately, only 4 cores boot up. The other ones fail to boot.

Quoted 7 lines
[12.179453] CPU6: failed to come online
[13.189479] CPU7: failed to come online
[14.199479] CPU4: failed to come online
[15.209743] CPU5: failed to come online

What should I do to enable those 8 cores ? Is there a patchset somewhere to do so ?

Yes, this is the reply I received just yesterday from Tushar Behera:

Quoted 6 lines

Can you check after applying following two patches for Arndale-Octa ([1],[2])? In other words, a patch similar to [2] might be required for this board too if it is booting under secure mode.

[1] http://www.spinics.net/lists/linux-samsung-soc/msg31776.html

Quoted 7 lines
Quoted 5 lines

[PATCH v2 Resend 1/2] ARM: EXYNOS: Update secondary boot addr for secure mode

[2] http://www.spinics.net/lists/linux-samsung-soc/msg31777.html

[PATCH v2 Resend 2/2] ARM: dts: Add secure firmware support for Arndale-octa

The first one I tested successfully on the 5410 already.

Hi Andreas,

thx for the pointers. I tested the patches but unfortunately they don't enable the cpus.

Signature · 5 lines
 <http://www.linaro.org/> Linaro.org │ Open source software for ARM SoCs

Follow Linaro:  <http://www.facebook.com/pages/Linaro> Facebook |
<http://twitter.com/#!/linaroorg> Twitter |
<http://www.linaro.org/linaro-blog/> Blog
#3 lore raw

Am 30.05.2014 16:56, schrieb Daniel Lezcano:

Quoted 31 lines · Andreas Färber
Quoted 30 lines

Am 30.05.2014 11:25, schrieb Daniel Lezcano:

Quoted 6 lines

I am trying an upstream kernel + some patches to enable ethernet on arndale octa.

Unfortunately, only 4 cores boot up. The other ones fail to boot.

Quoted 7 lines
[12.179453] CPU6: failed to come online
[13.189479] CPU7: failed to come online
[14.199479] CPU4: failed to come online
[15.209743] CPU5: failed to come online

What should I do to enable those 8 cores ? Is there a patchset somewhere to do so ?

Yes, this is the reply I received just yesterday from Tushar Behera:

Quoted 13 lines

Can you check after applying following two patches for Arndale-Octa ([1],[2])? In other words, a patch similar to [2] might be required for this board too if it is booting under secure mode.

[1] http://www.spinics.net/lists/linux-samsung-soc/msg31776.html

[PATCH v2 Resend 1/2] ARM: EXYNOS: Update secondary boot addr for secure mode

[2] http://www.spinics.net/lists/linux-samsung-soc/msg31777.html

[PATCH v2 Resend 2/2] ARM: dts: Add secure firmware support for Arndale-octa

Quoted 6 lines
Quoted 1 line

The first one I tested successfully on the 5410 already.

Hi Andreas,

thx for the pointers. I tested the patches but unfortunately they don't enable the cpus.

Oh sorry, I just read "failed to come online" but didn't notice it's about 4-7 only. All eight are available as nodes under /cpus on for-next [1], so no clue on my part. The Samsung guys will know better.

Cheers,
Andreas

[1]
http://git.kernel.org/cgit/linux/kernel/git/kgene/linux-samsung.git/tree/arch/arm/boot/dts/exynos5420.dtsi?h=for-next

Signature · 2 lines
SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany
GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer; HRB 16746 AG Nürnberg
#4 lore raw
In reply to Daniel Lezcano

Am 30.05.2014 11:25, schrieb Daniel Lezcano:

Quoted 8 lines

Hi all,

I am trying an upstream kernel + some patches to enable ethernet on arndale octa.

Unfortunately, only 4 cores boot up. The other ones fail to boot.

Quoted 7 lines
[12.179453] CPU6: failed to come online
[13.189479] CPU7: failed to come online
[14.199479] CPU4: failed to come online
[15.209743] CPU5: failed to come online

What should I do to enable those 8 cores ? Is there a patchset somewhere to do so ?

Ping? Confirmed still present on Arndale Octa with kgene's for-next + patch to get 2-4 up.

Andreas

Signature · 2 lines
SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany
GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer; HRB 16746 AG Nürnberg
#5 lore raw

Hi
PTAL https://patchwork.kernel.org/patch/4315711/
I hope your tree already includes
http://www.gossamer-threads.com/lists/linux/kernel/1940123

Regards,
Alim

Quoted 29 lines · Andreas Färber

Am 30.05.2014 11:25, schrieb Daniel Lezcano:

Quoted 8 lines

Hi all,

I am trying an upstream kernel + some patches to enable ethernet on arndale octa.

Unfortunately, only 4 cores boot up. The other ones fail to boot.

Quoted 7 lines
[12.179453] CPU6: failed to come online
[13.189479] CPU7: failed to come online
[14.199479] CPU4: failed to come online
[15.209743] CPU5: failed to come online

What should I do to enable those 8 cores ? Is there a patchset somewhere to do so ?

Ping? Confirmed still present on Arndale Octa with kgene's for-next + patch to get 2-4 up.

Andreas

--
SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany
GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer; HRB 16746 AG Nürnberg --
To unsubscribe from this list: send the line "unsubscribe linux-samsung-soc" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

Signature · 2 lines
Regards,
Alim
#6 lore raw
Quoted 4 lines · Alim Akhtar

Hi
PTAL https://patchwork.kernel.org/patch/4315711/
I hope your tree already includes
http://www.gossamer-threads.com/lists/linux/kernel/1940123

Hi Alim,

I applied the patches above and set the configuration option for EXYNOS_MCPM but I have:

[    7.769420] CPU1: failed to boot: -19
[    7.778360] CPU2: failed to boot: -19
[    7.806411] CPU4: failed to boot: -19
[    7.811294] CPU3: failed to boot: -19
[    7.815333] CPU7: failed to boot: -19
[    7.826401] CPU6: failed to boot: -19
[    7.829711] CPU5: failed to boot: -19

Is there something I missed ?

Thanks !

-- Daniel

Quoted 33 lines · Andreas Färber
Quoted 29 lines

Am 30.05.2014 11:25, schrieb Daniel Lezcano:

Quoted 8 lines

Hi all,

I am trying an upstream kernel + some patches to enable ethernet on arndale octa.

Unfortunately, only 4 cores boot up. The other ones fail to boot.

Quoted 7 lines
[12.179453] CPU6: failed to come online
[13.189479] CPU7: failed to come online
[14.199479] CPU4: failed to come online
[15.209743] CPU5: failed to come online

What should I do to enable those 8 cores ? Is there a patchset somewhere to do so ?

Ping? Confirmed still present on Arndale Octa with kgene's for-next + patch to get 2-4 up.

Andreas

--
SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany
GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer; HRB 16746 AG Nürnberg --
To unsubscribe from this list: send the line "unsubscribe linux-samsung-soc" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

Signature · 5 lines
 <http://www.linaro.org/> Linaro.org │ Open source software for ARM SoCs

Follow Linaro:  <http://www.facebook.com/pages/Linaro> Facebook |
<http://twitter.com/#!/linaroorg> Twitter |
<http://www.linaro.org/linaro-blog/> Blog