Skip to content

ARM: orion5x/dove/mv78xx0 multiplatform

Detlef Vollmann linux-arm-kernel lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest0 of 5 patches 8 repliesIn review

Patches in v1 No applies recorded yet

None of the 5 patches the cover letter announces are in this archive.

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/5] ARM: orion5x/dove/mv78xx0 multiplatform
Quoted 25 lines · Arnd Bergmann
Quoted 10 lines · On Thursday 10 December 2015 22:14:25 Detlef Vollmann wrote:
Quoted 9 lines · Arnd Bergmann
Quoted 8 lines · On Thursday 10 December 2015 20:03:18 Detlef Vollmann wrote:
Quoted 7 lines · Arnd Bergmann

text data bss dec hex filename

 942144   64112   17648 1023904   f9fa0 build/tmp/vmlinux-orion-allno
1027516   54052   20824 1102392  10d238 build/tmp/vmlinux-multi-plus-orion
1025320   66020   18744 1110084  10f044 build/tmp/vmlinux-orion-plus-of

The diff below shows all the differences between orion-allno and multi-plus-orion.

Quoted 8 lines
Quoted 6 lines
Quoted 3 lines

How did you get the orion-allno config and how did you get it compiled? I tried to apply your changes to my config and compile it, but it started silentoldconfig which introduced back 'ARCH_MULTIPLATFORM'

The first and third row are without my patches, once they are applied, ARCH_ORION becomes a sub-option of ARCH_MULTIPLATFORM.

So with your patches it's no longer possible to build a small kernel, correct?

Correct. I was a bit surprised at how much object code enabling CONFIG_OF adds these days, it used to be a lot less, but you are right that disabling CONFIG_OF is not possible with the way that ARCH_MULTIPLATFORM is structured.

Quoted 4 lines

It was always the plan to move all orion5x machines over to use CONFIG_OF eventually, so you get that overhead one way or another, and at least it looks like doing multiplatform on top of OF doesn't add any noticeable extra overhead (the total numbers are actually smaller).

So the message is that Linux just get's bigger...
Fortunately this patch is planned for 4.5, and 4.4 is going to be an LTS kernel.

Quoted 1 line

It may also be worth investigating what has made CONFIG_OF so costly,

Probably because too much is done at runtime and too few things can be fixed at build time.

Quoted 1 line

maybe we can reduce this a bit again.

Probably not without turning the wheel backward :-(

So for the test: yes it works, but I'm unhappy with it.

Detlef