summaryrefslogtreecommitdiff
path: root/arch/mips
diff options
context:
space:
mode:
authorJiaxun Yang <jiaxun.yang@flygoat.com>2024-02-02 21:21:45 +0300
committerThomas Bogendoerfer <tsbogend@alpha.franken.de>2024-02-23 12:13:47 +0300
commit74efddad96fb37f66906850da0ab9cca59446e49 (patch)
tree80ecd53a52cfa0fb6724b34b2154f2f6e8845de0 /arch/mips
parent8a61869706c38b4760e1cd67dd27e36391e44ada (diff)
downloadlinux-74efddad96fb37f66906850da0ab9cca59446e49.tar.xz
MIPS: Limit MIPS_MT_SMP support by ISA reversion
MIPS MT ASE is only available on ISA between Release 1 and Release 5. Add ISA level dependency to Kconfig to fix build. Reported-by: Guenter Roeck <linux@roeck-us.net> Signed-off-by: Jiaxun Yang <jiaxun.yang@flygoat.com> Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Diffstat (limited to 'arch/mips')
-rw-r--r--arch/mips/Kconfig3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/mips/Kconfig b/arch/mips/Kconfig
index 492d7b900929..50fdf6d99255 100644
--- a/arch/mips/Kconfig
+++ b/arch/mips/Kconfig
@@ -2230,7 +2230,8 @@ config CPU_R4K_CACHE_TLB
config MIPS_MT_SMP
bool "MIPS MT SMP support (1 TC on each available VPE)"
default y
- depends on SYS_SUPPORTS_MULTITHREADING && !CPU_MIPSR6 && !CPU_MICROMIPS
+ depends on TARGET_ISA_REV > 0 && TARGET_ISA_REV < 6
+ depends on SYS_SUPPORTS_MULTITHREADING && !CPU_MICROMIPS
select CPU_MIPSR2_IRQ_VI
select CPU_MIPSR2_IRQ_EI
select SYNC_R4K