Skip to contentSkip to conversation

Second Round of Renesas ARM Based SoC Updates for v4.15

GIT PULL New Simon Horman 4 participants 5 messages Oct 10, 2017 – Oct 19, 2017

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

Hi Olof, Hi Kevin, Hi Arnd,

Please consider these second round of Renesas ARM based SoC updates for v4.15.

This pull request is based on the previous round of such requests, tagged as renesas-soc-for-v4.15, which I have already sent a pull-request for.

This pull request fixes a bug introduced in renesas-soc-for-v4.15.

The following changes since commit 3fd45a136ff61bb54deab70fb2d534a85e40481f:

ARM: shmobile: rcar-gen2: Make sure CNTVOFF is initialized on CA7/15 (2017-09-18 08:10:44 +0200)

are available in the git repository at:

https://git.kernel.org/pub/scm/linux/kernel/git/horms/renesas.git tags/renesas-soc2-for-v4.15

for you to fetch changes up to dc15ca962757ca72a4492b2e13be2eecc6dcd716:

ARM: shmobile: rcar-gen2: fix non-SMP build (2017-10-06 11:35:34 +0200)

----------------------------------------------------------------
Second Round of Renesas ARM Based SoC Updates for v4.15

Fix to allow UP build of shmobile.

Arnd Bergmann says:

A bugfix for the SMP case broke the build for the UP case:

arch/arm/mach-shmobile/headsmp-apmu.o: In function `shmobile_boot_apmu':
(.text+0x34): undefined reference to `secondary_startup'

The assembler file mixes code that is used for SMP with code that we also need on a single-CPU build, so I'm leaving it always enabled in the Makefile, but enclose the SMP code in an #ifdef.

----------------------------------------------------------------
Arnd Bergmann (1):
ARM: shmobile: rcar-gen2: fix non-SMP build

 arch/arm/mach-shmobile/headsmp-apmu.S | 2 ++
 1 file changed, 2 insertions(+)
#1 lore raw

PATCH 1/1 ARM: shmobile: rcar-gen2: fix non-SMP build

From: Arnd Bergmann <[email protected]>

A bugfix for the SMP case broke the build for the UP case:

arch/arm/mach-shmobile/headsmp-apmu.o: In function `shmobile_boot_apmu':
(.text+0x34): undefined reference to `secondary_startup'

The assembler file mixes code that is used for SMP with code that we also need on a single-CPU build, so I'm leaving it always enabled in the Makefile, but enclose the SMP code in an #ifdef.

3fd45a136ff6 ("ARM: shmobile: rcar-gen2: Make sure CNTVOFF is initialized on CA7/15")

---
 arch/arm/mach-shmobile/headsmp-apmu.S | 2 ++
 1 file changed, 2 insertions(+)
arch/arm/mach-shmobile/headsmp-apmu.S +2 -0
index db4743d2bf91..5672b5849401 100644
@@ -31,7 +31,9 @@ ENTRY(shmobile_init_cntvoff)
 	ret	lr
 ENDPROC(shmobile_init_cntvoff)
 
+#ifdef CONFIG_SMP
 ENTRY(shmobile_boot_apmu)
 	bl	shmobile_init_cntvoff
 	b	secondary_startup
 ENDPROC(shmobile_boot_apmu)
+#endif
Signature · 1 line
2.1.4
#2 lore raw

PATCH 1/1 ARM: shmobile: rcar-gen2: fix non-SMP build

Hello!

Quoted 7 lines · Simon Horman

From: Arnd Bergmann <[email protected]>

A bugfix for the SMP case broke the build for the UP case:

arch/arm/mach-shmobile/headsmp-apmu.o: In function `shmobile_boot_apmu':
(.text+0x34): undefined reference to `secondary_startup'

Quoted 6 lines

The assembler file mixes code that is used for SMP with code that we also need on a single-CPU build, so I'm leaving it always enabled in the Makefile, but enclose the SMP code in an #ifdef.

3fd45a136ff6 ("ARM: shmobile: rcar-gen2: Make sure CNTVOFF is initialized on CA7/15")

    "Fixes:"?
Quoted 3 lines

[...]

MBR, Sergei

#3 lore raw

PATCH 1/1 ARM: shmobile: rcar-gen2: fix non-SMP build

Quoted 11 lines · Sergei Shtylyov

Hello!

Quoted 7 lines · Simon Horman

From: Arnd Bergmann <[email protected]>

A bugfix for the SMP case broke the build for the UP case:

arch/arm/mach-shmobile/headsmp-apmu.o: In function `shmobile_boot_apmu':
(.text+0x34): undefined reference to `secondary_startup'

Quoted 8 lines
Quoted 6 lines

The assembler file mixes code that is used for SMP with code that we also need on a single-CPU build, so I'm leaving it always enabled in the Makefile, but enclose the SMP code in an #ifdef.

3fd45a136ff6 ("ARM: shmobile: rcar-gen2: Make sure CNTVOFF is initialized on CA7/15")

   "Fixes:"?

Thanks, I will fix and repost.

#4 lore raw
In reply to Simon Horman
Quoted 7 lines · Simon Horman

Hi Olof, Hi Kevin, Hi Arnd,

Please consider these second round of Renesas ARM based SoC updates for v4.15.

This pull request is based on the previous round of such requests, tagged as renesas-soc-for-v4.15, which I have already sent a pull-request for.

Pulled into next/soc, thanks!

Arnd