Skip to content

RFC tuning options for PPC64

Marvin linuxppc-dev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest5 patches 5 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5add tune options to Kconfig.cputypesarch/powerpc/platforms/Kconfig.cputype+61 -181 reply
2/5replace all occurrences of CONFIG_POWER3 by CONFIG_BATS64arch/powerpc/configs/cell_defconfig arch/powerpc/configs/celleb_defconfig arch/powerpc/configs/iseries_defconfig +6 more+8 -80 replies
3/5replace CONFIG_POWER4 by CONFIG_PPC64arch/powerpc/Makefile arch/powerpc/configs/cell_defconfig arch/powerpc/configs/celleb_defconfig +12 more+2 -151 reply
4/5replace CONFIG_POWER4_ONLY by new tuning mechanismarch/powerpc/Kconfig arch/powerpc/Makefile arch/powerpc/configs/cell_defconfig +11 more+22 -141 reply
5/5include tuning options into Makefilearch/powerpc/Makefile+1 -11 reply

Reviews trailers per patch

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

Read the v1 thread

Cover letter [RFC] [0/5] tuning options for PPC64

Hi,

the following five patches should lay a foundation to more fine-grained tuning on PPC64 cpus. They must be applied in order. The motivation are the discussions of serveral cpu specific optimizations in the past on this list, cleanup of the wired Makefile/CONFIG_POWERx constructs and at least the ownership of a PS3.

The patches intoduce CONFIG_TUNE_some_cpu and CONFIG_OPT_EXCLUSIVE, with the aim to cover two common cases:

- distributions want a common kernel, bootable on all ppc64 machines and tune
for a certain cpu

- high end users don't care about older cpus and want to compile a kernel
with their favorite mcpu option

I know there is also the possibility of mcpu=x and mtune=y, y>x but this can be tackled in the next step (hopefully).

I know this will bring up some conserns, but my initial findings grepping the defconfigs show:

- CONFIG_POWER3 enables BATS only
it is also used the enable some configs it is used always in combination with CONFIG_POWER4

- CONFIG_POWER4 is always combined with CONFIG_PPC64 and vice versa all POWER3 || POWER4 || PPC64 can be replaced by PPC64

- There seems to be no support for 32-bit kernels on ppc64 machines

I hope for some feedback, so this new scheme (or some other) can be included to mainstream kernel.

Greetings

Marvin