[PATCH 44/47] Minor fixes for CRISv32 io.h

2007-12-06 Thread Jesper Nilsson
- Shorten include paths for machine dependent header files. - Add volatile to hardeware register pointers. - Add spinlocks around critical region. - Expand macros for handling of leds. Signed-off-by: Jesper Nilsson <[EMAIL PROTECTED]> --- include/asm-cris/arch-v32/io.h

[PATCH 42/47] Minor updates to CRISv32 kernel/process.c

2007-12-06 Thread Jesper Nilsson
- Shorten include paths for machine dependent header files. - Remove unused extern declaration of etrax_gpio_wake_up_check. - Register name for first timer is now regi_timer0. Signed-off-by: Jesper Nilsson <[EMAIL PROTECTED]> --- arch/cris/arch-v32/kernel/process.c | 16 ++---

[PATCH 43/47] Update and improve CRISv32 kernel/traps.c

2007-12-06 Thread Jesper Nilsson
- Remove watchdog handling, handled elsewhere. - Shorten include paths to machine dependent header files. - Remove raw_printk hack, we now use oops_in_progress instead. - Add handling of BUG for exception handlers (break 14). - Formatting and whitespace changes. Signed-off-by: Jesper Nilsson

[PATCH 40/47] Update CRISv32 kernel/head.S

2007-12-06 Thread Jesper Nilsson
l2cache. Signed-off-by: Jesper Nilsson <[EMAIL PROTECTED]> --- arch/cris/arch-v32/kernel/head.S | 202 +- 1 files changed, 114 insertions(+), 88 deletions(-) diff --git a/arch/cris/arch-v32/kernel/head.S b/arch/cris/arch-v32/kernel/head.S index 2

[PATCH 41/47] Update and simplify CRISv32 kernel/irq.c.

2007-12-06 Thread Jesper Nilsson
. Signed-off-by: Jesper Nilsson <[EMAIL PROTECTED]> --- arch/cris/arch-v32/kernel/irq.c | 274 +++ 1 files changed, 193 insertions(+), 81 deletions(-) diff --git a/arch/cris/arch-v32/kernel/irq.c b/arch/cris/arch-v32/kernel/irq.c index a9acaa2..173c141

[PATCH 38/47] Include path fix for CRISv32 timex.h

2007-12-06 Thread Jesper Nilsson
- Shorten include path for machine dependent header files. - Correct some formatting issues. Signed-off-by: Jesper Nilsson <[EMAIL PROTECTED]> --- include/asm-cris/arch-v32/timex.h |8 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/include/asm-cris/arch-v32/t

[PATCH 35/47] Update CRISv32 boot/compressed/misc.c

2007-12-06 Thread Jesper Nilsson
specific serial port setup. - Initialize pinmux for the correct serial port. Signed-off-by: Jesper Nilsson <[EMAIL PROTECTED]> --- arch/cris/arch-v32/boot/compressed/misc.c | 72 + 1 files changed, 53 insertions(+), 19 deletions(-) diff --git a/arch/cris/ar

[PATCH 33/47] Remove CRISv32 common gpio and nandflash, add mach-fs and mach-a3 as subdirs.

2007-12-06 Thread Jesper Nilsson
Also add board_mmcspi to build if ETRAX_SPI_MMC_BOARD is set. (Generic MMC SPI implementation) Signed-off-by: Jesper Nilsson <[EMAIL PROTECTED]> --- arch/cris/arch-v32/drivers/Makefile |5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/arch/cris/arch-v32/d

[PATCH 32/47] Update CRISv32 boot rescue Kbuild makefile.

2007-12-06 Thread Jesper Nilsson
- Remove old specific targets, use more generic ones instead. - Use if_changed to avoid creating new images when no change. - Use EXTRA_CFLAGS instead of CFLAGS. Signed-off-by: Jesper Nilsson <[EMAIL PROTECTED]> --- arch/cris/arch-v32/boot/rescue/Makefile

[PATCH 31/47] Update CRISv32 boot compressed Kbuild makefile.

2007-12-06 Thread Jesper Nilsson
- Remove old specific targets, use more generic ones instead. - Use if_changed to avoid creating new images when no change. - Use KBUILD_CFLAGS instead of CFLAGS. Signed-off-by: Jesper Nilsson <[EMAIL PROTECTED]> --- arch/cris/arch-v32/boot/compressed/Makefile

[PATCH 34/47] Update CRISv32 compressed head.S

2007-12-06 Thread Jesper Nilsson
- Fixes for NAND and NOR flash booting. - Use assembler macros for common tasks (clocks, general io etc) - Use (EtraxFS or Artpec-3) machine specific include for dram and hardware init. Signed-off-by: Jesper Nilsson <[EMAIL PROTECTED]> --- arch/cris/arch-v32/boot/compressed/head.S

[PATCH 39/47] Update and improve CRISv32 fasttimer.c

2007-12-06 Thread Jesper Nilsson
in another OS. - Remove CVS log. Signed-off-by: Jesper Nilsson <[EMAIL PROTECTED]> --- arch/cris/arch-v32/kernel/fasttimer.c | 519 1 files changed, 195 insertions(+), 324 deletions(-) diff --git a/arch/cris/arch-v32/kernel/fasttimer.c b/arch/cris/ar

[PATCH 30/47] Update CRISv32 boot Kbuild makefile.

2007-12-06 Thread Jesper Nilsson
- Remove old specific targets, use more generic ones instead. - Use if_changed to avoid creating new images when no change. Signed-off-by: Jesper Nilsson <[EMAIL PROTECTED]> --- arch/cris/arch-v32/boot/Makefile | 23 +++ 1 files changed, 15 insertions(+), 8 del

