Time to give this another go. This time the license of Netlogic files are updated to a dual license. I'm not giving up hope yet :) As always, comments on code and licenses are welcome. Changes from last version(v2): * Netlogic files updated to use a dual license (GPLv2 or Netlogic 2-clause BSD license.) * irq.c updated to use new style of irq_data based handlers. * Rebased to latest linux-mips master tip. * Minor reshuffle of patches to group them better. Changes from last version(v1): * Initial 64-bit support * cleanup irq.c, don't use irq_desc[] directly * couple of checkpatch.pl white-space fixes Changes from last version(v0): * Remove c-netlogic.c for now, c-r4k works well enough for the first cut, so the custom cache handler can be considered later. * More elaborate asm/mach-netlogic/cpu-feature-overrides.h (noted by David Daney) These set of patches add support for the XLR and XLS multi-core MIPS64 SoCs from Netlogic Microsystems. These changes enable us to boot linux-mips on Netlogic evaluation boards from the netlogic bootloader. Jayachandran C (6): Netlogic XLR/XLS processor IDs. mach-netlogic include directory and files. Cache support, TLB support, asm/module.h entry Platform files for XLR/XLS processor support Kconfig and Makefile update for Netlogic XLR/XLS Add default configuration for XLR/XLS processors arch/mips/Kconfig | 42 + arch/mips/Makefile | 12 + arch/mips/configs/nlm_xlr_defconfig | 1705 ++++++++++++++++++++ arch/mips/include/asm/cpu.h | 27 + .../asm/mach-netlogic/cpu-feature-overrides.h | 47 + arch/mips/include/asm/mach-netlogic/irq.h | 14 + arch/mips/include/asm/mach-netlogic/war.h | 26 + arch/mips/include/asm/module.h | 2 + arch/mips/include/asm/netlogic/interrupt.h | 45 + arch/mips/include/asm/netlogic/mips-extns.h | 76 + arch/mips/include/asm/netlogic/psb-bootinfo.h | 109 ++ arch/mips/include/asm/netlogic/xlr/gpio.h | 73 + arch/mips/include/asm/netlogic/xlr/iomap.h | 131 ++ arch/mips/include/asm/netlogic/xlr/pic.h | 231 +++ arch/mips/include/asm/netlogic/xlr/xlr.h | 54 + arch/mips/kernel/Makefile | 1 + arch/mips/kernel/cpu-probe.c | 55 + arch/mips/lib/Makefile | 1 + arch/mips/mm/Makefile | 1 + arch/mips/mm/c-r4k.c | 1 + arch/mips/mm/tlbex.c | 1 + arch/mips/netlogic/Kconfig | 5 + arch/mips/netlogic/xlr/Makefile | 5 + arch/mips/netlogic/xlr/irq.c | 221 +++ arch/mips/netlogic/xlr/platform.c | 100 ++ arch/mips/netlogic/xlr/setup.c | 188 +++ arch/mips/netlogic/xlr/smp.c | 225 +++ arch/mips/netlogic/xlr/smpboot.S | 94 ++ arch/mips/netlogic/xlr/time.c | 51 + arch/mips/netlogic/xlr/xlr_console.c | 46 + 30 files changed, 3589 insertions(+), 0 deletions(-) create mode 100644 arch/mips/configs/nlm_xlr_defconfig create mode 100644 arch/mips/include/asm/mach-netlogic/cpu-feature-overrides.h create mode 100644 arch/mips/include/asm/mach-netlogic/irq.h create mode 100644 arch/mips/include/asm/mach-netlogic/war.h create mode 100644 arch/mips/include/asm/netlogic/interrupt.h create mode 100644 arch/mips/include/asm/netlogic/mips-extns.h create mode 100644 arch/mips/include/asm/netlogic/psb-bootinfo.h create mode 100644 arch/mips/include/asm/netlogic/xlr/gpio.h create mode 100644 arch/mips/include/asm/netlogic/xlr/iomap.h create mode 100644 arch/mips/include/asm/netlogic/xlr/pic.h create mode 100644 arch/mips/include/asm/netlogic/xlr/xlr.h create mode 100644 arch/mips/netlogic/Kconfig create mode 100644 arch/mips/netlogic/xlr/Makefile create mode 100644 arch/mips/netlogic/xlr/irq.c create mode 100644 arch/mips/netlogic/xlr/platform.c create mode 100644 arch/mips/netlogic/xlr/setup.c create mode 100644 arch/mips/netlogic/xlr/smp.c create mode 100644 arch/mips/netlogic/xlr/smpboot.S create mode 100644 arch/mips/netlogic/xlr/time.c create mode 100644 arch/mips/netlogic/xlr/xlr_console.c -- Jayachandran C. jayachandranc@xxxxxxxxxxxxxxxxx (Netlogic Microsystems) jchandra@xxxxxxxxxxx (The FreeBSD Project)