This patchset is to add toolchain feature detection for most MIPS CPUs by adding more toolchain feature detections and fixing -march CFLAGS. Thanks Jiaxun Jiaxun Yang (7): MIPS: Move various toolchain ASE check to Kconfig MIPS: Add toolchain feature dependency for microMIPS smartMIPS MIPS: Detect toolchain support of workarounds in Kconfig MIPS: Detect toolchain support of o32 ABI with 64 bit CPU MIPS: Remove cc-option checks for -march=octeon MIPS: Fallback CPU -march CFLAG to ISA level if unsupported MIPS: Limit MIPS_MT_SMP support by ISA reversion arch/mips/Kconfig | 68 ++++++++++++++++++++++++++++--- arch/mips/Makefile | 70 +++++++++++--------------------- arch/mips/cavium-octeon/Kconfig | 1 + arch/mips/crypto/crc32-mips.c | 4 +- arch/mips/include/asm/asmmacro.h | 8 ++-- arch/mips/include/asm/ginvt.h | 2 +- arch/mips/include/asm/mipsregs.h | 10 ++--- arch/mips/include/asm/msa.h | 4 +- 8 files changed, 101 insertions(+), 66 deletions(-) -- 2.39.2 (Apple Git-143)