Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752154AbXCAEPW (ORCPT ); Wed, 28 Feb 2007 23:15:22 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752160AbXCAEPW (ORCPT ); Wed, 28 Feb 2007 23:15:22 -0500 Received: from nwd2mail10.analog.com ([137.71.25.55]:5483 "EHLO nwd2mail10.analog.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752154AbXCAEPU convert rfc822-to-8bit (ORCPT ); Wed, 28 Feb 2007 23:15:20 -0500 X-IronPort-AV: i="4.14,233,1170651600"; d="scan'208"; a="29445823:sNHT29084958" Subject: [PATCH -mm 1/5] Blackfin: blackfin architecture patch update From: "Wu, Bryan" Reply-To: bryan.wu@analog.com To: Andrew Morton , linux-kernel@vger.kernel.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8BIT Organization: Analog Devices, Inc. Date: Thu, 01 Mar 2007 12:14:40 +0800 Message-Id: <1172722480.5264.75.camel@roc-desktop> Mime-Version: 1.0 X-Mailer: Evolution 2.6.1 Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 18787 Lines: 325 Hi folks, Here is the update version of blackfin-arch.patch in -mm tree. simply add support to utrace and it was tested on blackfin STAMP board as well as other following patches. The whole patch is located at URL: https://blackfin.uclinux.org/gf/download/frsrelease/39/2583/blackfin-arch.patch The incremental patch is located at URL: https://blackfin.uclinux.org/gf/download/frsrelease/39/2584/blackfin-arch-mm2-update.patch [PATCH] Blackfin Architecture This adds support for the Analog Devices Blackfin processor architecture, and currently supports the BF533, BF532, BF531, BF537, BF536, BF534, and BF561 (Dual Core) devices, with a variety of development platforms including those avaliable from Analog Devices (BF533-EZKit, BF533-STAMP, BF537-STAMP, BF561-EZKIT), and Bluetechnix! Tinyboards. The Blackfin architecture was jointly developed by Intel and Analog Devices Inc. (ADI) as the Micro Signal Architecture (MSA) core and introduced it in December of 2000. Since then ADI has put this core into it’s Blackfin processor family of devices. The Blackfin core has the advantages of a clean, orthogonal,RISC-like microprocessor instruction set. It combines a dual‑MAC (Multiply/Accumulate), state‑of‑the‑art signal processing engine and single-instruction, multiple‑data (SIMD) multimedia capabilities into a single instruction-set architecture. The Blackfin architecture, including the instruction set, is described by the ADSP-BF53x/BF56x Blackfin® Processor Programming Reference http://blackfin.uclinux.org/gf/download/frsrelease/29/2549/Blackfin_PRM.pdf The Blackfin processor is already supported by major releases of gcc, and there are binary and source rpms/tarballs for many architectures at: http://blackfin.uclinux.org/gf/project/toolchain/frs There is complete documentation, including "getting started" guides available at: http://docs.blackfin.uclinux.org/ which provides links to the sources and patches you will need in order to set up a cross-compiling environment for bfin-linux-uclibc This patch, as well as the other patches (toolchain, distribution, uClibc) are actively supported by Analog Devices Inc, at: http://blackfin.uclinux.org/ We have tested this on LTP, and our test plan (including pass/fails) can be found at: http://docs.blackfin.uclinux.org/doku.php?id=testing_the_linux_kernel Signed-off-by: Bryan Wu Signed-off-by: Andrew Morton --- arch/blackfin/Kconfig | 989 ++++++++ arch/blackfin/Makefile | 81 arch/blackfin/boot/Makefile | 27 arch/blackfin/defconfig | 1314 +++++++++++ arch/blackfin/kernel/Makefile | 13 arch/blackfin/kernel/asm-offsets.c | 140 + arch/blackfin/kernel/bfin_dma_5xx.c | 747 ++++++ arch/blackfin/kernel/bfin_gpio.c | 654 +++++ arch/blackfin/kernel/bfin_ksyms.c | 119 arch/blackfin/kernel/dma-mapping.c | 174 + arch/blackfin/kernel/dualcore_test.c | 51 arch/blackfin/kernel/entry.S | 96 arch/blackfin/kernel/init_task.c | 63 arch/blackfin/kernel/irqchip.c | 149 + arch/blackfin/kernel/module.c | 431 +++ arch/blackfin/kernel/process.c | 398 +++ arch/blackfin/kernel/ptrace.c | 421 +++ arch/blackfin/kernel/setup.c | 921 +++++++ arch/blackfin/kernel/signal.c | 436 +++ arch/blackfin/kernel/sys_bfin.c | 133 + arch/blackfin/kernel/time.c | 330 ++ arch/blackfin/kernel/traps.c | 666 +++++ arch/blackfin/kernel/vmlinux.lds.S | 221 + arch/blackfin/lib/Makefile | 11 arch/blackfin/lib/ashldi3.c | 60 arch/blackfin/lib/ashrdi3.c | 61 arch/blackfin/lib/checksum.c | 142 + arch/blackfin/lib/divsi3.S | 217 + arch/blackfin/lib/gcclib.h | 49 arch/blackfin/lib/ins.S | 71 arch/blackfin/lib/lshrdi3.c | 74 arch/blackfin/lib/memchr.S | 65 arch/blackfin/lib/memcmp.S | 110 arch/blackfin/lib/memcpy.S | 135 + arch/blackfin/lib/memmove.S | 103 arch/blackfin/lib/memset.S | 109 arch/blackfin/lib/modsi3.S | 81 arch/blackfin/lib/muldi3.c | 101 arch/blackfin/lib/outs.S | 64 arch/blackfin/lib/smulsi3_highpart.S | 30 arch/blackfin/lib/strcmp.c | 11 arch/blackfin/lib/strcpy.c | 11 arch/blackfin/lib/strncmp.c | 11 arch/blackfin/lib/strncpy.c | 11 arch/blackfin/lib/udivsi3.S | 300 ++ arch/blackfin/lib/umodsi3.S | 68 arch/blackfin/lib/umulsi3_highpart.S | 23 arch/blackfin/mach-bf533/Kconfig | 92 arch/blackfin/mach-bf533/Makefile | 9 arch/blackfin/mach-bf533/boards/Makefile | 8 arch/blackfin/mach-bf533/boards/cm_bf533.c | 271 ++ arch/blackfin/mach-bf533/boards/ezkit.c | 231 + arch/blackfin/mach-bf533/boards/generic_board.c | 97 arch/blackfin/mach-bf533/boards/stamp.c | 328 ++ arch/blackfin/mach-bf533/cpu.c | 163 + arch/blackfin/mach-bf533/head.S | 776 ++++++ arch/blackfin/mach-bf533/ints-priority.c | 67 arch/blackfin/mach-bf537/Kconfig | 141 + arch/blackfin/mach-bf537/Makefile | 9 arch/blackfin/mach-bf537/boards/Makefile | 8 arch/blackfin/mach-bf537/boards/cm_bf537.c | 379 +++ arch/blackfin/mach-bf537/boards/generic_board.c | 464 +++ arch/blackfin/mach-bf537/boards/led.S | 183 + arch/blackfin/mach-bf537/boards/pnav10.c | 541 ++++ arch/blackfin/mach-bf537/boards/stamp.c | 624 +++++ arch/blackfin/mach-bf537/cpu.c | 163 + arch/blackfin/mach-bf537/head.S | 604 +++++ arch/blackfin/mach-bf537/ints-priority.c | 76 arch/blackfin/mach-bf561/Kconfig | 222 + arch/blackfin/mach-bf561/Makefile | 9 arch/blackfin/mach-bf561/boards/Makefile | 6 arch/blackfin/mach-bf561/boards/cm_bf561.c | 295 ++ arch/blackfin/mach-bf561/boards/ezkit.c | 151 + arch/blackfin/mach-bf561/boards/generic_board.c | 84 arch/blackfin/mach-bf561/coreb.c | 404 +++ arch/blackfin/mach-bf561/head.S | 514 ++++ arch/blackfin/mach-bf561/ints-priority.c | 110 arch/blackfin/mach-common/Makefile | 12 arch/blackfin/mach-common/cache.S | 255 ++ arch/blackfin/mach-common/cacheinit.S | 139 + arch/blackfin/mach-common/cplbhdlr.S | 132 + arch/blackfin/mach-common/cplbinfo.c | 213 + arch/blackfin/mach-common/cplbmgr.S | 609 +++++ arch/blackfin/mach-common/dpmc.S | 420 +++ arch/blackfin/mach-common/entry.S | 1209 ++++++++++ arch/blackfin/mach-common/interrupt.S | 255 ++ arch/blackfin/mach-common/ints-priority-dc.c | 473 +++ arch/blackfin/mach-common/ints-priority-sc.c | 580 ++++ arch/blackfin/mach-common/irqpanic.c | 196 + arch/blackfin/mach-common/lock.S | 206 + arch/blackfin/mach-common/pm.c | 183 + arch/blackfin/mm/Makefile | 5 arch/blackfin/mm/blackfin_sram.c | 537 ++++ arch/blackfin/mm/blackfin_sram.h | 40 arch/blackfin/mm/init.c | 211 + arch/blackfin/mm/kmap.c | 84 arch/blackfin/oprofile/Kconfig | 29 arch/blackfin/oprofile/Makefile | 14 arch/blackfin/oprofile/common.c | 170 + arch/blackfin/oprofile/op_blackfin.h | 100 arch/blackfin/oprofile/op_model_bf533.c | 163 + arch/blackfin/oprofile/timer_int.c | 76 fs/Kconfig.binfmt | 2 include/asm-blackfin/Kbuild | 1 include/asm-blackfin/a.out.h | 25 include/asm-blackfin/atomic.h | 144 + include/asm-blackfin/auxvec.h | 4 include/asm-blackfin/bf5xx_timers.h | 209 + include/asm-blackfin/bfin-global.h | 120 + include/asm-blackfin/bfin5xx_spi.h | 170 + include/asm-blackfin/bfin_simple_timer.h | 13 include/asm-blackfin/bfin_spi_channel.h | 182 + include/asm-blackfin/bfin_sport.h | 177 + include/asm-blackfin/bitops.h | 213 + include/asm-blackfin/blackfin.h | 56 include/asm-blackfin/bug.h | 15 include/asm-blackfin/bugs.h | 16 include/asm-blackfin/byteorder.h | 48 include/asm-blackfin/cache.h | 18 include/asm-blackfin/cacheflush.h | 91 include/asm-blackfin/checksum.h | 101 include/asm-blackfin/cplb.h | 51 include/asm-blackfin/cplbinit.h | 205 + include/asm-blackfin/cpumask.h | 6 include/asm-blackfin/cputime.h | 6 include/asm-blackfin/current.h | 23 include/asm-blackfin/delay.h | 44 include/asm-blackfin/device.h | 7 include/asm-blackfin/div64.h | 1 include/asm-blackfin/dma-mapping.h | 73 include/asm-blackfin/dma.h | 203 + include/asm-blackfin/dpmc.h | 66 include/asm-blackfin/elf.h | 127 + include/asm-blackfin/emergency-restart.h | 6 include/asm-blackfin/entry.h | 61 include/asm-blackfin/errno.h | 6 include/asm-blackfin/fcntl.h | 13 include/asm-blackfin/flat.h | 130 + include/asm-blackfin/futex.h | 6 include/asm-blackfin/gpio.h | 369 +++ include/asm-blackfin/hardirq.h | 41 include/asm-blackfin/hw_irq.h | 6 include/asm-blackfin/ide.h | 32 include/asm-blackfin/io.h | 152 + include/asm-blackfin/ioctl.h | 1 include/asm-blackfin/ioctls.h | 82 include/asm-blackfin/ipc.h | 1 include/asm-blackfin/ipcbuf.h | 30 include/asm-blackfin/irq.h | 72 include/asm-blackfin/irq_regs.h | 1 include/asm-blackfin/kmap_types.h | 21 include/asm-blackfin/l1layout.h | 31 include/asm-blackfin/linkage.h | 7 include/asm-blackfin/local.h | 6 include/asm-blackfin/mach-bf533/anomaly.h | 176 + include/asm-blackfin/mach-bf533/bf533.h | 308 ++ include/asm-blackfin/mach-bf533/bfin_serial_5xx.h | 108 include/asm-blackfin/mach-bf533/blackfin.h | 46 include/asm-blackfin/mach-bf533/cdefBF532.h | 707 +++++ include/asm-blackfin/mach-bf533/defBF532.h | 1178 +++++++++ include/asm-blackfin/mach-bf533/dma.h | 56 include/asm-blackfin/mach-bf533/irq.h | 178 + include/asm-blackfin/mach-bf533/mem_init.h | 316 ++ include/asm-blackfin/mach-bf533/mem_map.h | 169 + include/asm-blackfin/mach-bf535/bf535.h | 1277 ++++++++++ include/asm-blackfin/mach-bf535/bf535_serial.h | 109 include/asm-blackfin/mach-bf535/blackfin.h | 43 include/asm-blackfin/mach-bf535/cdefBF535.h | 121 + include/asm-blackfin/mach-bf535/cdefblackfin.h | 69 include/asm-blackfin/mach-bf535/defBF535.h | 1818 +++++++++++++++ include/asm-blackfin/mach-bf535/defblackfin.h | 444 +++ include/asm-blackfin/mach-bf535/irq.h | 125 + include/asm-blackfin/mach-bf537/anomaly.h | 120 + include/asm-blackfin/mach-bf537/bf537.h | 289 ++ include/asm-blackfin/mach-bf537/bfin_serial_5xx.h | 147 + include/asm-blackfin/mach-bf537/blackfin.h | 430 +++ include/asm-blackfin/mach-bf537/cdefBF534.h | 1823 +++++++++++++++ include/asm-blackfin/mach-bf537/cdefBF537.h | 209 + include/asm-blackfin/mach-bf537/defBF534.h | 2502 +++++++++++++++++++++ include/asm-blackfin/mach-bf537/defBF537.h | 404 +++ include/asm-blackfin/mach-bf537/dma.h | 55 include/asm-blackfin/mach-bf537/irq.h | 219 + include/asm-blackfin/mach-bf537/mem_init.h | 330 ++ include/asm-blackfin/mach-bf537/mem_map.h | 182 + include/asm-blackfin/mach-bf561/anomaly.h | 185 + include/asm-blackfin/mach-bf561/bf561.h | 410 +++ include/asm-blackfin/mach-bf561/bfin_serial_5xx.h | 108 include/asm-blackfin/mach-bf561/blackfin.h | 53 include/asm-blackfin/mach-bf561/cdefBF561.h | 1544 ++++++++++++ include/asm-blackfin/mach-bf561/defBF561.h | 1718 ++++++++++++++ include/asm-blackfin/mach-bf561/dma.h | 36 include/asm-blackfin/mach-bf561/irq.h | 451 +++ include/asm-blackfin/mach-bf561/mem_init.h | 322 ++ include/asm-blackfin/mach-bf561/mem_map.h | 77 include/asm-blackfin/mach-common/cdef_LPBlackfin.h | 474 +++ include/asm-blackfin/mach-common/context.S | 350 ++ include/asm-blackfin/mach-common/def_LPBlackfin.h | 694 +++++ include/asm-blackfin/macros.h | 95 include/asm-blackfin/mem_map.h | 12 include/asm-blackfin/mman.h | 45 include/asm-blackfin/mmu.h | 30 include/asm-blackfin/mmu_context.h | 131 + include/asm-blackfin/module.h | 19 include/asm-blackfin/msgbuf.h | 31 include/asm-blackfin/mutex.h | 9 include/asm-blackfin/namei.h | 19 include/asm-blackfin/page.h | 89 include/asm-blackfin/page_offset.h | 6 include/asm-blackfin/param.h | 22 include/asm-blackfin/pci.h | 148 + include/asm-blackfin/percpu.h | 6 include/asm-blackfin/pgalloc.h | 8 include/asm-blackfin/pgtable.h | 70 include/asm-blackfin/poll.h | 24 include/asm-blackfin/posix_types.h | 65 include/asm-blackfin/processor.h | 105 include/asm-blackfin/ptrace.h | 166 + include/asm-blackfin/resource.h | 6 include/asm-blackfin/scatterlist.h | 26 include/asm-blackfin/sections.h | 7 include/asm-blackfin/segment.h | 7 include/asm-blackfin/semaphore-helper.h | 82 include/asm-blackfin/semaphore.h | 106 include/asm-blackfin/sembuf.h | 25 include/asm-blackfin/setup.h | 17 include/asm-blackfin/shmbuf.h | 42 include/asm-blackfin/shmparam.h | 6 include/asm-blackfin/sigcontext.h | 50 include/asm-blackfin/siginfo.h | 35 include/asm-blackfin/signal.h | 160 + include/asm-blackfin/socket.h | 52 include/asm-blackfin/sockios.h | 12 include/asm-blackfin/spinlock.h | 6 include/asm-blackfin/stat.h | 63 include/asm-blackfin/statfs.h | 6 include/asm-blackfin/string.h | 104 include/asm-blackfin/system.h | 253 ++ include/asm-blackfin/termbits.h | 184 + include/asm-blackfin/termios.h | 106 include/asm-blackfin/thread_info.h | 146 + include/asm-blackfin/timex.h | 18 include/asm-blackfin/tlb.h | 16 include/asm-blackfin/tlbflush.h | 62 include/asm-blackfin/topology.h | 6 include/asm-blackfin/tracehook.h | 79 include/asm-blackfin/traps.h | 75 include/asm-blackfin/types.h | 66 include/asm-blackfin/uaccess.h | 254 ++ include/asm-blackfin/ucontext.h | 30 include/asm-blackfin/unaligned.h | 6 include/asm-blackfin/unistd.h | 382 +++ include/asm-blackfin/user.h | 89 include/asm-blackfin/xor.h | 1 include/linux/elf-em.h | 1 include/linux/spi/ad7877.h | 24 include/linux/usb_sl811.h | 26 init/Kconfig | 2 lib/Kconfig.debug | 2 scripts/genksyms/genksyms.c | 3 scripts/mod/mk_elfconfig.c | 3 260 files changed, 51444 insertions(+), 5 deletions(-) https://blackfin.uclinux.org/gf/download/frsrelease/39/2583/blackfin-arch.patch --- Thanks -Bryan Wu - 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/