Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

MIPS: DEC: Update CPU overrides

Update CPU overrides for the DEC port with the recent additions, shaving
off some effectively dead code:

text data bss dec hex filename
5586952 233132 5990368 11810452 b43694 vmlinux.32-old
5581248 233140 5990368 11804756 b42054 vmlinux.32-new

text data bss dec hex filename
6036936 356648 10756544 17150128 105b0b0 vmlinux.64-old
6029896 360752 10756544 17147192 105a538 vmlinux.64-new

The data size increase is due to the special alignment requirement of
`init_thread_union' aka `.data..init_task' moving it up to the nearest
page boundary and making the amount of padding at its front rely on how
far within a page text ends.

Signed-off-by: Maciej W. Rozycki <macro@linux-mips.org>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/10197/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>

authored by

Maciej W. Rozycki and committed by
Ralf Baechle
bc4f12e6 cc23cafe

+16
+16
arch/mips/include/asm/mach-dec/cpu-feature-overrides.h
··· 14 14 15 15 /* Generic ones first. */ 16 16 #define cpu_has_tlb 1 17 + #define cpu_has_tlbinv 0 18 + #define cpu_has_segments 0 19 + #define cpu_has_eva 0 20 + #define cpu_has_htw 0 21 + #define cpu_has_rixiex 0 22 + #define cpu_has_maar 0 23 + #define cpu_has_rw_llb 0 17 24 #define cpu_has_tx39_cache 0 18 25 #define cpu_has_divec 0 19 26 #define cpu_has_prefetch 0 ··· 31 24 #define cpu_has_mips3d 0 32 25 #define cpu_has_smartmips 0 33 26 #define cpu_has_rixi 0 27 + #define cpu_has_xpa 0 34 28 #define cpu_has_vtag_icache 0 35 29 #define cpu_has_ic_fills_f_dc 0 36 30 #define cpu_has_pindexed_dcache 0 ··· 44 36 #define cpu_has_mips64r1 0 45 37 #define cpu_has_mips64r2 0 46 38 #define cpu_has_dsp 0 39 + #define cpu_has_dsp2 0 47 40 #define cpu_has_mipsmt 0 48 41 #define cpu_has_userlocal 0 42 + #define cpu_hwrena_impl_bits 0 43 + #define cpu_has_perf_cntr_intr_bit 0 44 + #define cpu_has_vz 0 45 + #define cpu_has_fre 0 46 + #define cpu_has_cdmm 0 49 47 50 48 /* R3k-specific ones. */ 51 49 #ifdef CONFIG_CPU_R3000 50 + #define cpu_has_3kex 1 52 51 #define cpu_has_4kex 0 53 52 #define cpu_has_3k_cache 1 54 53 #define cpu_has_4k_cache 0 ··· 78 63 79 64 /* R4k-specific ones. */ 80 65 #ifdef CONFIG_CPU_R4X00 66 + #define cpu_has_3kex 0 81 67 #define cpu_has_4kex 1 82 68 #define cpu_has_3k_cache 0 83 69 #define cpu_has_4k_cache 1