OSDN Git Service

MIPS: Ingenic: Fix bugs when detecting X1000's L2 cache.
authorZhou Yanjie <zhouyanjie@zoho.com>
Fri, 2 Aug 2019 08:27:36 +0000 (16:27 +0800)
committerPaul Burton <paul.burton@mips.com>
Tue, 6 Aug 2019 01:30:33 +0000 (18:30 -0700)
commit579de8f86b1cdc3f9ef105fca9f4539d99647ed1
treee4371f9f9ea614b2bcfbb71e9be2c02680be3695
parentdc7077f89ad9e16533ec1e507fabd8f427982f3e
MIPS: Ingenic: Fix bugs when detecting X1000's L2 cache.

1.fix bugs when detecting L2 cache sets value.
2.fix bugs when detecting L2 cache ways value.

Signed-off-by: Zhou Yanjie <zhouyanjie@zoho.com>
Signed-off-by: Paul Burton <paul.burton@mips.com>
Cc: linux-mips@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
Cc: ralf@linux-mips.org
Cc: paul@crapouillou.net
Cc: jhogan@kernel.org
Cc: malat@debian.org
Cc: gregkh@linuxfoundation.org
Cc: tglx@linutronix.de
Cc: allison@lohutok.net
Cc: syq@debian.org
Cc: chenhc@lemote.com
Cc: jiaxun.yang@flygoat.com
arch/mips/mm/sc-mips.c