]> git.baikalelectronics.ru Git - kernel.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)
commited761ff2e4794c6d45ecc89feec8a2d54e3daf12
treede506cf5bc434f0610bb514645a8ca66100f6ff9
parent69cc933d4b85060fc1a1d869396b4c15fff21117
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