Re: [PATCH 4/9] cris: Provide dma_mmap_coherent() and dma_get_sgtable()

2013-01-14 Thread Jesper Nilsson
> dma_get_sgtable() are provided in . > > Cris does not use dma_map_ops, hence it should implement them as inline > stubs using dma_common_mmap() and dma_common_get_sgtable(). > > Signed-off-by: Geert Uytterhoeven > Cc: Marek Szyprowski > Cc: linux-cris-ker...@a

Re: [PATCH 4/9] cris: Provide dma_mmap_coherent() and dma_get_sgtable()

2013-01-14 Thread Jesper Nilsson
-by: Jesper Nilsson jesper.nils...@axis.com /^JN - Jesper Nilsson -- Jesper Nilsson -- jesper.nils...@axis.com -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org

[GIT PULL] CRIS updates for 3.8

2012-12-20 Thread Jesper Nilsson
(1): CRIS: use kbuild.h instead of defining macros in asm-offset.c Jesper Nilsson (1): Merge tag 'disintegrate-cris-20121009' of git://git.infradead.org/users/dhowells/linux-headers into for-linus2 Wei Yongjun (1): CRIS: locking: fix the return value of arch_read_trylock

[GIT PULL] CRIS updates for 3.8

2012-12-20 Thread Jesper Nilsson
(1): CRIS: use kbuild.h instead of defining macros in asm-offset.c Jesper Nilsson (1): Merge tag 'disintegrate-cris-20121009' of git://git.infradead.org/users/dhowells/linux-headers into for-linus2 Wei Yongjun (1): CRIS: locking: fix the return value of arch_read_trylock

[PATCH v3] rtc-pcf8523: Add low battery voltage support

2012-12-19 Thread Jesper Nilsson
This patch implements reading of the battery voltage low signal for rtc-pcf8523. The bit is read-only and cannot be cleared by software, so no clear-function is implemented. Signed-off-by: Jesper Nilsson Reviewed-by: Thierry Reding --- diff --git a/drivers/rtc/rtc-pcf8523.c b/drivers/rtc/rtc

[PATCH v2] rtc-pcf8523: Add low battery voltage support

2012-12-19 Thread Jesper Nilsson
This patch implements reading of the battery voltage low signal for rtc-pcf8523. The bit is read-only and cannot be cleared by software, so no clear-function is implemented. Signed-off-by: Jesper Nilsson --- diff --git a/drivers/rtc/rtc-pcf8523.c b/drivers/rtc/rtc-pcf8523.c index be05a64

Re: [PATCH] rtc-pcf8523: Add low battery voltage support

2012-12-19 Thread Jesper Nilsson
On Wed, Dec 19, 2012 at 03:42:26PM +0100, Thierry Reding wrote: > On Wed, Dec 19, 2012 at 03:04:56PM +0100, Jesper Nilsson wrote: > > This patch implements reading of the battery voltage low signal for > > rtc-pcf8523. > > > > The bit is read-only and cannot

[PATCH] rtc-pcf8523: Add low battery voltage support

2012-12-19 Thread Jesper Nilsson
This patch implements reading of the battery voltage low signal for rtc-pcf8523. The bit is read-only and cannot be cleared by software, so no clear-function is implemented. Signed-off-by: Jesper Nilsson --- diff --git a/drivers/rtc/rtc-pcf8523.c b/drivers/rtc/rtc-pcf8523.c index be05a64

[PATCH] rtc-pcf8523: Add low battery voltage support

2012-12-19 Thread Jesper Nilsson
This patch implements reading of the battery voltage low signal for rtc-pcf8523. The bit is read-only and cannot be cleared by software, so no clear-function is implemented. Signed-off-by: Jesper Nilsson jesper.nils...@axis.com --- diff --git a/drivers/rtc/rtc-pcf8523.c b/drivers/rtc/rtc-pcf8523

Re: [PATCH] rtc-pcf8523: Add low battery voltage support

