MIPS: KVM: Limit Trap-and-Emulate to MIPS32R2 only
authorJiaxun Yang <jiaxun.yang@flygoat.com>
Fri, 10 Jul 2020 06:30:17 +0000 (14:30 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 3 Sep 2020 09:29:19 +0000 (11:29 +0200)
commitfcd0ea8ff7f8fa3f608a705b8a2f51ff8fc9b1ae
treeea14e00f709fb556a0d9841aa9bbe9f527cee936
parent7fafbbefb75802d1c179a0522565bf04e60f0966
MIPS: KVM: Limit Trap-and-Emulate to MIPS32R2 only

[ Upstream commit 01edc5e76ecfecf9a79eec2658f6146ef47bc816 ]

After tons of fixes to get Trap-and-Emulate build on Loongson64,
I've got panic on host machine when trying to run a VM.

I found that it can never work on 64bit systems. Revewing the
code, it looks like R6 can't supportrd by TE as well.

Signed-off-by: Jiaxun Yang <jiaxun.yang@flygoat.com>
Message-Id: <20200710063047.154611-3-jiaxun.yang@flygoat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
arch/mips/Kconfig
arch/mips/kvm/Kconfig