MIPS: Implement microMIPS MT ASE helpers
authorJiaxun Yang <jiaxun.yang@flygoat.com>
Fri, 2 Feb 2024 18:21:46 +0000 (18:21 +0000)
committerThomas Bogendoerfer <tsbogend@alpha.franken.de>
Fri, 23 Feb 2024 09:13:47 +0000 (10:13 +0100)
commitdd6d29a6148990bb1d39a37c6c2830e6daf9cb46
tree4e58438ccd2a82353c136b61ec0b752014ca2bd8
parent74efddad96fb37f66906850da0ab9cca59446e49
MIPS: Implement microMIPS MT ASE helpers

Implement various microMIPS MT ASE helpers accroading to:

MIPS® Architecture for Programmers
Volume IV-f: The MIPS® MT Module for the microMIPS32™ Architecture

Fixes build error:
{standard input}:2616: Error: branch to a symbol in another ISA mode

This make MT ASE available on microMIPS as well.

Boot tested on M5150 with microMIPS enabled on M5150.

Signed-off-by: Jiaxun Yang <jiaxun.yang@flygoat.com>
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
arch/mips/include/asm/asmmacro.h
arch/mips/include/asm/mipsmtregs.h
arch/mips/include/asm/mipsregs.h
arch/mips/kernel/vpe-mt.c