summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--arch/mips/Kconfig7
-rw-r--r--arch/mips/kvm/Kconfig1
2 files changed, 8 insertions, 0 deletions
diff --git a/arch/mips/Kconfig b/arch/mips/Kconfig
index b3f36c2c759d..5ea3dc4770ed 100644
--- a/arch/mips/Kconfig
+++ b/arch/mips/Kconfig
@@ -2255,12 +2255,17 @@ config CPU_GENERIC_DUMP_TLB
2255 bool 2255 bool
2256 default y if !(CPU_R3000 || CPU_R8000 || CPU_TX39XX) 2256 default y if !(CPU_R3000 || CPU_R8000 || CPU_TX39XX)
2257 2257
2258config MIPS_FP_SUPPORT
2259 def_bool y
2260
2258config CPU_R2300_FPU 2261config CPU_R2300_FPU
2259 bool 2262 bool
2263 depends on MIPS_FP_SUPPORT
2260 default y if CPU_R3000 || CPU_TX39XX 2264 default y if CPU_R3000 || CPU_TX39XX
2261 2265
2262config CPU_R4K_FPU 2266config CPU_R4K_FPU
2263 bool 2267 bool
2268 depends on MIPS_FP_SUPPORT
2264 default y if !CPU_R2300_FPU 2269 default y if !CPU_R2300_FPU
2265 2270
2266config CPU_R4K_CACHE_TLB 2271config CPU_R4K_CACHE_TLB
@@ -2313,6 +2318,7 @@ config MIPS_MT_FPAFF
2313config MIPSR2_TO_R6_EMULATOR 2318config MIPSR2_TO_R6_EMULATOR
2314 bool "MIPS R2-to-R6 emulator" 2319 bool "MIPS R2-to-R6 emulator"
2315 depends on CPU_MIPSR6 2320 depends on CPU_MIPSR6
2321 depends on MIPS_FP_SUPPORT
2316 default y 2322 default y
2317 help 2323 help
2318 Choose this option if you want to run non-R6 MIPS userland code. 2324 Choose this option if you want to run non-R6 MIPS userland code.
@@ -2460,6 +2466,7 @@ endchoice
2460config CPU_HAS_MSA 2466config CPU_HAS_MSA
2461 bool "Support for the MIPS SIMD Architecture" 2467 bool "Support for the MIPS SIMD Architecture"
2462 depends on CPU_SUPPORTS_MSA 2468 depends on CPU_SUPPORTS_MSA
2469 depends on MIPS_FP_SUPPORT
2463 depends on 64BIT || MIPS_O32_FP64_SUPPORT 2470 depends on 64BIT || MIPS_O32_FP64_SUPPORT
2464 help 2471 help
2465 MIPS SIMD Architecture (MSA) introduces 128 bit wide vector registers 2472 MIPS SIMD Architecture (MSA) introduces 128 bit wide vector registers
diff --git a/arch/mips/kvm/Kconfig b/arch/mips/kvm/Kconfig
index 76b93a9c8c9b..760aec70dce5 100644
--- a/arch/mips/kvm/Kconfig
+++ b/arch/mips/kvm/Kconfig
@@ -18,6 +18,7 @@ if VIRTUALIZATION
18config KVM 18config KVM
19 tristate "Kernel-based Virtual Machine (KVM) support" 19 tristate "Kernel-based Virtual Machine (KVM) support"
20 depends on HAVE_KVM 20 depends on HAVE_KVM
21 depends on MIPS_FP_SUPPORT
21 select EXPORT_UASM 22 select EXPORT_UASM
22 select PREEMPT_NOTIFIERS 23 select PREEMPT_NOTIFIERS
23 select ANON_INODES 24 select ANON_INODES