powerpc: Free up CPU feature bits
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest3 patches 1 replyIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | powerpc: Use feature bit for RTC presence rather than timebase presencearch/ arch/ arch/ +1 more | +47 | 1 reply | |
| 2/3 | powerpc: Book E: Remove unused CPU_FTR_L2CSR bitarch/ | +3 | 0 replies | |
| 3/3 | powerpc: Free up CPU feature bits on 64-bit machinesarch/ arch/ arch/ | +73 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
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(-)