Skip to contentSkip to conversation

ARM: uniphier: drop UniPhier specific SMP code

PATCH New Masahiro Yamada 2 participants 5 messages Nov 6, 2015 – Nov 11, 2015

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

PATCH 1/1 ARM: uniphier: drop UniPhier specific SMP code

The latest Linux can directly handle SMP operations for UniPhier SoCs without any help of U-boot. Drop the relevant code from U-boot.

See commit b1e4006aeda8c8784029de17d47987c21ea75f6d ("ARM: uniphier:
rework SMP operations to use trampoline code") in Linux Kernel.

---

 arch/arm/mach-uniphier/Kconfig         |  8 -----
 arch/arm/mach-uniphier/lowlevel_init.S | 53 ----------------------------------
 2 files changed, 61 deletions(-)
arch/arm/mach-uniphier/Kconfig +0 -8
index 22ab798..9e6ac3a 100644
@@ -3,12 +3,8 @@ if ARCH_UNIPHIER
 config SYS_CONFIG_NAME
 	default "uniphier"
 
-config UNIPHIER_SMP
-	bool
-
 config ARCH_UNIPHIER_PH1_SLD3
 	bool "UniPhier PH1-sLD3 SoC"
-	select UNIPHIER_SMP
 	help
 	  This enables support for UniPhier PH1-sLD3 SoC.
 
@@ -20,7 +16,6 @@ config ARCH_UNIPHIER_PH1_LD4
 
 config ARCH_UNIPHIER_PH1_PRO4
 	bool "UniPhier PH1-Pro4 SoC"
-	select UNIPHIER_SMP
 	depends on !ARCH_UNIPHIER_PH1_SLD3 && \
 		   !ARCH_UNIPHIER_PH1_LD4 && \
 		   !ARCH_UNIPHIER_PH1_SLD8
@@ -35,7 +30,6 @@ config ARCH_UNIPHIER_PH1_SLD8
 
 config ARCH_UNIPHIER_PH1_PRO5
 	bool "UniPhier PH1-Pro5 SoC"
-	select UNIPHIER_SMP
 	depends on !ARCH_UNIPHIER_PH1_SLD3 && \
 		   !ARCH_UNIPHIER_PH1_LD4 && \
 		   !ARCH_UNIPHIER_PH1_SLD8
@@ -44,7 +38,6 @@ config ARCH_UNIPHIER_PH1_PRO5
 
 config ARCH_UNIPHIER_PROXSTREAM2
 	bool "UniPhier ProXstream2 SoC"
-	select UNIPHIER_SMP
 	depends on !ARCH_UNIPHIER_PH1_SLD3 && \
 		   !ARCH_UNIPHIER_PH1_LD4 && \
 		   !ARCH_UNIPHIER_PH1_SLD8
@@ -53,7 +46,6 @@ config ARCH_UNIPHIER_PROXSTREAM2
 
 config ARCH_UNIPHIER_PH1_LD6B
 	bool "UniPhier PH1-LD6b SoC"
-	select UNIPHIER_SMP
 	depends on !ARCH_UNIPHIER_PH1_SLD3 && \
 		   !ARCH_UNIPHIER_PH1_LD4 && \
 		   !ARCH_UNIPHIER_PH1_SLD8
arch/arm/mach-uniphier/lowlevel_init.S +0 -53

59 lines not on this page · raw message

Signature · 1 line
1.9.1
#1 lore raw

PATCH 1/1 ARM: uniphier: drop UniPhier specific SMP code

Quoted 7 lines · Masahiro Yamada

The latest Linux can directly handle SMP operations for UniPhier SoCs without any help of U-boot. Drop the relevant code from U-boot.

See commit b1e4006aeda8c8784029de17d47987c21ea75f6d ("ARM: uniphier:
rework SMP operations to use trampoline code") in Linux Kernel.

So my question for you is how much of a concern is running older kernels and newer U-Boots on these platforms? I know that for example we couldn't do something like that in "beagle" land, and for Allwinner platforms we still have ways of making the older but most featureful kernels work.

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20151106/a700968e/attachment.sig>
#2 lore raw

PATCH 1/1 ARM: uniphier: drop UniPhier specific SMP code

2015-11-06 22:46 GMT+09:00 Tom Rini <[email protected]>:

Quoted 8 lines · Masahiro Yamada
Quoted 7 lines

The latest Linux can directly handle SMP operations for UniPhier SoCs without any help of U-boot. Drop the relevant code from U-boot.

See commit b1e4006aeda8c8784029de17d47987c21ea75f6d ("ARM: uniphier:
rework SMP operations to use trampoline code") in Linux Kernel.

Quoted 7 lines
Quoted 1 line

So my question for you is how much of a concern is running older kernels and newer U-Boots on these platforms? I know that for example we couldn't do something like that in "beagle" land, and for Allwinner platforms we still have ways of making the older but most featureful kernels work.

Good question.

Socionext (and my former company, Panasonic) tended to modify source code locally (ugly hacks here and there) and never tried to push patches to the upstream.

I started the kernel upstreaming this year,
and the company changed the mind and stared to realize its importance, but it is under way.

The mainline kernel requires some more extra patches that have not been upstreamed yet.

So, our customers cannot do anything with the mainline kernel alone. They are supposed to use software stacks released from us.

So, the combination of the older kernels + newer U-boot does not matter. The older kernels were not working in the first place.

Signature · 2 lines
Best Regards
Masahiro Yamada
#3 lore raw

PATCH 1/1 ARM: uniphier: drop UniPhier specific SMP code

Quoted 28 lines · Masahiro Yamada

2015-11-06 22:46 GMT+09:00 Tom Rini <[email protected]>:

Quoted 8 lines · Masahiro Yamada
Quoted 7 lines

The latest Linux can directly handle SMP operations for UniPhier SoCs without any help of U-boot. Drop the relevant code from U-boot.

See commit b1e4006aeda8c8784029de17d47987c21ea75f6d ("ARM: uniphier:
rework SMP operations to use trampoline code") in Linux Kernel.

Quoted 7 lines
Quoted 1 line

So my question for you is how much of a concern is running older kernels and newer U-Boots on these platforms? I know that for example we couldn't do something like that in "beagle" land, and for Allwinner platforms we still have ways of making the older but most featureful kernels work.

Good question.

Socionext (and my former company, Panasonic) tended to modify source code locally (ugly hacks here and there) and never tried to push patches to the upstream.

I started the kernel upstreaming this year,
and the company changed the mind and stared to realize its importance, but it is under way.

Quoted 8 lines

The mainline kernel requires some more extra patches that have not been upstreamed yet.

So, our customers cannot do anything with the mainline kernel alone. They are supposed to use software stacks released from us.

So, the combination of the older kernels + newer U-boot does not matter. The older kernels were not working in the first place.

Thanks!

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20151108/a52dc904/attachment.sig>
#4 lore raw

PATCH 1/1 ARM: uniphier: drop UniPhier specific SMP code

2015-11-08 21:43 GMT+09:00 Tom Rini <[email protected]>:

Quoted 35 lines · Masahiro Yamada
Quoted 34 lines

2015-11-06 22:46 GMT+09:00 Tom Rini <[email protected]>:

Quoted 8 lines · Masahiro Yamada
Quoted 7 lines

The latest Linux can directly handle SMP operations for UniPhier SoCs without any help of U-boot. Drop the relevant code from U-boot.

See commit b1e4006aeda8c8784029de17d47987c21ea75f6d ("ARM: uniphier:
rework SMP operations to use trampoline code") in Linux Kernel.

Quoted 7 lines
Quoted 1 line

So my question for you is how much of a concern is running older kernels and newer U-Boots on these platforms? I know that for example we couldn't do something like that in "beagle" land, and for Allwinner platforms we still have ways of making the older but most featureful kernels work.

Good question.

Socionext (and my former company, Panasonic) tended to modify source code locally (ugly hacks here and there) and never tried to push patches to the upstream.

I started the kernel upstreaming this year,
and the company changed the mind and stared to realize its importance, but it is under way.

The mainline kernel requires some more extra patches that have not been upstreamed yet.

So, our customers cannot do anything with the mainline kernel alone. They are supposed to use software stacks released from us.

Quoted 7 lines
Quoted 2 lines

So, the combination of the older kernels + newer U-boot does not matter. The older kernels were not working in the first place.

Thanks!

Applied to u-boot-uniphier.

Signature · 2 lines
Best Regards
Masahiro Yamada