[PATCH] CRIS: Define __ARCH_WANT_SYS_RT_SIGSUSPEND in unistd.h for CRIS

2008-01-11 Thread Jesper Nilsson
CRIS: Define __ARCH_WANT_SYS_RT_SIGSUSPEND in unistd.h for CRIS This allows us to use the commong sys_rt_sigsuspend instead of having our own. Signed-off-by: Jesper Nilsson [EMAIL PROTECTED] --- include/asm-cris/unistd.h |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git

[PATCH] CRIS v10: Correct do_signal to fix oops and clean up signal handling in general.

2008-01-11 Thread Jesper Nilsson
and formatting errors. Signed-off-by: Jesper Nilsson [EMAIL PROTECTED] --- arch/cris/arch-v10/kernel/signal.c | 251 1 files changed, 112 insertions(+), 139 deletions(-) diff --git a/arch/cris/arch-v10/kernel/signal.c b/arch/cris/arch-v10/kernel/signal.c index

[PATCH] CRIS v10: kernel/time.c needs to include linux/vmstat.h to compile.

2008-01-11 Thread Jesper Nilsson
/kernel/time.c +++ b/arch/cris/arch-v10/kernel/time.c @@ -13,6 +13,7 @@ #include linux/swap.h #include linux/sched.h #include linux/init.h +#include linux/vmstat.h #include asm/arch/svinto.h #include asm/types.h #include asm/signal.h -- 1.5.3.6.970.gd25430 /^JN - Jesper Nilsson

[PATCH] CRIS v10: Driver for ds1302 needs to include cris-specific i2c.h

2008-01-11 Thread Jesper Nilsson
#include asm/arch/io_interface_mux.h +#include i2c.h + #define RTC_MAJOR_NR 121 /* local major, change later */ static const char ds1302_name[] = ds1302; -- 1.5.3.6.970.gd25430 /^JN - Jesper Nilsson -- Jesper Nilsson -- [EMAIL PROTECTED] -- To unsubscribe from this list: send

Re: [PATCH] CRIS v10: Correct do_signal to fix oops and clean up signal handling in general.

2008-01-13 Thread Jesper Nilsson
On Fri, Jan 11, 2008 at 03:45:13PM -0800, Andrew Morton wrote: On Fri, 11 Jan 2008 19:59:24 +0100 Jesper Nilsson [EMAIL PROTECTED] wrote: CRIS v10: Correct do_signal to fix oops and clean up signal handling in general. This fixes a kernel panic on boot due to do_signal not being

Re: [PATCH] CRISv10 improve and bugfix fasttimer

2007-11-12 Thread Jesper Nilsson
On Fri, Nov 09, 2007 at 03:19:32PM -0800, Andrew Morton wrote: On Thu, 8 Nov 2007 09:54:30 +0100 Jesper Nilsson [EMAIL PROTECTED] wrote: Improve and bugfix CRIS v10 fast timers. I'm trying to work out what's going on with all this cris activity. Is the current code really that busted

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