2012-12-19 Thread Jesper Nilsson
On Wed, Dec 19, 2012 at 03:42:26PM +0100, Thierry Reding wrote: On Wed, Dec 19, 2012 at 03:04:56PM +0100, Jesper Nilsson wrote: This patch implements reading of the battery voltage low signal for rtc-pcf8523. The bit is read-only and cannot be cleared by software, so no clear-function

[PATCH v2] rtc-pcf8523: Add low battery voltage support

2012-12-19 Thread Jesper Nilsson
This patch implements reading of the battery voltage low signal for rtc-pcf8523. The bit is read-only and cannot be cleared by software, so no clear-function is implemented. Signed-off-by: Jesper Nilsson jesper.nils...@axis.com --- diff --git a/drivers/rtc/rtc-pcf8523.c b/drivers/rtc/rtc-pcf8523

[PATCH v3] rtc-pcf8523: Add low battery voltage support

2012-12-19 Thread Jesper Nilsson
This patch implements reading of the battery voltage low signal for rtc-pcf8523. The bit is read-only and cannot be cleared by software, so no clear-function is implemented. Signed-off-by: Jesper Nilsson jesper.nils...@axis.com Reviewed-by: Thierry Reding thierry.red...@avionic-design.de

Re: [PATCH -resend] cris: Use "int" for ssize_t to match size_t

2012-12-06 Thread Jesper Nilsson
'signed size_t', but argument 4 has type 'ssize_t' [-Wformat] > > To fix this, __kernel_ssize_t should be changed to "int". Hence cris can > just use the generic 32-bit versions from include/asm-generic/posix_types.h > for all size-related types. Yup, I agree, thanks! > Signed-off-

Re: [PATCH -resend] cris: Use int for ssize_t to match size_t

2012-12-06 Thread Jesper Nilsson
be changed to int. Hence cris can just use the generic 32-bit versions from include/asm-generic/posix_types.h for all size-related types. Yup, I agree, thanks! Signed-off-by: Geert Uytterhoeven ge...@linux-m68k.org Cc: Mikael Starvik star...@axis.com Acked-by: Jesper Nilsson jesper.nils

[PATCH] MAINTAINERS: Fix cifs-tree git url

2012-12-03 Thread Jesper Nilsson
The cifs-tree is no longer found on kernel.org, but linux-next uses the tree on samba.org, so use that instead. Signed-off-by: Jesper Nilsson --- MAINTAINERS | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MAINTAINERS b/MAINTAINERS index 244b2f2..60d0e35 100644

[PATCH] MAINTAINERS: Fix cifs-tree git url

2012-12-03 Thread Jesper Nilsson
The cifs-tree is no longer found on kernel.org, but linux-next uses the tree on samba.org, so use that instead. Signed-off-by: Jesper Nilsson jesper.nils...@axis.com --- MAINTAINERS | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MAINTAINERS b/MAINTAINERS index 244b2f2

Re: [RFQ PATCH] cifs: Change default security error message

2012-11-29 Thread Jesper Nilsson
bly I´m missing something. :-) Thanks, /^JN - Jesper Nilsson -- Jesper Nilsson -- jesper.nils...@axis.com -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://

[RFQ PATCH] cifs: Change default security error message

2012-11-29 Thread Jesper Nilsson
of the alternative solutions above, but I'd like to get some input on this. Not-Signed-off-by: Jesper Nilsson --- diff --git a/fs/cifs/connect.c b/fs/cifs/connect.c index c83f5b65..968456f 100644 --- a/fs/cifs/connect.c +++ b/fs/cifs/connect.c @@ -2480,9 +2480,9 @@ cifs_get_smb_ses(struct TCP_Server_Info

[PATCH] cifs: Add handling of blank password option

2012-11-29 Thread Jesper Nilsson
The option to have a blank "pass=" already exists, and with a password specified both "pass=%s" and "password=%s" are supported. Also, both blank "user=" and "username=" are supported, making "password=" the odd man out. Signed-off-by:

[PATCH] cifs: Add handling of blank password option

2012-11-29 Thread Jesper Nilsson
The option to have a blank pass= already exists, and with a password specified both pass=%s and password=%s are supported. Also, both blank user= and username= are supported, making password= the odd man out. Signed-off-by: Jesper Nilsson jesper.nils...@axis.com --- fs/cifs/connect.c | 1 + 1

