--- zzzz-none-000/linux-3.10.107/arch/mips/include/asm/mach-ath79/cpu-feature-overrides.h 2017-06-27 09:49:32.000000000 +0000 +++ vr9-7490-729/linux-3.10.107/arch/mips/include/asm/mach-ath79/cpu-feature-overrides.h 2021-11-10 11:53:53.000000000 +0000 @@ -16,13 +16,13 @@ #ifndef __ASM_MACH_ATH79_CPU_FEATURE_OVERRIDES_H #define __ASM_MACH_ATH79_CPU_FEATURE_OVERRIDES_H -#define cpu_has_tlb 1 +#define cpu_has_tlb 1 #define cpu_has_4kex 1 #define cpu_has_3k_cache 0 #define cpu_has_4k_cache 1 #define cpu_has_tx39_cache 0 #define cpu_has_sb1_cache 0 -#define cpu_has_fpu 0 +#define cpu_has_fpu 0 #define cpu_has_32fpr 0 #define cpu_has_counter 1 #define cpu_has_watch 1 @@ -32,7 +32,7 @@ #define cpu_has_ejtag 1 #define cpu_has_llsc 1 -#define cpu_has_mips16 1 +#define cpu_has_mips16 0 #define cpu_has_mdmx 0 #define cpu_has_mips3d 0 #define cpu_has_smartmips 0 @@ -42,8 +42,13 @@ #define cpu_has_mips64r1 0 #define cpu_has_mips64r2 0 -#define cpu_has_dsp 0 +#if defined(CONFIG_CPU_HAS_DSP_ASE) +#define cpu_has_dsp 1 +#define cpu_has_dsp2 1 +#else +#define cpu_has_dsp 0 #define cpu_has_dsp2 0 +#endif #define cpu_has_mipsmt 0 #define cpu_has_64bits 0