OSDN Git Service

MIPS: Ingenic: Disable HPTLB for D0 XBurst CPUs too
authorPaul Cercueil <paul@crapouillou.net>
Sat, 12 Dec 2020 00:03:54 +0000 (00:03 +0000)
committerThomas Bogendoerfer <tsbogend@alpha.franken.de>
Mon, 18 Jan 2021 14:24:02 +0000 (15:24 +0100)
commita5360958a3cd1d876aae1f504ae014658513e1af
treeada4c051a04687da0cf73aa343dd0421da1305e9
parent5373ae67c3aad1ab306cc722b5a80b831eb4d4d1
MIPS: Ingenic: Disable HPTLB for D0 XBurst CPUs too

The JZ4760 has the HPTLB as well, but has a XBurst CPU with a D0 CPUID.

Disable the HPTLB for all XBurst CPUs with a D0 CPUID. In the case where
there is no HPTLB (e.g. for older SoCs), this won't have any side
effect.

Fixes: b02efeb05699 ("MIPS: Ingenic: Disable abandoned HPTLB function.")
Cc: <stable@vger.kernel.org> # 5.4
Signed-off-by: Paul Cercueil <paul@crapouillou.net>
Reviewed-by: 周琰杰 (Zhou Yanjie) <zhouyanjie@wanyeetech.com>
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
arch/mips/kernel/cpu-probe.c