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 (5): 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: Fallback CPU -march CFLAG to ISA level if unsupported arch/mips/Kconfig | 66 +++++++++++++++++++++++++++++--- arch/mips/Makefile | 65 +++++++++++-------------------- 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, 98 insertions(+), 62 deletions(-) -- 2.39.2 (Apple Git-143)