[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/include/asm

[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 | 314

[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 PROTECTED

[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 PROTECTED

[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/drivers

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

2007-11-14 Thread Jesper Nilsson
, tv.tv_jiff, tv.tv_usec)); -if (timeval_cmp(t-tv_expires, tv) = 0) + if (fasttime_cmp(t-tv_expires, tv) = 0) { /* Yes it has expired */ #ifdef FAST_TIMER_LOG /^JN - Jesper Nilsson -- Jesper Nilsson -- [EMAIL PROTECTED] - To unsubscribe

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

Re: What's this __dummy in asm-cris/bitops.h?

2007-12-20 Thread Jesper Nilsson
anywhere. I'll send a patch to remove it, thanks for noticing! Thanks, Clemens Koller /^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

[PATCH] Remove unused __dummy, CONST_ADDR and ADDR from CRIS bitops.h

2007-12-20 Thread Jesper Nilsson
This is very old code, it hasn't changed since 2001 and it is not used anywhere. Noticed by Clemens Koller. Signed-off-by: Jesper Nilsson [EMAIL PROTECTED] --- include/asm-cris/bitops.h |7 --- 1 files changed, 0 insertions(+), 7 deletions(-) diff --git a/include/asm-cris/bitops.h b

Re: [PATCH] arch/cris/arch-v10/vmlinux.lds.S fix boot problem

2007-12-21 Thread Jesper Nilsson
: { + FILL (0); + . = ALIGN (8192); + } } #endif /^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

Re: [PATCH] arch/cris/arch-v10/vmlinux.lds.S fix boot problem

2007-12-21 Thread Jesper Nilsson
might be +* appended to the kernel image. +*/ + .init.fill : { + FILL (0); + . = ALIGN (8192); + } } #endif On Fri, Dec 21, 2007 at 04:14:04PM +0100, Jesper Nilsson wrote

Re: [PATCH] arch/cris/arch-v10/vmlinux.lds.S fix boot problem

2007-12-21 Thread Jesper Nilsson
= .; __data_end = . ; /* Move to _edata ? */ __bss_start = .; /* BSS */ On Fri, Dec 21, 2007 at 04:14:04PM +0100, Jesper Nilsson wrote: On Sat, Dec 15, 2007 at 02:59:33PM +0900, Yuusei KUWANA wrote: arch/cris/arch-v10/vmlinux.lds.S fix boot problem

[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

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

[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: [PATCH 15/47] Minor fixes to mm/fault.c for CRIS.

2007-12-12 Thread Jesper Nilsson
On Wed, Dec 12, 2007 at 03:17:13AM -0800, Andrew Morton wrote: On Fri, 30 Nov 2007 13:59:57 +0100 Jesper Nilsson [EMAIL PROTECTED] wrote: @@ -360,7 +247,7 @@ do_page_fault(unsigned long address, struct pt_regs *regs, up_read(mm-mmap_sem); printk(VM: killing process %s\n, tsk

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

2007-12-12 Thread Jesper Nilsson
On Wed, Dec 12, 2007 at 02:28:42PM +0100, Adrian Bunk wrote: On Wed, Dec 12, 2007 at 02:52:12AM -0800, Andrew Morton wrote: On Thu, 29 Nov 2007 17:02:22 +0100 Jesper Nilsson [EMAIL PROTECTED] wrote: The changes are also available in the export2 branch at git://www.jni.nu/axis.git

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

2007-12-12 Thread Jesper Nilsson
, I'll do that. Thanks for all the comments, I really appreciate you taking the time to review. /^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

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

2007-12-12 Thread Jesper Nilsson
On Wed, Dec 12, 2007 at 03:29:39AM -0800, Andrew Morton wrote: On Mon, 3 Dec 2007 11:16:25 +0100 Jesper Nilsson [EMAIL PROTECTED] wrote: struct crisv32_ioport { - unsigned long* oe; - unsigned long* data; - unsigned long* data_in; + volatile unsigned long *oe; + volatile

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

2007-12-14 Thread Jesper Nilsson
. */ + REG_WR_INT(gio, regi_gio, rw_intr_pins, 0); + +#ifdef CONFIG_ETRAX_VIRTUAL_GPIO + virtual_gpio_init(); +#endif + + return res; +} + +/* this makes sure that gpio_init is called during kernel boot */ + +module_init(gpio_init); /^JN - Jesper Nilsson -- Jesper

Re: [PATCH] Remove unused __dummy, CONST_ADDR and ADDR from CRIS bitops.h

2008-01-03 Thread Jesper Nilsson
On Sat, Dec 22, 2007 at 12:30:25AM -0800, Andrew Morton wrote: On Thu, 20 Dec 2007 11:09:44 +0100 Jesper Nilsson [EMAIL PROTECTED] wrote: Subject: [PATCH] Remove unused __dummy, CONST_ADDR and ADDR from CRIS bitops.h It's nice (and conventional) to prefix the patch title

Re: (Try #3) [Patch 4/8] CRIS: Remove 'TOPDIR' from Makefiles

2008-01-03 Thread Jesper Nilsson
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://www.tux.org/lkml/

Re: [PATCH] arch/cris/arch-v10/vmlinux.lds.S fix boot problem

2008-01-03 Thread Jesper Nilsson
not an expert on ld-scripts, so I only know that the linker didn't respect the other way of doing the alignment, but did when added in a section. Perhaps Mikael has a better explanation when he's back from vacation. Sam Best regards, /^JN - Jesper Nilsson -- Jesper Nilsson -- [EMAIL

Re: Upcomming CRIS patches

2007-10-26 Thread Jesper Nilsson
clear those up in the process. rday 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

[PATCH 0/16] CRIS architecture: Correct compile errors

2007-10-30 Thread Jesper Nilsson
components to ease reviewing. Please send any comments or questions to me and Mikael Starvik. Crosscompiled on Debian Etch using gcc version 3.2.1 Axis release R64/1.64. Best regards, Jesper /^JN - Jesper Nilsson -- Jesper Nilsson -- [EMAIL PROTECTED] - To unsubscribe from this list: send

[PATCH 1/16] CRIS architecture: Correct compile errors

2007-10-30 Thread Jesper Nilsson
Remove include of asm/bitops.h, not needed here, corrects compilation error (__le64 undefined). Signed-off-by: Jesper Nilsson [EMAIL PROTECTED] --- posix_types.h |1 - 1 file changed, 1 deletion(-) --- clean_linux-2.6.23/include/asm-cris/posix_types.h 2007-10-09 22:31:38.0 +0200

[PATCH 2/16] CRIS architecture: Correct compile errors

2007-10-30 Thread Jesper Nilsson
Remove int from prototype, no longer needed and causes compile error. Signed-off-by: Jesper Nilsson [EMAIL PROTECTED] --- checksum.h |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff -urBb -X /h/jespern/.exclude_files clean_linux-2.6.23/include/asm-cris/checksum.h linux-2.6.23

[PATCH 3/16] CRIS architecture: Correct compile errors

2007-10-30 Thread Jesper Nilsson
Add missing syscalls to cris architecture. Signed-off-by: Jesper Nilsson [EMAIL PROTECTED] --- arch/cris/arch-v10/kernel/entry.S | 36 +++ include/asm-cris/unistd.h | 39 +- 2 files changed, 74 insertions(+), 1

[PATCH 4/16] CRIS architecture: Correct compile errors

2007-10-30 Thread Jesper Nilsson
Include asm/irq.h to avoid undefined value warning. Signed-off-by: Jesper Nilsson [EMAIL PROTECTED] --- hardirq.h |1 + 1 file changed, 1 insertion(+) diff -urBb -X /h/jespern/.exclude_files clean_linux-2.6.23/include/asm-cris/hardirq.h linux-2.6.23/include/asm-cris/hardirq.h

[PATCH 5/16] CRIS architecture: Correct compile errors

2007-10-30 Thread Jesper Nilsson
Include file linux/compiler.h is needed for 'likely'. Signed-off-by: Jesper Nilsson [EMAIL PROTECTED] --- atomic.h |1 + 1 file changed, 1 insertion(+) diff -urBb -X /h/jespern/.exclude_files clean_linux-2.6.23/include/asm-cris/atomic.h linux-2.6.23/include/asm-cris/atomic.h

[PATCH 6/16] CRIS architecture: Correct compile errors

2007-10-30 Thread Jesper Nilsson
- New file include/asm-cris/irq_regs.h. - Change handling of registers for do_IRQ. - Add GENERIC_HARDIRQS to Kconfig. Signed-off-by: Jesper Nilsson [EMAIL PROTECTED] --- arch/cris/Kconfig|4 linux-2.6.23-mod/include/asm-cris/irq_regs.h |1 + linux-2.6.23

[PATCH 7/16] CRIS architecture: Correct compile errors

2007-10-30 Thread Jesper Nilsson
Include linux/fs.h, needed for do_pipe. Signed-off-by: Jesper Nilsson [EMAIL PROTECTED] --- sys_cris.c |1 + 1 file changed, 1 insertion(+) diff -urBb -X /h/jespern/.exclude_files clean_linux-2.6.23/arch/cris/kernel/sys_cris.c linux-2.6.23/arch/cris/kernel/sys_cris.c --- clean_linux

[PATCH 8/16] CRIS architecture: Correct compile errors

2007-10-30 Thread Jesper Nilsson
Add missing defines for (unsupported) baud rates. Signed-off-by: Jesper Nilsson [EMAIL PROTECTED] --- termbits.h | 13 + 1 file changed, 13 insertions(+) --- clean_linux-2.6.23/include/asm-cris/termbits.h 2007-10-09 22:31:38.0 +0200 +++ linux-2.6.23/include/asm-cris

[PATCH 9/16] CRIS architecture: Correct compile errors

2007-10-30 Thread Jesper Nilsson
() fails persistently the system is hosed anyway but at least it won't loop in an interrupt handler. - Correct some code formatting issues. - Add defines SET_ETH_ENABLE_LEDS, SET_ETH_DISABLE_LEDS and SET_ETH_AUTONEG used in new cris v10 ethernet driver. Signed-off-by: Jesper Nilsson [EMAIL

[PATCH 10/16] CRIS architecture: Correct compile errors

2007-10-30 Thread Jesper Nilsson
New and improved serial driver for cris v10. Signed-off-by: Jesper Nilsson [EMAIL PROTECTED] --- linux-2.6.23-mod/drivers/serial/crisv10.h | 151 + linux-2.6.23/drivers/serial/crisv10.c | 797 +- 2 files changed, 520 insertions(+), 428 deletions(-) diff

[PATCH 11/16] CRIS architecture: Correct compile errors

2007-10-30 Thread Jesper Nilsson
Add include file with prototype for mtdram_init_device from drivers/mtd/devices/mtdram.c. Used by axisflashmap.c to boot from ram. Signed-off-by: Jesper Nilsson [EMAIL PROTECTED] --- mtdram.h | 10 ++ 1 file changed, 10 insertions(+) --- /dev/null 2007-10-06 06:38:38.348072750

[PATCH 12/16] CRIS architecture: Correct compile errors

2007-10-30 Thread Jesper Nilsson
storage in thread_info struct. - Add NO_DMA to Kconfig, and include arch specific Kconfig using arch independent path. Include subsystem Kconfigs for pcmcia, usb, i2c, rtc and pci. Signed-off-by: Jesper Nilsson [EMAIL PROTECTED] --- arch/cris/Kconfig | 15 - arch

[PATCH 13/16] CRIS architecture: Correct compile errors

2007-10-30 Thread Jesper Nilsson
- Remove debug print. - Change #if to #ifdef to avoid compile time warning if CONFIG_PROFILING isn't set. - Number of parameters to profile_tick has changed, drop the regs parameter. Signed-off-by: Jesper Nilsson [EMAIL PROTECTED] --- time.c | 10 +++--- 1 file changed, 3 insertions

[PATCH 14/16] CRIS architecture: Correct compile errors

2007-10-30 Thread Jesper Nilsson
Include linux/param.h for HZ. Signed-off-by: Jesper Nilsson [EMAIL PROTECTED] --- setup.c |1 + 1 file changed, 1 insertion(+) diff -urBb -X /h/jespern/.exclude_files clean_linux-2.6.23/arch/cris/arch-v10/kernel/setup.c linux-2.6.23/arch/cris/arch-v10/kernel/setup.c --- clean_linux

[PATCH 15/16] CRIS architecture: Correct compile errors

2007-10-30 Thread Jesper Nilsson
- Add __negdi2 to exported symbols. - Remove string functions from exported symbols. Signed-off-by: Jesper Nilsson [EMAIL PROTECTED] --- crisksyms.c | 17 +++-- 1 file changed, 3 insertions(+), 14 deletions(-) diff -urBb -X /h/jespern/.exclude_files clean_linux-2.6.23/arch/cris

[PATCH 16/16] CRIS architecture: Correct compile errors

2007-10-30 Thread Jesper Nilsson
Remove some unused config lines, and add some others that needs to be off for a succesful compile. This is the minimal set of changes for 2.6.23. Signed-off-by: Jesper Nilsson [EMAIL PROTECTED] --- defconfig | 76 ++ 1 file changed

Re: [PATCH 11/16] CRIS architecture: Correct compile errors

2007-10-30 Thread Jesper Nilsson
On Tue, Oct 30, 2007 at 08:49:32AM -0400, David Woodhouse wrote: On Tue, 2007-10-30 at 10:33 +0100, Jesper Nilsson wrote: Add include file with prototype for mtdram_init_device from drivers/mtd/devices/mtdram.c. Used by axisflashmap.c to boot from ram. Signed-off-by: Jesper Nilsson

Re: [PATCH 6/16] CRIS architecture: Correct compile errors

2007-10-31 Thread Jesper Nilsson
On Tue, Oct 30, 2007 at 03:14:10PM -0700, Andrew Morton wrote: On Tue, 30 Oct 2007 10:31:01 +0100 Jesper Nilsson [EMAIL PROTECTED] wrote: - New file include/asm-cris/irq_regs.h. - Change handling of registers for do_IRQ. - Add GENERIC_HARDIRQS to Kconfig. Signed-off-by: Jesper

Re: [PATCH 10/16] CRIS architecture: Correct compile errors

2007-10-31 Thread Jesper Nilsson
On Tue, Oct 30, 2007 at 03:14:17PM -0700, Andrew Morton wrote: On Tue, 30 Oct 2007 10:33:28 +0100 Jesper Nilsson [EMAIL PROTECTED] wrote: New and improved serial driver for cris v10. I wasn't able to apply this due to extensive patch rejects. Yes, I noticed that too when trying to apply

Re: [PATCH 1/16] CRIS architecture: Correct compile errors

2007-10-31 Thread Jesper Nilsson
On Tue, Oct 30, 2007 at 03:14:00PM -0700, Andrew Morton wrote: On Tue, 30 Oct 2007 10:28:11 +0100 Jesper Nilsson [EMAIL PROTECTED] wrote: Remove include of asm/bitops.h, not needed here, corrects compilation error (__le64 undefined). [snip] This doesn't apply and I'm not sure

Re: [PATCH 1/16] CRIS architecture: Correct compile errors

2007-10-31 Thread Jesper Nilsson
On Wed, Oct 31, 2007 at 11:47:38AM +0100, Jesper Nilsson wrote: On Tue, Oct 30, 2007 at 03:14:00PM -0700, Andrew Morton wrote: On Tue, 30 Oct 2007 10:28:11 +0100 Jesper Nilsson [EMAIL PROTECTED] wrote: Remove include of asm/bitops.h, not needed here, corrects compilation error

Re: cris/arch-v10/lib/memset.c compile error

2008-02-14 Thread Jesper Nilsson
required as increment operand [snip] Thanks for the heads up. cu Adrian /^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

[PATCH] CRIS: Import memset.c from newlib, fixes compile error with newer (pre4.3) gcc.

2008-02-14 Thread Jesper Nilsson
some research on it. Signed-off-by: Jesper Nilsson [EMAIL PROTECTED] --- arch/cris/arch-v10/lib/memset.c | 397 --- arch/cris/arch-v32/lib/memset.c | 398 --- 2 files changed, 404 insertions(+), 391 deletions(-) diff --git

[GIT PULL] CRIS updates for 3.7

2012-10-03 Thread Jesper Nilsson
Bjorn Helgaas (1): cris/PCI: remove pcibios_assign_resources() Jesper Nilsson (1): CRIS: Remove VCS simulator specific code arch/cris/Kconfig | 5 - arch/cris/arch-v32/drivers/axisflashmap.c | 29 -- arch/cris

  1   2   3   4   5   6   7   >