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

MIPS: ath79: finetune cpu-overrides

This patch adds a few additional cpu feature overrides so that they do not
need to be probed at runtime.

Signed-off-by: Felix Fietkau <nbd@nbd.name>
Signed-off-by: John Crispin <john@phrozen.org>
Signed-off-by: Paul Burton <paul.burton@mips.com>
Patchwork: https://patchwork.linux-mips.org/patch/19914/
Cc: James Hogan <jhogan@kernel.org>
Cc: Ralf Baechle <ralf@linux-mips.org>
Cc: linux-mips@linux-mips.org

authored by

Felix Fietkau and committed by
Paul Burton
e1634370 f8a7bfe1

+6
+6
arch/mips/include/asm/mach-ath79/cpu-feature-overrides.h
··· 36 36 #define cpu_has_mdmx 0 37 37 #define cpu_has_mips3d 0 38 38 #define cpu_has_smartmips 0 39 + #define cpu_has_rixi 0 39 40 40 41 #define cpu_has_mips32r1 1 41 42 #define cpu_has_mips32r2 1 ··· 44 43 #define cpu_has_mips64r2 0 45 44 46 45 #define cpu_has_mipsmt 0 46 + #define cpu_has_userlocal 0 47 47 48 48 #define cpu_has_64bits 0 49 49 #define cpu_has_64bit_zero_reg 0 ··· 53 51 54 52 #define cpu_dcache_line_size() 32 55 53 #define cpu_icache_line_size() 32 54 + #define cpu_has_vtag_icache 0 55 + #define cpu_has_dc_aliases 1 56 + #define cpu_has_ic_fills_f_dc 0 57 + #define cpu_has_pindexed_dcache 0 56 58 57 59 #endif /* __ASM_MACH_ATH79_CPU_FEATURE_OVERRIDES_H */