mips: add asm/mipsmtregs.h for MIPS multi-threading
authorWeijie Gao <weijie.gao@mediatek.com>
Fri, 20 May 2022 03:21:34 +0000 (11:21 +0800)
committerDaniel Schwierzeck <daniel.schwierzeck@gmail.com>
Wed, 13 Jul 2022 21:03:37 +0000 (23:03 +0200)
commit1cca8ba9ec34dcdf14c492b21a7366bba22617ec
tree283fde9519e00f4ffa4d1a75843546cfb14eb1cc
parent357fa8bb4d40abf411a6cca70f5a2dd6413028ea
mips: add asm/mipsmtregs.h for MIPS multi-threading

To be compatible with old u-boot used by lots of MT7621 devices, the u-boot
needs to boot-up MT7621's all cores, and all VPES of each core.

This patch adds asm/mipsmtregs.h from linux kernel which is need for
boot-up VPEs.

Reviewed-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
Signed-off-by: Weijie Gao <weijie.gao@mediatek.com>
arch/mips/include/asm/mipsmtregs.h [new file with mode: 0644]