[RFQ PATCH] cifs: Change default security error message

2012-11-29 Thread Jesper Nilsson
of the alternative solutions above, but I'd like to get some input on this. Not-Signed-off-by: Jesper Nilsson jesper.nils...@axis.com --- diff --git a/fs/cifs/connect.c b/fs/cifs/connect.c index c83f5b65..968456f 100644 --- a/fs/cifs/connect.c +++ b/fs/cifs/connect.c @@ -2480,9 +2480,9 @@ cifs_get_smb_ses

Re: [RFQ PATCH] cifs: Change default security error message

2012-11-29 Thread Jesper Nilsson
something. :-) Thanks, /^JN - Jesper Nilsson -- Jesper Nilsson -- jesper.nils...@axis.com -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: [PATCH 02/11] time: convert arch_gettimeoffset to a pointer

2012-11-12 Thread Jesper Nilsson
ate time_init() functions per sub-architecture. M68K and ARM > are converted to set arch_gettimeoffset the final implementation in later > patches, because they already have function pointers in place for this > purpose. > > Cc: Russell King > Cc: Mike Frysinger > Cc: Mikael Star

Re: [PATCH 01/11] cris: move usec/nsec conversion to do_slow_gettimeoffset

2012-11-12 Thread Jesper Nilsson
eoffset(), > so needs to perform all required calculations. > > Cc: Mikael Starvik > Cc: Jesper Nilsson Acked-by: Jesper Nilsson > Cc: linux-cris-ker...@axis.com > Signed-off-by: Stephen Warren > --- > arch/cris/arch-v10/kernel/time.c |4 ++-- > arch/cris/k

Re: [PATCH 01/11] cris: move usec/nsec conversion to do_slow_gettimeoffset

2012-11-12 Thread Jesper Nilsson
of arch_gettimeoffset(), so needs to perform all required calculations. Cc: Mikael Starvik star...@axis.com Cc: Jesper Nilsson jesper.nils...@axis.com Acked-by: Jesper Nilsson jesper.nils...@axis.com Cc: linux-cris-ker...@axis.com Signed-off-by: Stephen Warren swar...@nvidia.com --- arch/cris/arch-v10

Re: [PATCH 02/11] time: convert arch_gettimeoffset to a pointer

2012-11-12 Thread Jesper Nilsson
-by: Jesper Nilsson jesper.nils...@axis.com Cc: Hirokazu Takata tak...@linux-m32r.org Cc: Geert Uytterhoeven ge...@linux-m68k.org Cc: John Stultz johns...@us.ibm.com Cc: Thomas Gleixner t...@linutronix.de Signed-off-by: Stephen Warren swar...@nvidia.com --- arch/arm/kernel/time.c |6

Re: [PATCH] UAPI: Fix up empty files in arch/cris/

2012-10-24 Thread Jesper Nilsson
rch/cris/include/uapi/asm/swab.h @@ -0,0 +1,3 @@ +/* + * CRIS byte swapping. + */ /^JN - Jesper Nilsson -- Jesper Nilsson -- jesper.nils...@axis.com -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org M

Re: [PATCH 010/193] arch/cris/arch-v32/drivers: remove CONFIG_EXPERIMENTAL

2012-10-24 Thread Jesper Nilsson
; CC: Jeff Kirsher > Signed-off-by: Kees Cook Acked-by: Jesper Nilsson /^JN - Jesper Nilsson -- Jesper Nilsson -- jesper.nils...@axis.com -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vge

Re: [PATCH 010/193] arch/cris/arch-v32/drivers: remove CONFIG_EXPERIMENTAL

2012-10-24 Thread Jesper Nilsson
CC: Jeff Kirsher jeffrey.t.kirs...@intel.com Signed-off-by: Kees Cook keesc...@chromium.org Acked-by: Jesper Nilsson jesper.nils...@axis.com /^JN - Jesper Nilsson -- Jesper Nilsson -- jesper.nils...@axis.com -- To unsubscribe from this list: send the line unsubscribe linux-kernel

