Skip to content

Commit 74efdda

Browse files
FlyGoattsbogend
authored andcommitted
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 <[email protected]> Signed-off-by: Jiaxun Yang <[email protected]> Signed-off-by: Thomas Bogendoerfer <[email protected]>
1 parent 8a61869 commit 74efdda

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

arch/mips/Kconfig

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2230,7 +2230,8 @@ config CPU_R4K_CACHE_TLB
22302230
config MIPS_MT_SMP
22312231
bool "MIPS MT SMP support (1 TC on each available VPE)"
22322232
default y
2233-
depends on SYS_SUPPORTS_MULTITHREADING && !CPU_MIPSR6 && !CPU_MICROMIPS
2233+
depends on TARGET_ISA_REV > 0 && TARGET_ISA_REV < 6
2234+
depends on SYS_SUPPORTS_MULTITHREADING && !CPU_MICROMIPS
22342235
select CPU_MIPSR2_IRQ_VI
22352236
select CPU_MIPSR2_IRQ_EI
22362237
select SYNC_R4K

0 commit comments

Comments
 (0)