Skip to content

powerpc: Free up CPU feature bits

Paul Mackerras linuxppc-dev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3powerpc: Use feature bit for RTC presence rather than timebase presencearch/powerpc/include/asm/cputable.h arch/powerpc/include/asm/time.h arch/powerpc/kernel/dt_cpu_ftrs.c +1 more+47 -551 reply
2/3powerpc: Book E: Remove unused CPU_FTR_L2CSR bitarch/powerpc/include/asm/cputable.h+3 -40 replies
3/3powerpc: Free up CPU feature bits on 64-bit machinesarch/powerpc/include/asm/cputable.h arch/powerpc/kernel/cpu_setup_6xx.S arch/powerpc/kernel/cpu_setup_fsl_booke.S+73 -640 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH 0/3] powerpc: Free up CPU feature bits

This patch series is against the powerpc next branch. It takes advantage of the fact that there are only a few CPU feature bits that are meaningful on both 32-bit and 64-bit platforms. At the moment, many of the 64 bits of the CPU feature mask on 64-bit platforms are taken up with bits which are only relevant to 32-bit platforms. This series rearranges things so that we can use those bits for new features that are relevant only to 64-bit platforms. With this, there are now 20 bits available for new 64-bit features.

To make things simpler, we use the bottom 12 bits of the CPU feature word for features that are relevant to both 32-bit and 64-bit platforms. The remaining 20 or 52 bits are then available for features specific to 32-bit or 64-bit platforms.

Paul.

 arch/powerpc/include/asm/cputable.h       | 223 +++++++++++++++---------------
 arch/powerpc/include/asm/time.h           |   2 +-
 arch/powerpc/kernel/cpu_setup_6xx.S       |   2 +-
 arch/powerpc/kernel/cpu_setup_fsl_booke.S |   2 +-
 arch/powerpc/kernel/dt_cpu_ftrs.c         |   3 +-
 arch/powerpc/kernel/vdso.c                |  12 +-
 6 files changed, 122 insertions(+), 122 deletions(-)