MIPS: Loongson64: Do not override watch and ejtag feature
authorJiaxun Yang <jiaxun.yang@flygoat.com>
Sat, 8 Aug 2020 12:32:27 +0000 (20:32 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 17 Sep 2020 11:55:32 +0000 (13:55 +0200)
commit83cadef120e6f745e51df04aa40598405aa1d1c8
treed3bfebf859ac82ad106b97bda9e016901ecb0bbf
parent36120307971e4a25d4571a0cbd25e1ba7711eee7
MIPS: Loongson64: Do not override watch and ejtag feature

[ Upstream commit 433c1ca0d441ee0b88fdd83c84ee6d6d43080dcd ]

Do not override ejtag feature to 0 as Loongson 3A1000+ do have ejtag.
For watch, as KVM emulated CPU doesn't have watch feature, we should
not enable it unconditionally.

Signed-off-by: Jiaxun Yang <jiaxun.yang@flygoat.com>
Reviewed-by: Huacai Chen <chenhc@lemote.com>
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Signed-off-by: Sasha Levin <sashal@kernel.org>
arch/mips/include/asm/mach-loongson64/cpu-feature-overrides.h