--- zzzz-none-000/linux-4.4.271/arch/mips/Kconfig 2021-06-03 06:22:09.000000000 +0000 +++ hawkeye-5590-750/linux-4.4.271/arch/mips/Kconfig 2023-04-19 10:22:28.000000000 +0000 @@ -1036,9 +1036,6 @@ config ARCH_MAY_HAVE_PC_FDC bool -config BOOT_RAW - bool - config CEVT_BCM1480 bool @@ -1124,12 +1121,23 @@ config MIPS_NILE4 bool +config MYLOADER + bool + config SYNC_R4K bool config MIPS_MACHINE def_bool n +config IMAGE_CMDLINE_HACK + bool "OpenWrt specific image command line hack" + default n + +config ATHMEM_USE_FROM_UBOOT + bool "Use DDR memsize passed from u-boot" + default n + config NO_IOPORT_MAP def_bool n @@ -1407,6 +1415,42 @@ specific type of processor in your system, choose those that one otherwise CPU_MIPS32_R1 is a safe bet for any MIPS32 system. +config CPU_MIPS_24K + bool "MIPS24Kc" + depends on SYS_HAS_CPU_MIPS32_R2 + select CPU_HAS_PREFETCH + select CPU_SUPPORTS_32BIT_KERNEL +# select CPU_SUPPORTS_HIGHMEM + select CPU_SUPPORTS_MSA +# select HAVE_KVM + help + Choose this option to build a kernel for release 2 or later of the + MIPS32 architecture. Special Version 24kc + +config CPU_MIPS_34K + bool "MIPS34Kc" + depends on SYS_HAS_CPU_MIPS32_R2 + select CPU_HAS_PREFETCH + select CPU_SUPPORTS_32BIT_KERNEL +# select CPU_SUPPORTS_HIGHMEM + select CPU_SUPPORTS_MSA +# select HAVE_KVM + help + Choose this option to build a kernel for release 2 or later of the + MIPS32 architecture. Special Version 34kc + +config CPU_MIPS_74K + bool "MIPS74Kc" + depends on SYS_HAS_CPU_MIPS32_R2 + select CPU_HAS_PREFETCH + select CPU_SUPPORTS_32BIT_KERNEL +# select CPU_SUPPORTS_HIGHMEM + select CPU_SUPPORTS_MSA +# select HAVE_KVM + help + Choose this option to build a kernel for release 2 or later of the + MIPS32 architecture. Special Version 74kc + config CPU_MIPS32_R6 bool "MIPS32 Release 6" depends on SYS_HAS_CPU_MIPS32_R6 @@ -1622,6 +1666,7 @@ select USB_EHCI_BIG_ENDIAN_MMIO if CPU_BIG_ENDIAN select USB_OHCI_BIG_ENDIAN_MMIO if CPU_BIG_ENDIAN select MIPS_L1_CACHE_SHIFT_7 + select SYS_HAS_DMA_OPS help The Cavium Octeon processor is a highly integrated chip containing many ethernet hardware widgets for networking tasks. The processor @@ -1917,6 +1962,9 @@ bool default y +config SYS_HAS_DMA_OPS + bool + # # CPU may reorder R->R, R->W, W->R, W->W # Reordering beyond LL and SC is handled in WEAK_REORDERING_BEYOND_LLSC @@ -1937,7 +1985,7 @@ # config CPU_MIPS32 bool - default y if CPU_MIPS32_R1 || CPU_MIPS32_R2 || CPU_MIPS32_R6 + default y if CPU_MIPS32_R1 || CPU_MIPS32_R2 || CPU_MIPS32_R6 || CPU_MIPS_24K || CPU_MIPS_34K || CPU_MIPS_74K config CPU_MIPS64 bool @@ -1952,7 +2000,7 @@ config CPU_MIPSR2 bool - default y if CPU_MIPS32_R2 || CPU_MIPS64_R2 || CPU_CAVIUM_OCTEON + default y if CPU_MIPS32_R2 || CPU_MIPS64_R2 || CPU_CAVIUM_OCTEON || CPU_MIPS_24K || CPU_MIPS_34K || CPU_MIPS_74K select MIPS_SPRAM config CPU_MIPSR6 @@ -2018,6 +2066,11 @@ endchoice +config QCA_NMI_RESERVE + bool "Reserve a page for NMI handler" + depends on (SOC_QCN550X || SOC_QCA955X) + default n + config KVM_GUEST bool "KVM Guest Kernel" depends on BROKEN_ON_SMP @@ -2141,6 +2194,9 @@ config CPU_HAS_PREFETCH bool +config CPU_HAS_DSP_ASE + bool + config CPU_GENERIC_DUMP_TLB bool default y if !(CPU_R3000 || CPU_R6000 || CPU_R8000 || CPU_TX39XX) @@ -2153,6 +2209,8 @@ bool default y if !(CPU_R3000 || CPU_R8000 || CPU_SB1 || CPU_TX39XX || CPU_CAVIUM_OCTEON) +source "arch/mips/avm_enh/Kconfig" + config MIPS_MT_SMP bool "MIPS MT SMP support (1 TC on each available VPE)" depends on SYS_SUPPORTS_MULTITHREADING && !CPU_MIPSR6 @@ -2723,6 +2781,20 @@ If unsure, say N. +config MIPS_FPU_EMULATOR + bool "MIPS FPU Emulator" + default y + help + This option lets you disable the built-in MIPS FPU (Coprocessor 1) + emulator, which handles floating-point instructions on processors + without a hardware FPU. It is generally a good idea to keep the + emulator built-in, unless you are perfectly sure you have a + complete soft-float environment. With the emulator disabled, all + users of float operations will be killed with an illegal instr- + uction exception. + + Say Y, please. + config USE_OF bool select OF @@ -2810,6 +2882,18 @@ bool "Bootloader kernel arguments if available" endchoice +config BOOT_RAW + bool "Enable the kernel to be executed from the load address" + default n + help + Allow the kernel to be executed from the load address for + bootloaders which cannot read the ELF format. This places + a jump to start_kernel at the load address. + + If unsure, say N. + + + endmenu config LOCKDEP_SUPPORT