Re: [PATCH] UAPI: Fix up empty files in arch/cris/

2012-10-24 Thread Jesper Nilsson
@@ +/* + * CRIS byte swapping. + */ /^JN - Jesper Nilsson -- Jesper Nilsson -- jesper.nils...@axis.com -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo

Re: [PATCH] CRIS: locking: fix the return value of arch_read_trylock()

2012-10-19 Thread Jesper Nilsson
jordomo info at http://vger.kernel.org/majordomo-info.html > Please read the FAQ at http://www.tux.org/lkml/ /^JN - Jesper Nilsson -- Jesper Nilsson -- jesper.nils...@axis.com -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a m

Re: [PATCH] CRIS: locking: fix the return value of arch_read_trylock()

2012-10-19 Thread Jesper Nilsson
at http://www.tux.org/lkml/ /^JN - Jesper Nilsson -- Jesper Nilsson -- jesper.nils...@axis.com -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo

Re: [PATCH] cris: use kbuild.h instead of defining macros in asm-offset.c

2012-10-12 Thread Jesper Nilsson
s good here, I'll take it into the CRIS tree. Thanks! > Signed-off-by: James Hogan /^JN - Jesper Nilsson -- Jesper Nilsson -- jesper.nils...@axis.com -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kern

Re: [GIT PULL] Disintegrate UAPI for cris [ver #2]

2012-10-12 Thread Jesper Nilsson
t; rename arch/cris/include/{ => uapi}/asm/sync_serial.h (100%) > rename arch/cris/include/{ => uapi}/asm/termbits.h (100%) > create mode 100644 arch/cris/include/uapi/asm/termios.h > create mode 100644 arch/cris/include/uapi/asm/types.h > create mode 100644 arch/cris/in

Re: [GIT PULL] Disintegrate UAPI for cris [ver #2]

2012-10-12 Thread Jesper Nilsson
://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/ /^JN - Jesper Nilsson -- Jesper Nilsson -- jesper.nils...@axis.com -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More

Re: [PATCH] cris: use kbuild.h instead of defining macros in asm-offset.c

2012-10-12 Thread Jesper Nilsson
tree. Thanks! Signed-off-by: James Hogan james.ho...@imgtec.com /^JN - Jesper Nilsson -- Jesper Nilsson -- jesper.nils...@axis.com -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info

[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

[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

Re: [2.6 patch v2] cris: proper defconfig setup

2008-02-26 Thread Jesper Nilsson
config is set through KBUILD_DEFCONFIG. > > Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]> > Patch updated after I discovered an additional defconfig in > arch/cris/arch-v10/defconfig That could probably have been nuked, it's ancient. I'll put this in my queue. Thanks! /^JN - Jesper N

Re: [2.6 patch] cris: proper defconfig setup

2008-02-26 Thread Jesper Nilsson
config is set through KBUILD_DEFCONFIG. > > Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]> Acked-by: Jesper Nilsson <[EMAIL PROTECTED]> Thanks! /^JN - Jesper Nilsson -- Jesper Nilsson -- [EMAIL PROTECTED] -- To unsubscribe from this list: send the line "unsubs

Re: [2.6 patch] cris: proper defconfig setup

2008-02-26 Thread Jesper Nilsson
. Signed-off-by: Adrian Bunk [EMAIL PROTECTED] Acked-by: Jesper Nilsson [EMAIL PROTECTED] Thanks! /^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

Re: [2.6 patch v2] cris: proper defconfig setup

2008-02-26 Thread Jesper Nilsson
. Signed-off-by: Adrian Bunk [EMAIL PROTECTED] Patch updated after I discovered an additional defconfig in arch/cris/arch-v10/defconfig That could probably have been nuked, it's ancient. I'll put this in my queue. Thanks! /^JN - Jesper Nilsson -- Jesper Nilsson -- [EMAIL

[PATCH] CRIS v10: Include mm.h instead of vmstat.h in kernel/time.c

2008-02-25 Thread Jesper Nilsson
'dec_zone_page_state' make[2]: *** [arch/cris/arch-v10/kernel/time.o] Error 1 make[1]: *** [arch/cris/arch-v10/kernel] Error 2 make: *** [sub-make] Error 2 ... By changing kernel/time.c to include linux/mm.h, the build succeeds. Signed-off-by: Jesper Nilsson <[EMAIL PROTECTED]> --- arch/cris/ar

[PATCH] CRIS v10: Include mm.h instead of vmstat.h in kernel/time.c

2008-02-25 Thread Jesper Nilsson
'dec_zone_page_state' make[2]: *** [arch/cris/arch-v10/kernel/time.o] Error 1 make[1]: *** [arch/cris/arch-v10/kernel] Error 2 make: *** [sub-make] Error 2 ... By changing kernel/time.c to include linux/mm.h, the build succeeds. Signed-off-by: Jesper Nilsson [EMAIL PROTECTED] --- arch/cris/arch-v10

[PATCH] CRIS: Import string.c (memcpy) from newlib: fixes compile error with gcc 4

2008-02-22 Thread Jesper Nilsson
-by: Jesper Nilsson <[EMAIL PROTECTED]> --- With this fix, I can get CRIS v10 through a defconfig kernel build with a SVN HEAD 4.3 gcc. arch/cris/arch-v10/lib/string.c | 337 --- arch/cris/arch-v32/lib/string.c | 325 -- 2

[PATCH] CRIS: Import string.c (memcpy) from newlib: fixes compile error with gcc 4

2008-02-22 Thread Jesper Nilsson
-by: Jesper Nilsson [EMAIL PROTECTED] --- With this fix, I can get CRIS v10 through a defconfig kernel build with a SVN HEAD 4.3 gcc. arch/cris/arch-v10/lib/string.c | 337 --- arch/cris/arch-v32/lib/string.c | 325 -- 2 files

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

2008-02-18 Thread Jesper Nilsson
and squash the compile errors in one go. Thanks again for the heads up. > cu > Adrian > > [1] http://l4x.org/k/?d=38964 /^JN - Jesper Nilsson -- Jesper Nilsson -- [EMAIL PROTECTED] -- To unsubscribe from this list: send the line "unsubscribe linux-kernel"

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

2008-02-18 Thread Jesper Nilsson
://l4x.org/k/?d=38964 /^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

[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(-)

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

2008-02-14 Thread Jesper Nilsson
et.c:164: > error: lvalue 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 mes

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 architecture

2008-02-08 Thread Jesper Nilsson
for the CRIS port. All others are restricted to the include/asm-cris and arch/cris directories. Missing are serial, ethernet and some other drivers for CRIS v32, which will be submitted through the subsystem maintainers. Thanks, /^Jesper Nilsson --- Jesper Nilsson (158): CRIS: Rearrange

[GIT PULL] CRIS architecture

2008-02-08 Thread Jesper Nilsson
for the CRIS port. All others are restricted to the include/asm-cris and arch/cris directories. Missing are serial, ethernet and some other drivers for CRIS v32, which will be submitted through the subsystem maintainers. Thanks, /^Jesper Nilsson --- Jesper Nilsson (158): CRIS: Rearrange

Re: [PATCH] procfs: constify function pointer tables

2008-01-23 Thread Jesper Nilsson
d c_stop(struct seq_file *m, void *v) > > extern int show_cpuinfo(struct seq_file *m, void *v); > > -struct seq_operations cpuinfo_op = { > +const struct seq_operations cpuinfo_op = { > .start = c_start, > .next = c_next, > .stop = c_stop, CRIS

Re: [PATCH] procfs: constify function pointer tables

2008-01-23 Thread Jesper Nilsson
(struct seq_file *m, void *v); -struct seq_operations cpuinfo_op = { +const struct seq_operations cpuinfo_op = { .start = c_start, .next = c_next, .stop = c_stop, CRIS port: Acked-by: Jesper Nilsson [EMAIL PROTECTED] /^JN - Jesper Nilsson -- Jesper Nilsson

Re: [PATCH] CRIS v10: vmlinux.lds.S Fix kernel oops on boot and use common defines

2008-01-15 Thread Jesper Nilsson
On Tue, Jan 15, 2008 at 02:54:19PM +0100, Sam Ravnborg wrote: > On Tue, Jan 15, 2008 at 02:36:24PM +0100, Jesper Nilsson wrote: > > - Move alignment to page size of init data outside ifdef for BLK_DEV_INITRD. > > The reservation up to page size of memory after init data

[PATCH] CRIS v10: vmlinux.lds.S Fix kernel oops on boot and use common defines

2008-01-15 Thread Jesper Nilsson
-off-by: Jesper Nilsson <[EMAIL PROTECTED]> --- NOTE: This patch supercedes arch-cris-arch-v10-vmlinuxldss-fix-boot-problem.patch by Yuusei KUWANA <[EMAIL PROTECTED]> in the -mm tree. That patch only restricts which sections are counted as init memory, and does not solve the underl

[PATCH] CRIS v10: vmlinux.lds.S Fix kernel oops on boot and use common defines

2008-01-15 Thread Jesper Nilsson
-off-by: Jesper Nilsson [EMAIL PROTECTED] --- NOTE: This patch supercedes arch-cris-arch-v10-vmlinuxldss-fix-boot-problem.patch by Yuusei KUWANA [EMAIL PROTECTED] in the -mm tree. That patch only restricts which sections are counted as init memory, and does not solve the underlying problem

Re: [PATCH] CRIS v10: vmlinux.lds.S Fix kernel oops on boot and use common defines

2008-01-15 Thread Jesper Nilsson
On Tue, Jan 15, 2008 at 02:54:19PM +0100, Sam Ravnborg wrote: On Tue, Jan 15, 2008 at 02:36:24PM +0100, Jesper Nilsson wrote: - Move alignment to page size of init data outside ifdef for BLK_DEV_INITRD. The reservation up to page size of memory after init data was previously not done

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

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

[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 #include #include +#include #include #include #include -- 1.5.3.6.970.gd25430 /^JN - Jesper Nilsson -- Jesper Nilsson -- [EMAIL PROTECTED] -- To unsubscribe from this list: send the line

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

2008-01-11 Thread Jesper Nilsson
+#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 the lin

[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

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

[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: (Try #3) [Patch 4/8] CRIS: Remove 'TOPDIR' from Makefiles

2008-01-03 Thread Jesper Nilsson
gt; Signed-off-by: WANG Cong <[EMAIL PROTECTED]> > > Added Jesper to Cc and applied. Thanks! > Sam /^JN - Jesper Nilsson -- Jesper Nilsson -- [EMAIL PROTECTED] -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a messag

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

2008-01-03 Thread Jesper Nilsson
er 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 PROTECTED] -- To unsubscribe from this list: send the line "unsub

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

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: [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/vmlin

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

2007-12-21 Thread Jesper Nilsson
sider what payload 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 Nil

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

2007-12-21 Thread Jesper Nilsson
* We fill to the next page, so we can discard all init +* pages without needing to consider what payload might be +* appended to the kernel image. + */ + .init.fill : { + FILL (0); + . = ALIGN (8192); +

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] 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/bito

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

2007-12-20 Thread Jesper Nilsson
s very old code, it hasn't changed since 2001 and it is not used 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 li

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 02/47] Add new driver files for Artpec-3.

2007-12-14 Thread Jesper Nilsson
; > + > > +static int gpio_pwm_set_mode(unsigned long arg, int pwm_port) > > +{ > > + int pinmux_pwm = pinmux_pwm0 + pwm_port; > > + int mode; > > + reg_gio_rw_pwm0_ctrl rw_pwm_ctrl = { > > + .ccd_val = 0, > > + .ccd_override = regk_gio_no, > >

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 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* dat

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 >

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(>mmap_sem); &g

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

2007-12-12 Thread Jesper Nilsson
that tree once the 2.6.25 merge window opens. Ok, 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 linu

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 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 w

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

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

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

<    1   2   3   4   5   6   7   >