linux_dsm_epyc7002/arch/mips/loongson/common
Huacai Chen e7841be50f MIPS: Add Loongson-3B support
Loongson-3B is a 8-cores processor. In general it looks like there are
two Loongson-3A integrated in one chip: 8 cores are separated into two
groups (two NUMA node), each node has its own local memory.

Of course there are some differences between one Loongson-3B and two
Loongson-3A. E.g., the base addresses of IPI registers of each node are
not the same; Loongson-3A use ChipConfig register to enable/disable
clock, but Loongson-3B use FreqControl register instead.

There are two revision of Loongson-3B, the first revision is called as
Loongson-3B1000, whose frequency is 1GHz and has a PRid 0x6306, the
second revision is called as Loongson-3B1500, whose frequency is 1.5GHz
and has a PRid 0x6307. Both revisions has a bug that clock cannot be
disabled at runtime, but this will be fixed in future.

Signed-off-by: Huacai Chen <chenhc@lemote.com>
Cc: John Crispin <john@phrozen.org>
Cc: Steven J. Hill <Steven.Hill@imgtec.com>
Cc: Aurelien Jarno <aurelien@aurel32.net>
Cc: linux-mips@linux-mips.org
Cc: Fuxin Zhang <zhangfx@lemote.com>
Cc: Zhangjin Wu <wuzhangjin@gmail.com>
Patchwork: https://patchwork.linux-mips.org/patch/7188/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
2014-07-30 21:47:00 +02:00
..
cs5536 MIPS: Lemote 2F: cs5536: mfgpt: use raw locks 2014-05-28 10:48:26 +02:00
bonito-irq.c MIPS: Whitespace cleanup. 2013-02-01 10:00:22 +01:00
cmdline.c MIPS: Whitespace cleanup. 2013-02-01 10:00:22 +01:00
dma-swiotlb.c MIPS: Loongson: Add swiotlb to support All-Memory DMA 2014-03-31 18:17:12 +02:00
early_printk.c MIPS: Whitespace cleanup. 2013-02-01 10:00:22 +01:00
env.c MIPS: Add Loongson-3B support 2014-07-30 21:47:00 +02:00
gpio.c MIPS: Whitespace cleanup. 2013-02-01 10:00:22 +01:00
init.c MIPS: Add NUMA support for Loongson-3 2014-07-30 21:46:19 +02:00
irq.c MIPS: Whitespace cleanup. 2013-02-01 10:00:22 +01:00
machtype.c MIPS: Loongson 3: Add Lemote-3A machtypes definition 2014-03-31 18:17:12 +02:00
Makefile MIPS: Loongson: Add swiotlb to support All-Memory DMA 2014-03-31 18:17:12 +02:00
mem.c MIPS: Loongson: Add UEFI-like firmware interface (LEFI) support 2014-03-31 18:17:12 +02:00
pci.c MIPS: Loongson: Add UEFI-like firmware interface (LEFI) support 2014-03-31 18:17:12 +02:00
platform.c MIPS: Whitespace cleanup. 2013-02-01 10:00:22 +01:00
pm.c MIPS: Loongson: Modify ChipConfig register definition 2014-07-30 21:46:00 +02:00
reset.c MIPS: Loongson: Add UEFI-like firmware interface (LEFI) support 2014-03-31 18:17:12 +02:00
rtc.c MIPS: Loongson: Define rtc device on MC146818-equipped systems 2010-07-05 17:17:32 +01:00
serial.c MIPS: Loongson 3: Add serial port support 2014-03-31 18:17:12 +02:00
setup.c MIPS: Loongson 3: Add Loongson-3 SMP support 2014-03-31 18:17:12 +02:00
time.c MIPS: Whitespace cleanup. 2013-02-01 10:00:22 +01:00
uart_base.c MIPS: Loongson 3: Add serial port support 2014-03-31 18:17:12 +02:00