--- zzzz-none-000/linux-4.4.271/arch/mips/kernel/head.S 2021-06-03 06:22:09.000000000 +0000 +++ dakota-7530ac-750/linux-4.4.271/arch/mips/kernel/head.S 2023-01-11 09:25:41.000000000 +0000 @@ -38,6 +38,9 @@ mfc0 t0, CP0_STATUS or t0, ST0_CU0|\set|0x1f|\clr xor t0, 0x1f|\clr +#ifdef CONFIG_CPU_HAS_DSP_ASE + or t0, ST0_MX +#endif mtc0 t0, CP0_STATUS .set noreorder sll zero,3 # ehb @@ -80,10 +83,29 @@ j kernel_entry #endif +#ifdef CONFIG_IMAGE_CMDLINE_HACK + .ascii "CMDLINE:" +EXPORT(__image_cmdline) + .fill 0x400 +#endif /* CONFIG_IMAGE_CMDLINE_HACK */ + __REF +#ifdef CONFIG_EVA + .align 8 +#endif + NESTED(kernel_entry, 16, sp) # kernel entry point +#ifdef CONFIG_AVM_KERNEL + b 9f + nop + + .word __avm_kernel_config_start + +9: +#endif + kernel_entry_setup # cpu specific setup setup_c0_status_pri @@ -92,6 +114,9 @@ so we jump there. */ PTR_LA t0, 0f jr t0 +#ifdef CONFIG_EVA + .align 8 +#endif 0: #ifdef CONFIG_MIPS_RAW_APPENDED_DTB