Skip to content

Commit dd0efb3

Browse files
paulusmackmpe
authored andcommitted
powerpc: Book E: Remove unused CPU_FTR_L2CSR bit
The CPU_FTR_L2CSR bit is never tested anywhere, so let's reclaim the bit. The last usage was removed in 86d6336 ("powerpc/e500mc: Remove dead L2 flushing code in idle_e500.S") (Jun 2015). Signed-off-by: Paul Mackerras <[email protected]> Signed-off-by: Michael Ellerman <[email protected]>
1 parent c0d64cf commit dd0efb3

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

arch/powerpc/include/asm/cputable.h

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,6 @@ static inline void cpu_feature_keys_init(void) { }
139139
#define CPU_FTR_TAU ASM_CONST(0x00000010)
140140
#define CPU_FTR_CAN_DOZE ASM_CONST(0x00000020)
141141
#define CPU_FTR_USE_RTC ASM_CONST(0x00000040)
142-
#define CPU_FTR_L2CSR ASM_CONST(0x00000080)
143142
#define CPU_FTR_601 ASM_CONST(0x00000100)
144143
#define CPU_FTR_DBELL ASM_CONST(0x00000200)
145144
#define CPU_FTR_CAN_NAP ASM_CONST(0x00000400)
@@ -385,18 +384,18 @@ static inline void cpu_feature_keys_init(void) { }
385384
CPU_FTR_SPE_COMP | CPU_FTR_MAYBE_CAN_NAP | \
386385
CPU_FTR_NODSISRALIGN | CPU_FTR_NOEXECUTE)
387386
#define CPU_FTRS_E500MC (CPU_FTR_NODSISRALIGN | \
388-
CPU_FTR_L2CSR | CPU_FTR_LWSYNC | CPU_FTR_NOEXECUTE | \
387+
CPU_FTR_LWSYNC | CPU_FTR_NOEXECUTE | \
389388
CPU_FTR_DBELL | CPU_FTR_DEBUG_LVL_EXC | CPU_FTR_EMB_HV)
390389
/*
391390
* e5500/e6500 erratum A-006958 is a timebase bug that can use the
392391
* same workaround as CPU_FTR_CELL_TB_BUG.
393392
*/
394393
#define CPU_FTRS_E5500 (CPU_FTR_NODSISRALIGN | \
395-
CPU_FTR_L2CSR | CPU_FTR_LWSYNC | CPU_FTR_NOEXECUTE | \
394+
CPU_FTR_LWSYNC | CPU_FTR_NOEXECUTE | \
396395
CPU_FTR_DBELL | CPU_FTR_POPCNTB | CPU_FTR_POPCNTD | \
397396
CPU_FTR_DEBUG_LVL_EXC | CPU_FTR_EMB_HV | CPU_FTR_CELL_TB_BUG)
398397
#define CPU_FTRS_E6500 (CPU_FTR_NODSISRALIGN | \
399-
CPU_FTR_L2CSR | CPU_FTR_LWSYNC | CPU_FTR_NOEXECUTE | \
398+
CPU_FTR_LWSYNC | CPU_FTR_NOEXECUTE | \
400399
CPU_FTR_DBELL | CPU_FTR_POPCNTB | CPU_FTR_POPCNTD | \
401400
CPU_FTR_DEBUG_LVL_EXC | CPU_FTR_EMB_HV | CPU_FTR_ALTIVEC_COMP | \
402401
CPU_FTR_CELL_TB_BUG | CPU_FTR_SMT)

0 commit comments

Comments
 (0)