]> asedeno.scripts.mit.edu Git - linux.git/commit
MIPS: X1830: Add X1830 system type.
author周琰杰 (Zhou Yanjie) <zhouyanjie@wanyeetech.com>
Mon, 9 Dec 2019 05:10:25 +0000 (13:10 +0800)
committerPaul Burton <paulburton@kernel.org>
Thu, 9 Jan 2020 17:48:42 +0000 (09:48 -0800)
commitb9bb868e2fc169b7917392eb41c84bc7436a8022
treede506cf5bc434f0610bb514645a8ca66100f6ff9
parent0cd2c6e5701eddd29abe34b45fc69141594a9950
MIPS: X1830: Add X1830 system type.

1.Add X1830 system type for cat /proc/cpuinfo to give out X1830.
2.Change "PRID_IMP_XBURST" to "PRID_IMP_XBURST_REV1" and add a
  new "PRID_IMP_XBURST_REV2" for new Ingenic CPUs which has
  XBurst with MXU2 SIMD ISA.

Notice:
1."PRID_IMP_XBURST_REV2" is corresponds to the latest XBurst
  processor with 128bit MXU2 SIMD instruction set, not the upcoming
  XBurst2 processor. This version of the processors fixes issues
  such as BTB and HPTLB.
2.In order to simplify and reuse the code, the "c->cputype" and
  the "c->writecombine" and the "__cpu_name[cpu]" in the original
  "PRID_IMP_XBURST" (now is "PRID_IMP_XBURST_REV1") are removed,
  and the corresponding settings are abtained through fall-through
  to "PRID_IMP_XBURST_REV2", which will cause the name that was
  previously mistakenly called "JZRISC" to become to the real name
  "XBurst".

Signed-off-by: 周琰杰 (Zhou Yanjie) <zhouyanjie@wanyeetech.com>
Signed-off-by: Paul Burton <paulburton@kernel.org>
Cc: linux-mips@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
Cc: yamada.masahiro@socionext.com
Cc: tglx@linutronix.de
Cc: chenhc@lemote.com
Cc: tbogendoerfer@suse.de
Cc: paul.burton@mips.com
Cc: paul@crapouillou.net
Cc: jhogan@kernel.org
Cc: fancer.lancer@gmail.com
Cc: ralf@linux-mips.org
Cc: jiaxun.yang@flygoat.com
arch/mips/include/asm/bootinfo.h
arch/mips/include/asm/cpu.h
arch/mips/jz4740/setup.c
arch/mips/kernel/cpu-probe.c