[PATCH 36/47] Update CRISv32 boot/rescue/head.S code.

2007-12-06 Thread Jesper Nilsson
- Add ifdef for ETRAX_AXISFLASHMAP to avoid compiling file unless it is set. - Use assembler macros for setting up clocks. - Don't copy image, just jump to it (only works for NOR flash) Signed-off-by: Jesper Nilsson <[EMAIL PROTECTED]> --- arch/cris/arch-v32/boot/rescue/head.S

[PATCH 37/47] Update CRISv32 debugport.

2007-12-06 Thread Jesper Nilsson
register type names. - Correct some whitespace errors and formatting. Signed-off-by: Jesper Nilsson <[EMAIL PROTECTED]> --- arch/cris/arch-v32/kernel/debugport.c | 342 1 files changed, 43 insertions(+), 299 deletions(-) diff --git a/arch/cris/arch-v32/

[PATCH 28/47] Update and improve CRISv10 axisflashmap.c

2007-12-06 Thread Jesper Nilsson
- Add config to use mtd0 as whole flash device. - Fix whitespace errors. - Remove braces around single statement ifs. - Break long lines. - Remove unnecessary CVS log. Signed-off-by: Jesper Nilsson <[EMAIL PROTECTED]> --- arch/cris/arch-v10/drivers/axisflashmap.c

[PATCH 29/47] Update CRISv32 traps.c

