Re: [PATCH] MIPS: set mips32r5 for virt extensions

From: Thomas Bogendoerfer
Date: Tue Jun 29 2021 - 04:33:39 EST


On Mon, Jun 28, 2021 at 02:50:26PM -0700, Nick Desaulniers wrote:
> Clang's integrated assembler only accepts these instructions when the
> cpu is set to mips32r5. With this change, we can assemble
> malta_defconfig with Clang via `make LLVM_IAS=1`.
>
> Link: https://github.com/ClangBuiltLinux/linux/issues/763
> Reported-by: Dmitry Golovin <dima@xxxxxxxxxx>
> Signed-off-by: Nick Desaulniers <ndesaulniers@xxxxxxxxxx>
> ---
> arch/mips/include/asm/mipsregs.h | 8 ++++----
> 1 file changed, 4 insertions(+), 4 deletions(-)

applied to mips-next.

Thomas.

--
Crap can work. Given enough thrust pigs will fly, but it's not necessarily a
good idea. [ RFC1925, 2.3 ]