]> asedeno.scripts.mit.edu Git - linux.git/commit
MIPS: Treat Loongson Extensions as ASEs
authorJiaxun Yang <jiaxun.yang@flygoat.com>
Wed, 29 May 2019 08:42:59 +0000 (16:42 +0800)
committerPaul Burton <paul.burton@mips.com>
Mon, 26 Aug 2019 10:42:40 +0000 (11:42 +0100)
commitd2f965549006acb865c4638f1f030ebcefdc71f6
tree26e5afbb10f7bf38b51aa276cafd52ec3d9e9cad
parent322e577b02ab096aaf630caae93f18e1e67b775f
MIPS: Treat Loongson Extensions as ASEs

Recently, binutils had split Loongson-3 Extensions into four ASEs:
MMI, CAM, EXT, EXT2. This patch do the samething in kernel and expose
them in cpuinfo so applications can probe supported ASEs at runtime.

Signed-off-by: Jiaxun Yang <jiaxun.yang@flygoat.com>
Cc: Huacai Chen <chenhc@lemote.com>
Cc: Yunqiang Su <ysu@wavecomp.com>
Cc: stable@vger.kernel.org # v4.14+
Signed-off-by: Paul Burton <paul.burton@mips.com>
Cc: linux-mips@vger.kernel.org
arch/mips/include/asm/cpu-features.h
arch/mips/include/asm/cpu.h
arch/mips/kernel/cpu-probe.c
arch/mips/kernel/proc.c