2007-12-06 Thread Jesper Nilsson
- Remove raw_prink hack, use oops_in_progress instead. - When ETRAX_WATCHDOG_NICE_DOGGY is set, loop in trap after oops dump instead of rebooting. - Break long lines to less than 80 chars. - Fix whitespace errors. - Remove unnecessary comments. Signed-off-by: Jesper Nilsson <[EMAIL PROTEC

[PATCH 27/47] Update CRISv10 rescue head.s

2007-12-06 Thread Jesper Nilsson
- Correct whitespace problems. - Add ifdef for ETRAX_AXISFLASHMAP to avoid compile error when not set. Signed-off-by: Jesper Nilsson <[EMAIL PROTECTED]> --- arch/cris/arch-v10/boot/rescue/head.S | 117 + 1 files changed, 61 insertions(+), 56 deletions(-)

[PATCH 25/47] Update CRISv10 boot compressed Kbuild makefile.

2007-12-06 Thread Jesper Nilsson
- Remove old specific targets, use more generic ones instead. - Use if_changed to avoid creating new images when no change. - Use EXTRA_CFLAGS instead of CFLAGS. Signed-off-by: Jesper Nilsson <[EMAIL PROTECTED]> --- arch/cris/arch-v10/boot/compressed/Makefile | 48 ++-

[PATCH 26/47] Update CRISv10 rescue Kbuild makefile.

2007-12-06 Thread Jesper Nilsson
- Remove old specific targets, use more generic ones instead. - Use if_changed to avoid creating new images when no change. Removes a lot of cruft. - Use EXTRA_CFLAGS instead of CFLAGS. Signed-off-by: Jesper Nilsson <[EMAIL PROTECTED]> --- arch/cris/arch-v10/boot/rescue/Makefile

[PATCH 22/47] Update and improve axisflashmap for CRISv32.

2007-12-06 Thread Jesper Nilsson
- Use default partition table when no partition is found (for initial tests) - Add config ETRAX_AXISFLASHMAP_MTD0WHOLE to allow whole flash as mtd0. - Add config for VCS simulator connection. Signed-off-by: Jesper Nilsson <[EMAIL PROTECTED]> --- arch/cris/arch-v32/drivers/axisflashmap.c

[PATCH 23/47] Update CRIS main Kbuild makefile.

2007-12-06 Thread Jesper Nilsson
Add files to be cleaned in CLEAN_FILES instead of as archclean target. Signed-off-by: Jesper Nilsson <[EMAIL PROTECTED]> --- arch/cris/Makefile | 139 ++-- 1 files changed, 70 insertions(+), 69 deletions(-) diff --git a/arch/cris/Makefile b/arch/cri

[PATCH 24/47] Update CRISv10 boot Kbuild makefile.

2007-12-06 Thread Jesper Nilsson
- Remove old specific targets, use more generic ones instead. Signed-off-by: Jesper Nilsson <[EMAIL PROTECTED]> --- arch/cris/arch-v10/boot/Makefile | 24 1 files changed, 16 insertions(+), 8 deletions(-) diff --git a/arch/cris/arch-v10/boot/Makefile b/arch/cri

[PATCH 21/47] New version of CRISv32 I2C driver.

2007-12-06 Thread Jesper Nilsson
- Add i2c_write and i2c_read as functions. - Use spinlocks for critical regions. - Add config item to set I2C data and clock port. - Put unneeded testcode inside #if 0. - Remove CVS id tag. Signed-off-by: Jesper Nilsson <[EMAIL PROTECTED]> --- arch/cris/arch-v32/drivers/i2c.c

[PATCH 19/47] Update CRISv32 entry.S to working order.

2007-12-06 Thread Jesper Nilsson
- Remove oldset parameter. - Utilise delay-slot for parameter moving. - Add kernel_execve as break 13. - Add new kernel syscalls. Signed-off-by: Jesper Nilsson <[EMAIL PROTECTED]> --- arch/cris/arch-v32/kernel/entry.S | 82 + 1 files changed, 64 inse

[PATCH 20/47] Fixup CRISv32 kernel Makefile.

2007-12-06 Thread Jesper Nilsson
- Remove CRISv32 common arbiter, dma, io and pinmux files, they are now defined in machine dependent directories. - Add cache and cacheflush files for working around cache problems in CRISv32 chips. Signed-off-by: Jesper Nilsson <[EMAIL PROTECTED]> --- arch/cris/arch-v32/kernel/Ma

[PATCH 17/47] Add handling of PTRACE_DETATCH for CRISv32. Whitespace and formatting changes to avoid checkpatch errors.

2007-12-06 Thread Jesper Nilsson
Signed-off-by: Jesper Nilsson <[EMAIL PROTECTED]> --- arch/cris/arch-v32/kernel/ptrace.c | 13 + arch/cris/arch-v32/mm/Makefile |3 ++- 2 files changed, 11 insertions(+), 5 deletions(-) diff --git a/arch/cris/arch-v32/kernel/ptrace.c b/arch/cris/arch-v32/kernel/pt

[PATCH 15/47] Minor fixes to mm/fault.c for CRIS.

2007-12-06 Thread Jesper Nilsson
- Only disallow oops if we're in_interrupt context (was in_atomic before) - Use the generic oops_in_progress instead of the raw_printk hack. - Fix whitespace/formatting. - Remove CVS log entries. Signed-off-by: Jesper Nilsson <[EMAIL PROTECTED]> --- arch/cris/mm/fault.c

[PATCH 16/47] Minor CRIS generic kernel/traps.c changes.

2007-12-06 Thread Jesper Nilsson
- Collect extern declarations at top of file. - Change raw_printk to printk, use oops_in_progress instead. - Fix formatting and whitespace. - Allow the watchdog to be disabled during oops. Signed-off-by: Jesper Nilsson <[EMAIL PROTECTED]> --- arch/cris/kernel/traps.c

[PATCH 13/47] Add prototypes for cache flushing on CRISv32

2007-12-06 Thread Jesper Nilsson
We need these to work around some cache bugs in CRISv32 chips. Signed-off-by: Jesper Nilsson <[EMAIL PROTECTED]> --- include/asm-cris/arch-v32/cache.h | 11 +++ 1 files changed, 11 insertions(+), 0 deletions(-) diff --git a/include/asm-cris/arch-v32/cache.h b/include/asm-cri

[PATCH 14/47] Add headers for CRISv32 chips EtraxFS and Artpec-3.

2007-12-06 Thread Jesper Nilsson
Signed-off-by: Jesper Nilsson <[EMAIL PROTECTED]> --- include/asm-cris/Kbuild |3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/include/asm-cris/Kbuild b/include/asm-cris/Kbuild index 14498d5..7ce0692 100644 --- a/include/asm-cris/Kbuild +++ b/include/asm-cris/

[PATCH 18/47] Remove define ARCH_HAS_DMA_DECLARE_COHERENT_MEMORY from CRIS.

2007-12-06 Thread Jesper Nilsson
Signed-off-by: Jesper Nilsson <[EMAIL PROTECTED]> --- include/asm-cris/dma-mapping.h | 11 --- 1 files changed, 0 insertions(+), 11 deletions(-) diff --git a/include/asm-cris/dma-mapping.h b/include/asm-cris/dma-mapping.h index 662cea7..edc8d1b 100644 --- a/include/asm-cr

[PATCH 11/47] Minor fixes to CRISv32 irq defines.

2007-12-06 Thread Jesper Nilsson
- Include files using <> - Change NR_REAL_IRQS to be calculated from the other defines. - Set MACH_IRQS depending on the value of NR_REAL_IRQS. - Remove unused mask parameter to BUILD_IRQ macro. Signed-off-by: Jesper Nilsson <[EMAIL PROTECTED]> --- include/asm-cris/arch-v32/

[PATCH 12/47] Remove unnecessary CVS log from cris/mm/init.c

2007-12-06 Thread Jesper Nilsson
Signed-off-by: Jesper Nilsson <[EMAIL PROTECTED]> --- arch/cris/mm/init.c | 111 --- 1 files changed, 0 insertions(+), 111 deletions(-) diff --git a/arch/cris/mm/init.c b/arch/cris/mm/init.c index 0c833d1..4207a2b 100644 --- a/arch/cris/mm/

[PATCH 09/47] Update CRISv32 synchronous serial driver.

2007-12-06 Thread Jesper Nilsson
Now uses a DMA descriptor ring, which should avoid any unnecessary pauses in the streams. Signed-off-by: Jesper Nilsson <[EMAIL PROTECTED]> --- arch/cris/arch-v32/drivers/sync_serial.c | 940 +++--- 1 files changed, 599 insertions(+), 341 deletions(-) diff --git

[PATCH 10/47] Merge axisflashmap.h with Axis internal changes.

2007-12-06 Thread Jesper Nilsson
- Add partition table struct to be used to parse partition table in flash. - Add JFFS2 as a type, and add readoly flag. - Improve some comments. - Lindent has been run, fixing whitespace and formatting issues. Signed-off-by: Jesper Nilsson <[EMAIL PROTECTED]> --- include/asm-cris/axisflas

[PATCH 08/47] Add SECOND_WORD_SYNC, used in CRISv32 version of sync_serial.

2007-12-06 Thread Jesper Nilsson
Signed-off-by: Jesper Nilsson <[EMAIL PROTECTED]> --- include/asm-cris/sync_serial.h |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/include/asm-cris/sync_serial.h b/include/asm-cris/sync_serial.h index f930b6e..d87c24d 100644 --- a/include/asm-cris/sync_serial.h

[PATCH 07/47] Add L2 cache initialization code.

2007-12-06 Thread Jesper Nilsson
Signed-off-by: Jesper Nilsson <[EMAIL PROTECTED]> --- arch/cris/arch-v32/mm/l2cache.c | 29 + 1 files changed, 29 insertions(+), 0 deletions(-) create mode 100644 arch/cris/arch-v32/mm/l2cache.c diff --git a/arch/cris/arch-v32/mm/l2cache.c b/arch/cris/arch-

[PATCH 03/47] Add new driver files for Etrax-FS

2007-12-06 Thread Jesper Nilsson
Adds gpio and nandflash handling for Etrax-FS Signed-off-by: Jesper Nilsson <[EMAIL PROTECTED]> --- arch/cris/arch-v32/drivers/mach-fs/Makefile|6 + arch/cris/arch-v32/drivers/mach-fs/gpio.c | 971 arch/cris/arch-v32/drivers/mach-fs/nandflash.c

[PATCH 02/47] Add new driver files for Artpec-3.

2007-12-06 Thread Jesper Nilsson
Adds gpio and nandflash handling for Artpec-3. Signed-off-by: Jesper Nilsson <[EMAIL PROTECTED]> --- arch/cris/arch-v32/drivers/mach-a3/Makefile|6 + arch/cris/arch-v32/drivers/mach-a3/gpio.c | 984 arch/cris/arch-v32/drivers/mach-a3/nandflash.c

[PATCH 00/47] CRIS patches for CRISv32 EtraxFS and ARTPEC-3

2007-12-06 Thread Jesper Nilsson
this is a hefty chunk of code to review, but any suggestions on improvements are thankfully received. The changes are also available in the export2 branch at git://www.jni.nu/axis.git Best regards, /^JN - Jesper Nilsson -- Jesper Nilsson -- [EMAIL PROTECTED] -- To unsubscribe from this list

[PATCH 00/47] CRIS patches for CRISv32 EtraxFS and ARTPEC-3

2007-12-06 Thread Jesper Nilsson
this is a hefty chunk of code to review, but any suggestions on improvements are thankfully received. The changes are also available in the export2 branch at git://www.jni.nu/axis.git Best regards, /^JN - Jesper Nilsson -- Jesper Nilsson -- [EMAIL PROTECTED] -- To unsubscribe from this list

[PATCH 02/47] Add new driver files for Artpec-3.

2007-12-06 Thread Jesper Nilsson
Adds gpio and nandflash handling for Artpec-3. Signed-off-by: Jesper Nilsson [EMAIL PROTECTED] --- arch/cris/arch-v32/drivers/mach-a3/Makefile|6 + arch/cris/arch-v32/drivers/mach-a3/gpio.c | 984 arch/cris/arch-v32/drivers/mach-a3/nandflash.c | 178

[PATCH 03/47] Add new driver files for Etrax-FS

2007-12-06 Thread Jesper Nilsson
Adds gpio and nandflash handling for Etrax-FS Signed-off-by: Jesper Nilsson [EMAIL PROTECTED] --- arch/cris/arch-v32/drivers/mach-fs/Makefile|6 + arch/cris/arch-v32/drivers/mach-fs/gpio.c | 971 arch/cris/arch-v32/drivers/mach-fs/nandflash.c | 172

[PATCH 07/47] Add L2 cache initialization code.

2007-12-06 Thread Jesper Nilsson
Signed-off-by: Jesper Nilsson [EMAIL PROTECTED] --- arch/cris/arch-v32/mm/l2cache.c | 29 + 1 files changed, 29 insertions(+), 0 deletions(-) create mode 100644 arch/cris/arch-v32/mm/l2cache.c diff --git a/arch/cris/arch-v32/mm/l2cache.c b/arch/cris/arch-v32/mm

[PATCH 08/47] Add SECOND_WORD_SYNC, used in CRISv32 version of sync_serial.

2007-12-06 Thread Jesper Nilsson
Signed-off-by: Jesper Nilsson [EMAIL PROTECTED] --- include/asm-cris/sync_serial.h |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/include/asm-cris/sync_serial.h b/include/asm-cris/sync_serial.h index f930b6e..d87c24d 100644 --- a/include/asm-cris/sync_serial.h +++ b

[PATCH 09/47] Update CRISv32 synchronous serial driver.

2007-12-06 Thread Jesper Nilsson
Now uses a DMA descriptor ring, which should avoid any unnecessary pauses in the streams. Signed-off-by: Jesper Nilsson [EMAIL PROTECTED] --- arch/cris/arch-v32/drivers/sync_serial.c | 940 +++--- 1 files changed, 599 insertions(+), 341 deletions(-) diff --git a/arch

[PATCH 10/47] Merge axisflashmap.h with Axis internal changes.

2007-12-06 Thread Jesper Nilsson
- Add partition table struct to be used to parse partition table in flash. - Add JFFS2 as a type, and add readoly flag. - Improve some comments. - Lindent has been run, fixing whitespace and formatting issues. Signed-off-by: Jesper Nilsson [EMAIL PROTECTED] --- include/asm-cris/axisflashmap.h

[PATCH 11/47] Minor fixes to CRISv32 irq defines.

2007-12-06 Thread Jesper Nilsson
- Include files using - Change NR_REAL_IRQS to be calculated from the other defines. - Set MACH_IRQS depending on the value of NR_REAL_IRQS. - Remove unused mask parameter to BUILD_IRQ macro. Signed-off-by: Jesper Nilsson [EMAIL PROTECTED] --- include/asm-cris/arch-v32/irq.h | 15

[PATCH 12/47] Remove unnecessary CVS log from cris/mm/init.c

2007-12-06 Thread Jesper Nilsson
Signed-off-by: Jesper Nilsson [EMAIL PROTECTED] --- arch/cris/mm/init.c | 111 --- 1 files changed, 0 insertions(+), 111 deletions(-) diff --git a/arch/cris/mm/init.c b/arch/cris/mm/init.c index 0c833d1..4207a2b 100644 --- a/arch/cris/mm/init.c

[PATCH 13/47] Add prototypes for cache flushing on CRISv32

2007-12-06 Thread Jesper Nilsson
We need these to work around some cache bugs in CRISv32 chips. Signed-off-by: Jesper Nilsson [EMAIL PROTECTED] --- include/asm-cris/arch-v32/cache.h | 11 +++ 1 files changed, 11 insertions(+), 0 deletions(-) diff --git a/include/asm-cris/arch-v32/cache.h b/include/asm-cris/arch-v32

[PATCH 14/47] Add headers for CRISv32 chips EtraxFS and Artpec-3.

2007-12-06 Thread Jesper Nilsson
Signed-off-by: Jesper Nilsson [EMAIL PROTECTED] --- include/asm-cris/Kbuild |3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/include/asm-cris/Kbuild b/include/asm-cris/Kbuild index 14498d5..7ce0692 100644 --- a/include/asm-cris/Kbuild +++ b/include/asm-cris/Kbuild

[PATCH 18/47] Remove define ARCH_HAS_DMA_DECLARE_COHERENT_MEMORY from CRIS.

2007-12-06 Thread Jesper Nilsson
Signed-off-by: Jesper Nilsson [EMAIL PROTECTED] --- include/asm-cris/dma-mapping.h | 11 --- 1 files changed, 0 insertions(+), 11 deletions(-) diff --git a/include/asm-cris/dma-mapping.h b/include/asm-cris/dma-mapping.h index 662cea7..edc8d1b 100644 --- a/include/asm-cris/dma

[PATCH 15/47] Minor fixes to mm/fault.c for CRIS.

2007-12-06 Thread Jesper Nilsson
- Only disallow oops if we're in_interrupt context (was in_atomic before) - Use the generic oops_in_progress instead of the raw_printk hack. - Fix whitespace/formatting. - Remove CVS log entries. Signed-off-by: Jesper Nilsson [EMAIL PROTECTED] --- arch/cris/mm/fault.c | 169

[PATCH 16/47] Minor CRIS generic kernel/traps.c changes.

2007-12-06 Thread Jesper Nilsson
- Collect extern declarations at top of file. - Change raw_printk to printk, use oops_in_progress instead. - Fix formatting and whitespace. - Allow the watchdog to be disabled during oops. Signed-off-by: Jesper Nilsson [EMAIL PROTECTED] --- arch/cris/kernel/traps.c | 226

[PATCH 17/47] Add handling of PTRACE_DETATCH for CRISv32. Whitespace and formatting changes to avoid checkpatch errors.

2007-12-06 Thread Jesper Nilsson
Signed-off-by: Jesper Nilsson [EMAIL PROTECTED] --- arch/cris/arch-v32/kernel/ptrace.c | 13 + arch/cris/arch-v32/mm/Makefile |3 ++- 2 files changed, 11 insertions(+), 5 deletions(-) diff --git a/arch/cris/arch-v32/kernel/ptrace.c b/arch/cris/arch-v32/kernel/ptrace.c

[PATCH 19/47] Update CRISv32 entry.S to working order.

2007-12-06 Thread Jesper Nilsson
- Remove oldset parameter. - Utilise delay-slot for parameter moving. - Add kernel_execve as break 13. - Add new kernel syscalls. Signed-off-by: Jesper Nilsson [EMAIL PROTECTED] --- arch/cris/arch-v32/kernel/entry.S | 82 + 1 files changed, 64 insertions

[PATCH 20/47] Fixup CRISv32 kernel Makefile.

2007-12-06 Thread Jesper Nilsson
- Remove CRISv32 common arbiter, dma, io and pinmux files, they are now defined in machine dependent directories. - Add cache and cacheflush files for working around cache problems in CRISv32 chips. Signed-off-by: Jesper Nilsson [EMAIL PROTECTED] --- arch/cris/arch-v32/kernel/Makefile |5

[PATCH 21/47] New version of CRISv32 I2C driver.

2007-12-06 Thread Jesper Nilsson
- Add i2c_write and i2c_read as functions. - Use spinlocks for critical regions. - Add config item to set I2C data and clock port. - Put unneeded testcode inside #if 0. - Remove CVS id tag. Signed-off-by: Jesper Nilsson [EMAIL PROTECTED] --- arch/cris/arch-v32/drivers/i2c.c | 199

[PATCH 22/47] Update and improve axisflashmap for CRISv32.

2007-12-06 Thread Jesper Nilsson
- Use default partition table when no partition is found (for initial tests) - Add config ETRAX_AXISFLASHMAP_MTD0WHOLE to allow whole flash as mtd0. - Add config for VCS simulator connection. Signed-off-by: Jesper Nilsson [EMAIL PROTECTED] --- arch/cris/arch-v32/drivers/axisflashmap.c | 488

[PATCH 23/47] Update CRIS main Kbuild makefile.

2007-12-06 Thread Jesper Nilsson
to be cleaned in CLEAN_FILES instead of as archclean target. Signed-off-by: Jesper Nilsson [EMAIL PROTECTED] --- arch/cris/Makefile | 139 ++-- 1 files changed, 70 insertions(+), 69 deletions(-) diff --git a/arch/cris/Makefile b/arch/cris/Makefile index

[PATCH 24/47] Update CRISv10 boot Kbuild makefile.

2007-12-06 Thread Jesper Nilsson
- Remove old specific targets, use more generic ones instead. Signed-off-by: Jesper Nilsson [EMAIL PROTECTED] --- arch/cris/arch-v10/boot/Makefile | 24 1 files changed, 16 insertions(+), 8 deletions(-) diff --git a/arch/cris/arch-v10/boot/Makefile b/arch/cris/arch

[PATCH 25/47] Update CRISv10 boot compressed Kbuild makefile.

2007-12-06 Thread Jesper Nilsson
- Remove old specific targets, use more generic ones instead. - Use if_changed to avoid creating new images when no change. - Use EXTRA_CFLAGS instead of CFLAGS. Signed-off-by: Jesper Nilsson [EMAIL PROTECTED] --- arch/cris/arch-v10/boot/compressed/Makefile | 48 ++ 1

[PATCH 26/47] Update CRISv10 rescue Kbuild makefile.

2007-12-06 Thread Jesper Nilsson
- Remove old specific targets, use more generic ones instead. - Use if_changed to avoid creating new images when no change. Removes a lot of cruft. - Use EXTRA_CFLAGS instead of CFLAGS. Signed-off-by: Jesper Nilsson [EMAIL PROTECTED] --- arch/cris/arch-v10/boot/rescue/Makefile | 56

[PATCH 27/47] Update CRISv10 rescue head.s

2007-12-06 Thread Jesper Nilsson
- Correct whitespace problems. - Add ifdef for ETRAX_AXISFLASHMAP to avoid compile error when not set. Signed-off-by: Jesper Nilsson [EMAIL PROTECTED] --- arch/cris/arch-v10/boot/rescue/head.S | 117 + 1 files changed, 61 insertions(+), 56 deletions(-) diff

[PATCH 28/47] Update and improve CRISv10 axisflashmap.c

2007-12-06 Thread Jesper Nilsson
- Add config to use mtd0 as whole flash device. - Fix whitespace errors. - Remove braces around single statement ifs. - Break long lines. - Remove unnecessary CVS log. Signed-off-by: Jesper Nilsson [EMAIL PROTECTED] --- arch/cris/arch-v10/drivers/axisflashmap.c | 181

[PATCH 29/47] Update CRISv32 traps.c

2007-12-06 Thread Jesper Nilsson
- Remove raw_prink hack, use oops_in_progress instead. - When ETRAX_WATCHDOG_NICE_DOGGY is set, loop in trap after oops dump instead of rebooting. - Break long lines to less than 80 chars. - Fix whitespace errors. - Remove unnecessary comments. Signed-off-by: Jesper Nilsson [EMAIL PROTECTED

[PATCH 36/47] Update CRISv32 boot/rescue/head.S code.

2007-12-06 Thread Jesper Nilsson
- Add ifdef for ETRAX_AXISFLASHMAP to avoid compiling file unless it is set. - Use assembler macros for setting up clocks. - Don't copy image, just jump to it (only works for NOR flash) Signed-off-by: Jesper Nilsson [EMAIL PROTECTED] --- arch/cris/arch-v32/boot/rescue/head.S | 42

[PATCH 37/47] Update CRISv32 debugport.

2007-12-06 Thread Jesper Nilsson
register type names. - Correct some whitespace errors and formatting. Signed-off-by: Jesper Nilsson [EMAIL PROTECTED] --- arch/cris/arch-v32/kernel/debugport.c | 342 1 files changed, 43 insertions(+), 299 deletions(-) diff --git a/arch/cris/arch-v32/kernel

[PATCH 39/47] Update and improve CRISv32 fasttimer.c

2007-12-06 Thread Jesper Nilsson
in another OS. - Remove CVS log. Signed-off-by: Jesper Nilsson [EMAIL PROTECTED] --- arch/cris/arch-v32/kernel/fasttimer.c | 519 1 files changed, 195 insertions(+), 324 deletions(-) diff --git a/arch/cris/arch-v32/kernel/fasttimer.c b/arch/cris/arch-v32/kernel

[PATCH 30/47] Update CRISv32 boot Kbuild makefile.

2007-12-06 Thread Jesper Nilsson
- Remove old specific targets, use more generic ones instead. - Use if_changed to avoid creating new images when no change. Signed-off-by: Jesper Nilsson [EMAIL PROTECTED] --- arch/cris/arch-v32/boot/Makefile | 23 +++ 1 files changed, 15 insertions(+), 8 deletions(-) diff

[PATCH 31/47] Update CRISv32 boot compressed Kbuild makefile.

2007-12-06 Thread Jesper Nilsson
- Remove old specific targets, use more generic ones instead. - Use if_changed to avoid creating new images when no change. - Use KBUILD_CFLAGS instead of CFLAGS. Signed-off-by: Jesper Nilsson [EMAIL PROTECTED] --- arch/cris/arch-v32/boot/compressed/Makefile | 47 ++ 1

[PATCH 34/47] Update CRISv32 compressed head.S

2007-12-06 Thread Jesper Nilsson
- Fixes for NAND and NOR flash booting. - Use assembler macros for common tasks (clocks, general io etc) - Use (EtraxFS or Artpec-3) machine specific include for dram and hardware init. Signed-off-by: Jesper Nilsson [EMAIL PROTECTED] --- arch/cris/arch-v32/boot/compressed/head.S | 137

[PATCH 33/47] Remove CRISv32 common gpio and nandflash, add mach-fs and mach-a3 as subdirs.

2007-12-06 Thread Jesper Nilsson
Also add board_mmcspi to build if ETRAX_SPI_MMC_BOARD is set. (Generic MMC SPI implementation) Signed-off-by: Jesper Nilsson [EMAIL PROTECTED] --- arch/cris/arch-v32/drivers/Makefile |5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/arch/cris/arch-v32/drivers/Makefile

[PATCH 32/47] Update CRISv32 boot rescue Kbuild makefile.

2007-12-06 Thread Jesper Nilsson
- Remove old specific targets, use more generic ones instead. - Use if_changed to avoid creating new images when no change. - Use EXTRA_CFLAGS instead of CFLAGS. Signed-off-by: Jesper Nilsson [EMAIL PROTECTED] --- arch/cris/arch-v32/boot/rescue/Makefile | 41 --- 1

[PATCH 38/47] Include path fix for CRISv32 timex.h

2007-12-06 Thread Jesper Nilsson
- Shorten include path for machine dependent header files. - Correct some formatting issues. Signed-off-by: Jesper Nilsson [EMAIL PROTECTED] --- include/asm-cris/arch-v32/timex.h |8 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/include/asm-cris/arch-v32/timex.h b

[PATCH 35/47] Update CRISv32 boot/compressed/misc.c

2007-12-06 Thread Jesper Nilsson
specific serial port setup. - Initialize pinmux for the correct serial port. Signed-off-by: Jesper Nilsson [EMAIL PROTECTED] --- arch/cris/arch-v32/boot/compressed/misc.c | 72 + 1 files changed, 53 insertions(+), 19 deletions(-) diff --git a/arch/cris/arch-v32/boot

[PATCH 40/47] Update CRISv32 kernel/head.S

2007-12-06 Thread Jesper Nilsson
l2cache. Signed-off-by: Jesper Nilsson [EMAIL PROTECTED] --- arch/cris/arch-v32/kernel/head.S | 202 +- 1 files changed, 114 insertions(+), 88 deletions(-) diff --git a/arch/cris/arch-v32/kernel/head.S b/arch/cris/arch-v32/kernel/head.S index 20bd80a..96ad000

[PATCH 41/47] Update and simplify CRISv32 kernel/irq.c.

2007-12-06 Thread Jesper Nilsson
. Signed-off-by: Jesper Nilsson [EMAIL PROTECTED] --- arch/cris/arch-v32/kernel/irq.c | 274 +++ 1 files changed, 193 insertions(+), 81 deletions(-) diff --git a/arch/cris/arch-v32/kernel/irq.c b/arch/cris/arch-v32/kernel/irq.c index a9acaa2..173c141 100644

[PATCH 42/47] Minor updates to CRISv32 kernel/process.c

2007-12-06 Thread Jesper Nilsson
- Shorten include paths for machine dependent header files. - Remove unused extern declaration of etrax_gpio_wake_up_check. - Register name for first timer is now regi_timer0. Signed-off-by: Jesper Nilsson [EMAIL PROTECTED] --- arch/cris/arch-v32/kernel/process.c | 16 ++-- 1 files

[PATCH 45/47] New default config for CRISv10.

2007-12-06 Thread Jesper Nilsson
Signed-off-by: Jesper Nilsson [EMAIL PROTECTED] --- arch/cris/defconfig | 796 ++- 1 files changed, 274 insertions(+), 522 deletions(-) diff --git a/arch/cris/defconfig b/arch/cris/defconfig index 9c33ae6..ec857c6 100644 --- a/arch/cris/defconfig

[PATCH 46/47] Update and improve CRISv32 kernel/time.c

2007-12-06 Thread Jesper Nilsson
. - Whitespace and formatting changes. Signed-off-by: Jesper Nilsson [EMAIL PROTECTED] --- arch/cris/arch-v32/kernel/time.c | 237 ++ 1 files changed, 139 insertions(+), 98 deletions(-) diff --git a/arch/cris/arch-v32/kernel/time.c b/arch/cris/arch-v32/kernel

[PATCH 43/47] Update and improve CRISv32 kernel/traps.c

2007-12-06 Thread Jesper Nilsson
- Remove watchdog handling, handled elsewhere. - Shorten include paths to machine dependent header files. - Remove raw_printk hack, we now use oops_in_progress instead. - Add handling of BUG for exception handlers (break 14). - Formatting and whitespace changes. Signed-off-by: Jesper Nilsson

[PATCH 47/47] Add new defconfigs for Artpec-3 and EtraxFS, both CRISv32.

2007-12-06 Thread Jesper Nilsson
Signed-off-by: Jesper Nilsson [EMAIL PROTECTED] --- arch/cris/artpec_3_defconfig | 583 + arch/cris/etraxfs_defconfig | 586 ++ 2 files changed, 1169 insertions(+), 0 deletions(-) create mode 100644 arch/cris

[PATCH 44/47] Minor fixes for CRISv32 io.h

2007-12-06 Thread Jesper Nilsson
- Shorten include paths for machine dependent header files. - Add volatile to hardeware register pointers. - Add spinlocks around critical region. - Expand macros for handling of leds. Signed-off-by: Jesper Nilsson [EMAIL PROTECTED] --- include/asm-cris/arch-v32/io.h | 70

Re: [PATCH 27/47] Update CRISv10 rescue head.s

2007-12-06 Thread Jesper Nilsson
On Thu, Dec 06, 2007 at 05:58:04AM -0800, David Miller wrote: From: Jesper Nilsson [EMAIL PROTECTED] Date: Fri, 30 Nov 2007 16:13:29 +0100 ^^^ Any particular reason for the 6 day long delay in these mails going out or is your clock simply wrong? As co-postmaster, I am

[PATCH] CRIS: avoid using arch links in Kconfig

2007-11-21 Thread Jesper Nilsson
nks, which are created later in the build process. Signed-off-by: Jesper Nilsson <[EMAIL PROTECTED]> --- Kconfig |5 +++-- arch-v10/Kconfig |4 arch-v10/drivers/Kconfig |4 arch-v32/Kconfig |4 arch-v32/drivers/Kconfig |

[PATCH] CRIS: avoid using arch links in Kconfig

2007-11-21 Thread Jesper Nilsson
are created later in the build process. Signed-off-by: Jesper Nilsson [EMAIL PROTECTED] --- Kconfig |5 +++-- arch-v10/Kconfig |4 arch-v10/drivers/Kconfig |4 arch-v32/Kconfig |4 arch-v32/drivers/Kconfig |4 5 files changed

Re: cris build fixes

2007-11-20 Thread Jesper Nilsson
ternal development. Best regards, /^JN - Jesper Nilsson -- Jesper Nilsson -- [EMAIL PROTECTED] - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-inf

Re: cris build fixes

2007-11-20 Thread Jesper Nilsson
, /^JN - Jesper Nilsson -- Jesper Nilsson -- [EMAIL PROTECTED] - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http

Re: [PATCH] CRISv10 fasttimer: Scrap INLINE and name timeval_cmp better

2007-11-15 Thread Jesper Nilsson
On Wed, Nov 14, 2007 at 06:29:17PM -0800, Denys Vlasenko wrote: > On Wednesday 14 November 2007 09:08, Jesper Nilsson wrote: > > /* Not true gettimeofday, only checks the jiffies (uptime) + useconds */ > > -void __INLINE__ do_gettimeofday_fast(struct fasttime_t *tv) &

Re: [PATCH] CRISv10 fasttimer: Scrap INLINE and name timeval_cmp better

2007-11-15 Thread Jesper Nilsson
On Wed, Nov 14, 2007 at 06:29:17PM -0800, Denys Vlasenko wrote: On Wednesday 14 November 2007 09:08, Jesper Nilsson wrote: /* Not true gettimeofday, only checks the jiffies (uptime) + useconds */ -void __INLINE__ do_gettimeofday_fast(struct fasttime_t *tv) +inline void do_gettimeofday_fast

[PATCH] CRISv10 fasttimer: Scrap INLINE and name timeval_cmp better

2007-11-14 Thread Jesper Nilsson
er1_handler(int irq, void *dev_id) D1(printk(KERN_DEBUG "t: %is %06ius\n", tv.tv_jiff, tv.tv_usec)); -if (timeval_cmp(>tv_expires, ) <= 0) + if (fasttime_cmp(>tv_expires, ) <= 0) { /* Yes it has expired */ #ifde

[PATCH] CRISv10 string library add lineendings to asm

2007-11-14 Thread Jesper Nilsson
Add \n\ at end of lines inside asm statement to avoid warning. No change except adding \n\ to end of line and correcting whitespace has been done. Removes warning about multi-line string literals when compiling arch/cris/arch-v10/lib/string.c Signed-off-by: Jesper Nilsson <[EMAIL PROTEC

[PATCH] CRISv10 memset library add lineendings to asm

2007-11-14 Thread Jesper Nilsson
Add \n\ at end of lines inside asm statement to avoid warning. No change except adding \n\ to end of line and correcting whitespace has been done. Removes warning about multi-line string literals when compiling arch/cris/arch-v10/lib/memset.c Signed-off-by: Jesper Nilsson <[EMAIL PROTEC

[PATCH] CRISv10 usercopy library add lineendings to asm

2007-11-14 Thread Jesper Nilsson
Removes warning when compiling arch/cris/arch-v10/lib/usercopy.c No change except adding \n\ on the end of the lines has been done. Removes warning about multi-line string literals. Signed-off-by: Jesper Nilsson <[EMAIL PROTECTED]> --- usercopy.c

[PATCH] CRISv10 Ethernet declare mac fix

2007-11-14 Thread Jesper Nilsson
Declare mac using DECLARE_MAC_BUF for use when calling print_mac(). This fixes compile error where mac was undeclared. Also, remove unused variable i. Signed-off-by: Jesper Nilsson <[EMAIL PROTECTED]> --- eth_v10.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/d

[PATCH] CRIS tlb.h should include linux/pagemap.h

2007-11-14 Thread Jesper Nilsson
Include linux/pagemap.h for release_pages and page_cache_release. Fixes compilation error in arch/cris/mm/init.c when CONFIG_SWAP is unset. Signed-off-by: Jesper Nilsson <[EMAIL PROTECTED]> --- tlb.h |2 ++ 1 file changed, 2 insertions(+) diff --git a/include/asm-cris/tlb.h b/inclu

Re: [PATCH] CRISv10 improve and bugfix fasttimer

2007-11-14 Thread Jesper Nilsson
On Mon, Nov 12, 2007 at 04:44:56PM +0100, Jesper Nilsson wrote: > On Fri, Nov 09, 2007 at 03:19:32PM -0800, Andrew Morton wrote: > > > if (timeval_cmp(>tv_expires, ) <= 0) > > > > You have a private timeval_cmp(). Please take a look at utilising > >

Re: [PATCH] CRISv10 improve and bugfix fasttimer

2007-11-14 Thread Jesper Nilsson
On Mon, Nov 12, 2007 at 04:44:56PM +0100, Jesper Nilsson wrote: On Fri, Nov 09, 2007 at 03:19:32PM -0800, Andrew Morton wrote: if (timeval_cmp(t-tv_expires, tv) = 0) You have a private timeval_cmp(). Please take a look at utilising include/linux/time.h:timeval_compare() instead

<    1   2   3   4   5   6   7   >