[PATCH -queue v0 0/6] add support for Lemote's fuloong2f

From: Wu Zhangjin
Date: Wed Nov 04 2009 - 04:03:08 EST


This patchset add the basic support for fuloong2f machine made by Lemote.

fuloong2f is a loongson2f based machine, it use the 2F revision of loongson
processor and AMD cs5536 south bridge.

The 2E revision of loongson processor is supported by the mainline kernel yet,
what we added here is the 2F specific support, including a new address window
configuration module support and the cpu frequency configuration support.

And for the AMD cs5536 south bridge, we add relative source code to virtualize
the PCI configure space to allow it can be accessed as a normal multi-function
PCI device which follows the PCI-2.2 spec.

Besides, the rtc and oprofile support for fuloong2f are also added.

Regards,
Wu Zhangjin

Wu Zhangjin (6):
[loongson] add basic loongson-2f support
[loongson] oprofile: avoid do_IRQ for perfcounter when the interrupt
is from bonito
[loongson] add basic cs5536 vsm support
[loongson] add basic fuloong2f support
[loongson] rtc: enable legacy RTC driver on fuloong2f
[loongson] add default config file for fuloong2f

arch/mips/Kconfig | 20 +-
arch/mips/Makefile | 3 +
arch/mips/configs/fuloong2f_defconfig | 1608 ++++++++++++++++++++
.../mips/include/asm/mach-loongson/cs5536/cs5536.h | 305 ++++
.../include/asm/mach-loongson/cs5536/cs5536_pci.h | 153 ++
.../include/asm/mach-loongson/cs5536/cs5536_vsm.h | 31 +
.../mips/include/asm/mach-loongson/dma-coherence.h | 4 +
arch/mips/include/asm/mach-loongson/loongson.h | 84 +-
arch/mips/include/asm/mach-loongson/machine.h | 8 +-
arch/mips/include/asm/mach-loongson/mem.h | 25 +-
arch/mips/include/asm/mach-loongson/pci.h | 28 +-
arch/mips/loongson/Kconfig | 33 +
arch/mips/loongson/Makefile | 6 +
arch/mips/loongson/common/Makefile | 6 +
arch/mips/loongson/common/bonito-irq.c | 5 +
arch/mips/loongson/common/cs5536/Makefile | 8 +
arch/mips/loongson/common/cs5536/cs5536_acc.c | 150 ++
arch/mips/loongson/common/cs5536/cs5536_ehci.c | 160 ++
arch/mips/loongson/common/cs5536/cs5536_ide.c | 187 +++
arch/mips/loongson/common/cs5536/cs5536_isa.c | 322 ++++
arch/mips/loongson/common/cs5536/cs5536_ohci.c | 155 ++
arch/mips/loongson/common/cs5536/cs5536_pci.c | 89 ++
arch/mips/loongson/common/init.c | 18 +
arch/mips/loongson/common/mem.c | 17 +
arch/mips/loongson/common/pci.c | 8 +
arch/mips/loongson/fuloong-2f/Makefile | 5 +
arch/mips/loongson/fuloong-2f/irq.c | 114 ++
arch/mips/loongson/fuloong-2f/reset.c | 68 +
arch/mips/oprofile/op_model_loongson2.c | 3 +
arch/mips/pci/Makefile | 3 +-
arch/mips/pci/fixup-fuloong2f.c | 171 +++
arch/mips/pci/ops-fuloong2e.c | 154 --
arch/mips/pci/ops-loongson2.c | 207 +++
33 files changed, 3991 insertions(+), 167 deletions(-)
create mode 100644 arch/mips/configs/fuloong2f_defconfig
create mode 100644 arch/mips/include/asm/mach-loongson/cs5536/cs5536.h
create mode 100644 arch/mips/include/asm/mach-loongson/cs5536/cs5536_pci.h
create mode 100644 arch/mips/include/asm/mach-loongson/cs5536/cs5536_vsm.h
create mode 100644 arch/mips/loongson/common/cs5536/Makefile
create mode 100644 arch/mips/loongson/common/cs5536/cs5536_acc.c
create mode 100644 arch/mips/loongson/common/cs5536/cs5536_ehci.c
create mode 100644 arch/mips/loongson/common/cs5536/cs5536_ide.c
create mode 100644 arch/mips/loongson/common/cs5536/cs5536_isa.c
create mode 100644 arch/mips/loongson/common/cs5536/cs5536_ohci.c
create mode 100644 arch/mips/loongson/common/cs5536/cs5536_pci.c
create mode 100644 arch/mips/loongson/fuloong-2f/Makefile
create mode 100644 arch/mips/loongson/fuloong-2f/irq.c
create mode 100644 arch/mips/loongson/fuloong-2f/reset.c
create mode 100644 arch/mips/pci/fixup-fuloong2f.c
delete mode 100644 arch/mips/pci/ops-fuloong2e.c
create mode 100644 arch/mips/pci/ops-loongson2.c

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/