Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754746AbZKDJC4 (ORCPT ); Wed, 4 Nov 2009 04:02:56 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751655AbZKDJCz (ORCPT ); Wed, 4 Nov 2009 04:02:55 -0500 Received: from mail-pz0-f188.google.com ([209.85.222.188]:57914 "EHLO mail-pz0-f188.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751012AbZKDJCv (ORCPT ); Wed, 4 Nov 2009 04:02:51 -0500 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:cc:subject:date:message-id:x-mailer; b=H3Ki0AWBK6VH9brXJ3DMWBS+ebc+Nt11dKXycR7UqTG2B/KB/VDSP9YvX+oqZCAlfH SPuqzhMixjhWVCqLDWNfI1Z3i0quNWcTMmpVahKwXOHylxJGxwi12auSDhuY/4STn1lu J38Ud7FtcRSONUAj9AoWtOJogUQRei/A00H/s= From: Wu Zhangjin To: Ralf Baechle Cc: Wu Zhangjin , linux-mips@linux-mips.org, LKML , huhb@lemote.com, yanh@lemote.com, Zhang Le , Thomas Gleixner , Nicholas Mc Guire , zhangfx@lemote.com Subject: [PATCH -queue v0 0/6] add support for Lemote's fuloong2f Date: Wed, 4 Nov 2009 17:02:44 +0800 Message-Id: X-Mailer: git-send-email 1.6.2.1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 4484 Lines: 84 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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/