Re: [PATCH] cris: Wire up missing syscalls

2015-06-03 Thread Jesper Nilsson
On Wed, Jun 03, 2015 at 01:36:47PM +0200, Chen Gang wrote: > On 06/03/2015 06:20 PM, Jesper Nilsson wrote: > > On Wed, May 06, 2015 at 03:48:12PM +0200, Chen Gang wrote: > >> The related warnings: > >> Signed-off-by: Chen Gang > > Thanks and applied, sorry for

Re: [PATCH 1/2] CRISv10: delete unused lib/old_checksum.c

2015-06-03 Thread Jesper Nilsson
On Fri, May 22, 2015 at 08:58:48PM +0200, Rabin Vincent wrote: > This file is never built. > > Signed-off-by: Rabin Vincent Thanks, added. /^JN - Jesper Nilsson -- Jesper Nilsson -- jesper.nils...@axis.com -- To unsubscribe from this list: send the line "uns

Re: [GIT PULL] CRIS changes for -next

2015-06-03 Thread Jesper Nilsson
arch/cris/include/uapi/asm/resource.h > delete mode 100644 arch/cris/include/uapi/asm/sembuf.h > delete mode 100644 arch/cris/include/uapi/asm/shmbuf.h > delete mode 100644 arch/cris/include/uapi/asm/siginfo.h > delete mode 100644 arch/cris/include/uapi/asm/socket.h > del

Re: [PATCH] cris: Wire up missing syscalls

2015-06-03 Thread Jesper Nilsson
NR_sched_getattr 353 +#define __NR_renameat2 354 +#define __NR_seccomp 355 +#define __NR_getrandom 356 +#define __NR_memfd_create 357 +#define __NR_bpf 358 +#define __NR_execveat 359 #endif /* _UAPI_ASM_CRIS_UNISTD_H_ */ -- 1.7.10.4 /^JN -

Re: [GIT PULL] CRIS changes for -next

2015-06-03 Thread Jesper Nilsson
- 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 Please read the FAQ at http

Re: [PATCH] cris: Wire up missing syscalls

2015-06-03 Thread Jesper Nilsson
/* _UAPI_ASM_CRIS_UNISTD_H_ */ -- 1.7.10.4 /^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 1/2] CRISv10: delete unused lib/old_checksum.c

2015-06-03 Thread Jesper Nilsson
On Fri, May 22, 2015 at 08:58:48PM +0200, Rabin Vincent wrote: This file is never built. Signed-off-by: Rabin Vincent ra...@rab.in Thanks, added. /^JN - Jesper Nilsson -- Jesper Nilsson -- jesper.nils...@axis.com -- To unsubscribe from this list: send the line unsubscribe

Re: [PATCH] cris: Wire up missing syscalls

2015-06-03 Thread Jesper Nilsson
On Wed, Jun 03, 2015 at 01:36:47PM +0200, Chen Gang wrote: On 06/03/2015 06:20 PM, Jesper Nilsson wrote: On Wed, May 06, 2015 at 03:48:12PM +0200, Chen Gang wrote: The related warnings: Signed-off-by: Chen Gang gang.chen.5...@gmail.com Thanks and applied, sorry for the long delay, I had

Re: [PATCH 2/2] CRISv32: allow CONFIG_DEBUG_BUGVERBOSE

2015-05-17 Thread Jesper Nilsson
On Thu, May 14, 2015 at 02:36:56PM +0200, Rabin Vincent wrote: > Support for verbose BUG reporting already exists, but the HAVE flag that > allows the option to be enabled is missing. Thanks, applied! /^JN - Jesper Nilsson -- Jesper Nilsson -- jesper.nils...@ax

Re: [PATCH 1/2] CRISv32: add unreachable() to BUG()

2015-05-17 Thread Jesper Nilsson
ches end of non-void > function [-Wreturn-type] Thanks, applied! /^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

Re: [PATCH 1/2] CRISv32: add unreachable() to BUG()

2015-05-17 Thread Jesper Nilsson
function [-Wreturn-type] Thanks, applied! /^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

Re: [PATCH 2/2] CRISv32: allow CONFIG_DEBUG_BUGVERBOSE

2015-05-17 Thread Jesper Nilsson
On Thu, May 14, 2015 at 02:36:56PM +0200, Rabin Vincent wrote: Support for verbose BUG reporting already exists, but the HAVE flag that allows the option to be enabled is missing. Thanks, applied! /^JN - Jesper Nilsson -- Jesper Nilsson -- jesper.nils...@axis.com

Re: [PATCH] cris: arch-v32: gpio: Use kzalloc instead of kmalloc/memset

2015-05-11 Thread Jesper Nilsson
On Fri, May 01, 2015 at 03:58:19PM +0200, Christophe Jaillet wrote: > Turn a kmalloc/memset into an equivalent kzalloc. > Doing so also move the zero'ing of the memory outside of a mutex. Agreed, thanks! > Signed-off-by: Christophe Jaillet /^JN - Jesper Nilsson --

Re: [PATCH] cris: arch-v32: gpio: Use kzalloc instead of kmalloc/memset

2015-05-11 Thread Jesper Nilsson
On Fri, May 01, 2015 at 03:58:19PM +0200, Christophe Jaillet wrote: Turn a kmalloc/memset into an equivalent kzalloc. Doing so also move the zero'ing of the memory outside of a mutex. Agreed, thanks! Signed-off-by: Christophe Jaillet christophe.jail...@wanadoo.fr /^JN - Jesper Nilsson

[GIT PULL]: CRIS changes for 4.1

2015-04-25 Thread Jesper Nilsson
Andrey Ryabinin (1): cris: fix integer overflow in ELF_ET_DYN_BASE Jesper Nilsson (1): Add binding documentation for CRIS Rabin Vincent (17): CRIS: enable GPIOLIB CRISv32: add irq domains support CRISv32: add

[GIT PULL]: CRIS changes for 4.1

2015-04-25 Thread Jesper Nilsson
Andrey Ryabinin (1): cris: fix integer overflow in ELF_ET_DYN_BASE Jesper Nilsson (1): Add binding documentation for CRIS Rabin Vincent (17): CRIS: enable GPIOLIB CRISv32: add irq domains support CRISv32: add

Re: [PATCH 23/24] arch: Remove exec_domain from remaining archs

2015-04-13 Thread Jesper Nilsson
d-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...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo

Re: [PATCH 23/24] arch: Remove exec_domain from remaining archs

2015-04-13 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

Re: [PATCH 3/3] tty: remove buf parameter from tty_name()

2015-04-07 Thread Jesper Nilsson
f-by: Rasmus Villemoes For the CRISv10 driver: 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...@vger.kernel.org Mo

Re: [PATCH 3/3] tty: remove buf parameter from tty_name()

2015-04-07 Thread Jesper Nilsson
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/majordomo

Re: [PATCH 10/32] cris/arch-v32: copy_thread(): rename 'arg' argument to 'kthread_arg'

2015-03-25 Thread Jesper Nilsson
py_thread()). > > Signed-off-by: Alex Dowad 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...@vger.kernel.org Mor

Re: [PATCH 09/32] cris/arch-v10: copy_thread(): rename 'arg' argument to 'kthread_arg'

2015-03-25 Thread Jesper Nilsson
py_thread()). > > Signed-off-by: Alex Dowad 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...@vger.kernel.org Mor

Re: [PATCH] cris: fix integer overflow in ELF_ET_DYN_BASE

2015-03-25 Thread Jesper Nilsson
ecomes wrong. > Fix this overflow by dividing TASK_SIZE prior to multiplying: > (TASK_SIZE / 3 * 2) Good catch, thanks, added to the CRIS-tree. > Signed-off-by: Andrey Ryabinin /^JN - Jesper Nilsson -- Jesper Nilsson -- jesper.nils...@axis.com -- To unsubscribe from thi

Re: [PATCH] cris: fix integer overflow in ELF_ET_DYN_BASE

2015-03-25 Thread Jesper Nilsson
this overflow by dividing TASK_SIZE prior to multiplying: (TASK_SIZE / 3 * 2) Good catch, thanks, added to the CRIS-tree. Signed-off-by: Andrey Ryabinin a.ryabi...@samsung.com /^JN - Jesper Nilsson -- Jesper Nilsson -- jesper.nils...@axis.com -- To unsubscribe from this list

Re: [PATCH 09/32] cris/arch-v10: copy_thread(): rename 'arg' argument to 'kthread_arg'

2015-03-25 Thread Jesper Nilsson
-off-by: Alex Dowad alexinbeij...@gmail.com 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 in the body of a message to majord

Re: [PATCH 10/32] cris/arch-v32: copy_thread(): rename 'arg' argument to 'kthread_arg'

2015-03-25 Thread Jesper Nilsson
-off-by: Alex Dowad alexinbeij...@gmail.com 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 in the body of a message to majord

Re: [PATCH for-3.20-fixes] workqueue: fix hang involving racing cancel[_delayed]_work_sync()'s for PREEMPT_NONE

2015-03-02 Thread Jesper Nilsson
On Mon, Mar 02, 2015 at 11:21:44AM -0500, Tejun Heo wrote: > On Mon, Mar 02, 2015 at 01:26:15PM +0100, Jesper Nilsson wrote: > > On Mon, Feb 09, 2015 at 05:15:27PM +0100, Tejun Heo wrote: > > > Hello, > > > > Hi! > > > > > This patch removes the

Re: [PATCH for-3.20-fixes] workqueue: fix hang involving racing cancel[_delayed]_work_sync()'s for PREEMPT_NONE

2015-03-02 Thread Jesper Nilsson
in 4.0-rc1 at least? Is it queued for the 3.18 stable branch? Best regards, /^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 Mor

Re: [PATCH for-3.20-fixes] workqueue: fix hang involving racing cancel[_delayed]_work_sync()'s for PREEMPT_NONE

2015-03-02 Thread Jesper Nilsson
On Mon, Mar 02, 2015 at 11:21:44AM -0500, Tejun Heo wrote: On Mon, Mar 02, 2015 at 01:26:15PM +0100, Jesper Nilsson wrote: On Mon, Feb 09, 2015 at 05:15:27PM +0100, Tejun Heo wrote: Hello, Hi! This patch removes the possible hang by updating __cancel_work_timer() to explicitly

Re: [PATCH for-3.20-fixes] workqueue: fix hang involving racing cancel[_delayed]_work_sync()'s for PREEMPT_NONE

2015-03-02 Thread Jesper Nilsson
at least? Is it queued for the 3.18 stable branch? Best regards, /^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

Re: [PATCH V2 - 15/27] cris: Remove use of seq_printf return value

2015-02-22 Thread Jesper Nilsson
blic") > Signed-off-by: Joe Perches 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...@vger.kernel.org More maj

Re: [PATCH V2 - 15/27] cris: Remove use of seq_printf return value

2015-02-22 Thread Jesper Nilsson
Perches j...@perches.com 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 in the body of a message to majord...@vger.kernel.org More majordomo info

Re: [PATCH 2/6] CRIS: remove SMP code

2015-02-19 Thread Jesper Nilsson
-tree. /^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 Please

Re: [PATCH 4/6] CRIS: use generic atomic.h

2015-02-19 Thread Jesper Nilsson
On Thu, Feb 19, 2015 at 08:29:54PM +0100, Rabin Vincent wrote: > CRIS can use asm-generic's atomic.h. > > Signed-off-by: Rabin Vincent Agreed, added to the CRIS-tree. /^JN - Jesper Nilsson -- Jesper Nilsson -- jesper.nils...@axis.com -- To unsubscribe from this l

Re: [PATCH 6/6] CRIS: use generic headers via Kbuild

2015-02-19 Thread Jesper Nilsson
On Thu, Feb 19, 2015 at 08:29:56PM +0100, Rabin Vincent wrote: > Delete headers which do nothing but include the asm-generic versions and > use Kbuild magic instead. > > Signed-off-by: Rabin Vincent Nice! Added to the CRIS-tree. /^JN - Jesper Nilsson -- Je

Re: [PATCH 5/6] CRIS: use generic cmpxchg.h

2015-02-19 Thread Jesper Nilsson
On Thu, Feb 19, 2015 at 08:29:55PM +0100, Rabin Vincent wrote: > CRIS can use asm-generic's cmpxchg.h > > Signed-off-by: Rabin Vincent Looks good, adding to the CRIS-tree. Thanks! /^JN - Jesper Nilsson -- Jesper Nilsson -- jesper.nils...@axis.com -- To unsubsc

Re: [PATCH 3/6] CRIS: use generic atomic bitops

2015-02-19 Thread Jesper Nilsson
On Thu, Feb 19, 2015 at 08:29:53PM +0100, Rabin Vincent wrote: > The generic atomic bitops are the same as the CRIS-specific ones. > > Signed-off-by: Rabin Vincent Looks good, added to the CRIS-tree. Thanks, /^JN - Jesper Nilsson -- Jesper Nilsson -- jesper.nils...

Re: [PATCH 1/6] CRISv32: don't enable irqs in INIT_THREAD

2015-02-19 Thread Jesper Nilsson
; > Signed-off-by: Rabin Vincent Looks good, adding to the CRIS-tree. /^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

Re: [PATCH 6/6] CRIS: use generic headers via Kbuild

2015-02-19 Thread Jesper Nilsson
On Thu, Feb 19, 2015 at 08:29:56PM +0100, Rabin Vincent wrote: Delete headers which do nothing but include the asm-generic versions and use Kbuild magic instead. Signed-off-by: Rabin Vincent ra...@rab.in Nice! Added to the CRIS-tree. /^JN - Jesper Nilsson -- Jesper Nilsson

Re: [PATCH 5/6] CRIS: use generic cmpxchg.h

2015-02-19 Thread Jesper Nilsson
On Thu, Feb 19, 2015 at 08:29:55PM +0100, Rabin Vincent wrote: CRIS can use asm-generic's cmpxchg.h Signed-off-by: Rabin Vincent ra...@rab.in Looks good, adding to the CRIS-tree. Thanks! /^JN - Jesper Nilsson -- Jesper Nilsson -- jesper.nils...@axis.com -- To unsubscribe

Re: [PATCH 1/6] CRISv32: don't enable irqs in INIT_THREAD

2015-02-19 Thread Jesper Nilsson
Signed-off-by: Rabin Vincent ra...@rab.in Looks good, adding to the CRIS-tree. /^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 2/6] CRIS: remove SMP code

2015-02-19 Thread 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...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ

Re: [PATCH 3/6] CRIS: use generic atomic bitops

2015-02-19 Thread Jesper Nilsson
On Thu, Feb 19, 2015 at 08:29:53PM +0100, Rabin Vincent wrote: The generic atomic bitops are the same as the CRIS-specific ones. Signed-off-by: Rabin Vincent ra...@rab.in Looks good, added to the CRIS-tree. Thanks, /^JN - Jesper Nilsson -- Jesper Nilsson -- jesper.nils

Re: [PATCH 4/6] CRIS: use generic atomic.h

2015-02-19 Thread Jesper Nilsson
On Thu, Feb 19, 2015 at 08:29:54PM +0100, Rabin Vincent wrote: CRIS can use asm-generic's atomic.h. Signed-off-by: Rabin Vincent ra...@rab.in Agreed, added to the CRIS-tree. /^JN - Jesper Nilsson -- Jesper Nilsson -- jesper.nils...@axis.com -- To unsubscribe from this list

[GIT PULL] CRIS changes for 3.20

2015-02-15 Thread Jesper Nilsson
for 3.20 Jesper Nilsson (5): CRIS: Export csum_partial_copy_nocheck CRIS: Avoid warning in cris mm/fault.c CRISv32: Avoid warning of unused variable CRIS: Fix missing NR_CPUS in menuconfig CRIS: Whitespace

[GIT PULL] CRIS changes for 3.20

2015-02-15 Thread Jesper Nilsson
for 3.20 Jesper Nilsson (5): CRIS: Export csum_partial_copy_nocheck CRIS: Avoid warning in cris mm/fault.c CRISv32: Avoid warning of unused variable CRIS: Fix missing NR_CPUS in menuconfig CRIS: Whitespace

Re: [PATCH for-3.20-fixes] workqueue: fix hang involving racing cancel[_delayed]_work_sync()'s for PREEMPT_NONE

2015-02-10 Thread Jesper Nilsson
On Mon, Feb 09, 2015 at 05:29:55PM +0100, Jesper Nilsson wrote: > On Mon, Feb 09, 2015 at 05:15:27PM +0100, Tejun Heo wrote: > > Hello, > > Hi, > > > Can you please verify that the following patch fixes the issue? > > Rabin will have to report if it fixes it for

Re: [PATCH 3/3] CRISv32: handle multiple signals

2015-02-10 Thread Jesper Nilsson
On Mon, Feb 09, 2015 at 05:57:03PM +0100, Guenter Roeck wrote: > On Mon, Feb 09, 2015 at 10:57:27AM +0100, Jesper Nilsson wrote: > > > > Niclas Cassel has submitted a reworked driver for crisv32, > > which is in Gregs tree now, unfortunately it wasn't sent to LKML, > >

Re: [PATCH for-3.20-fixes] workqueue: fix hang involving racing cancel[_delayed]_work_sync()'s for PREEMPT_NONE

2015-02-10 Thread Jesper Nilsson
On Mon, Feb 09, 2015 at 05:29:55PM +0100, Jesper Nilsson wrote: On Mon, Feb 09, 2015 at 05:15:27PM +0100, Tejun Heo wrote: Hello, Hi, Can you please verify that the following patch fixes the issue? Rabin will have to report if it fixes it for his synthetic case, but I'll try it in my

Re: [PATCH 3/3] CRISv32: handle multiple signals

2015-02-10 Thread Jesper Nilsson
On Mon, Feb 09, 2015 at 05:57:03PM +0100, Guenter Roeck wrote: On Mon, Feb 09, 2015 at 10:57:27AM +0100, Jesper Nilsson wrote: Niclas Cassel has submitted a reworked driver for crisv32, which is in Gregs tree now, unfortunately it wasn't sent to LKML, only the linux-serial list

Re: [PATCH for-3.20-fixes] workqueue: fix hang involving racing cancel[_delayed]_work_sync()'s for PREEMPT_NONE

2015-02-09 Thread Jesper Nilsson
truct w > > flush_work(work); > clear_work_data(work); > + > + /* > + * Paired with prepare_to_wait() above so that either > + * waitqueue_active() is visible here or !work_is_canceling() is > + * visible there. > + */ > +

Re: [PATCH 3/3] CRISv32: handle multiple signals

2015-02-09 Thread Jesper Nilsson
et/lists/linux-serial/msg15619.html > Thanks, > Guenter /^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 majordom

Re: [PATCH 3/3] CRISv32: handle multiple signals

2015-02-09 Thread Jesper Nilsson
RM: 7472/1: pull all work_pending logics into C function"). > > This also happens to fixes the warnings which currently trigger on > CRISv32 due to do_signal() being called with interrupts disabled. > Reported-by: Al Viro > Signed-off-by: Rabin Vincent Nice, added in the CR

Re: [PATCH 2/3] CRISv32: prevent bogus restarts on sigreturn

2015-02-09 Thread Jesper Nilsson
On Sun, Feb 08, 2015 at 09:45:03PM +0100, Rabin Vincent wrote: > Al Viro noted that CRIS is vulnerable to bogus restarts on sigreturn. > Reported-by: Al Viro > Signed-off-by: Rabin Vincent Nice, added in the CRIS tree for 3.20. /^JN - Jesper Nilsson -- Jespe

Re: [PATCH 1/3] CRISv32: don't attempt syscall restart on irq exit

2015-02-09 Thread Jesper Nilsson
quot;); > } > > void handler1(int sig) { } > > int main(int argc, char *argv[]) > { > struct itimerval t1 = { .it_value = {1} }; > > signal(SIGALRM, handler1); > setitimer(ITIMER_REAL, , NULL); > > f(-513); /* -ERESTAR

Re: [PATCH 4/4] CRIS: add Axis 88 board device tree

2015-02-09 Thread Jesper Nilsson
On Sun, Feb 08, 2015 at 04:35:45PM +0100, Rabin Vincent wrote: > Add a minimal device tree for the ETRAX FS SoC and the Axis 88 developer > board. > > Signed-off-by: Rabin Vincent Looks good, putting it in the CRIS tree for 3.20. /^JN - Jesper Nilsson -- Je

Re: [PATCH 3/4] CRIS: document CRISv32 intc bindings

2015-02-09 Thread Jesper Nilsson
On Sun, Feb 08, 2015 at 04:35:44PM +0100, Rabin Vincent wrote: > Add the DT bindings documentation for the CRISV32 interrupt controller. > > Signed-off-by: Rabin Vincent Looks good, putting it in the CRIS tree for 3.20. /^JN - Jesper Nilsson -- Jesper Nilsson -- je

Re: [PATCH 2/4] CRISv32: add irq domains support

2015-02-09 Thread Jesper Nilsson
On Sun, Feb 08, 2015 at 04:35:43PM +0100, Rabin Vincent wrote: > Add support for IRQ domains to the CRISv32 interrupt controller. > > Signed-off-by: Rabin Vincent Looks good, putting it in the CRIS tree for 3.20. /^JN - Jesper Nilsson -- Jesper Nilsson -- je

Re: [PATCH 1/4] CRIS: add device tree support

2015-02-09 Thread Jesper Nilsson
On Sun, Feb 08, 2015 at 04:35:42PM +0100, Rabin Vincent wrote: > Add support for booting CRIS with a built-in device tree. > > Signed-off-by: Rabin Vincent Looks good, putting it in the CRIS tree for 3.20. /^JN - Jesper Nilsson -- Jesper Nilsson -- jesper.nils...

Re: [PATCH] CRIS: enable GPIOLIB

2015-02-09 Thread Jesper Nilsson
On Sun, Feb 08, 2015 at 04:31:58PM +0100, Rabin Vincent wrote: > Enable GPIOLIB on CRIS so that we can use the generic GPIO APIs. > > Signed-off-by: Rabin Vincent Looks good, putting it in the CRIS tree for 3.20. /^JN - Jesper Nilsson -- Jesper Nilsson -- je

Re: [PATCH] CRIS: enable GPIOLIB

2015-02-09 Thread Jesper Nilsson
On Sun, Feb 08, 2015 at 04:31:58PM +0100, Rabin Vincent wrote: Enable GPIOLIB on CRIS so that we can use the generic GPIO APIs. Signed-off-by: Rabin Vincent ra...@rab.in Looks good, putting it in the CRIS tree for 3.20. /^JN - Jesper Nilsson -- Jesper Nilsson -- jesper.nils

Re: [PATCH 1/4] CRIS: add device tree support

2015-02-09 Thread Jesper Nilsson
On Sun, Feb 08, 2015 at 04:35:42PM +0100, Rabin Vincent wrote: Add support for booting CRIS with a built-in device tree. Signed-off-by: Rabin Vincent ra...@rab.in Looks good, putting it in the CRIS tree for 3.20. /^JN - Jesper Nilsson -- Jesper Nilsson -- jesper.nils

Re: [PATCH 2/4] CRISv32: add irq domains support

2015-02-09 Thread Jesper Nilsson
On Sun, Feb 08, 2015 at 04:35:43PM +0100, Rabin Vincent wrote: Add support for IRQ domains to the CRISv32 interrupt controller. Signed-off-by: Rabin Vincent ra...@rab.in Looks good, putting it in the CRIS tree for 3.20. /^JN - Jesper Nilsson -- Jesper Nilsson -- jesper.nils

Re: [PATCH 3/4] CRIS: document CRISv32 intc bindings

2015-02-09 Thread Jesper Nilsson
On Sun, Feb 08, 2015 at 04:35:44PM +0100, Rabin Vincent wrote: Add the DT bindings documentation for the CRISV32 interrupt controller. Signed-off-by: Rabin Vincent ra...@rab.in Looks good, putting it in the CRIS tree for 3.20. /^JN - Jesper Nilsson -- Jesper Nilsson

Re: [PATCH 4/4] CRIS: add Axis 88 board device tree

2015-02-09 Thread Jesper Nilsson
On Sun, Feb 08, 2015 at 04:35:45PM +0100, Rabin Vincent wrote: Add a minimal device tree for the ETRAX FS SoC and the Axis 88 developer board. Signed-off-by: Rabin Vincent ra...@rab.in Looks good, putting it in the CRIS tree for 3.20. /^JN - Jesper Nilsson -- Jesper Nilsson

Re: [PATCH 1/3] CRISv32: don't attempt syscall restart on irq exit

2015-02-09 Thread Jesper Nilsson
); /* -ERESTARTNOINTR */ return 0; } Signed-off-by: Rabin Vincent ra...@rab.in Nice, added in the CRIS tree for 3.20. /^JN - Jesper Nilsson -- Jesper Nilsson -- jesper.nils...@axis.com -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body

Re: [PATCH 2/3] CRISv32: prevent bogus restarts on sigreturn

2015-02-09 Thread Jesper Nilsson
On Sun, Feb 08, 2015 at 09:45:03PM +0100, Rabin Vincent wrote: Al Viro noted that CRIS is vulnerable to bogus restarts on sigreturn. Reported-by: Al Viro v...@zeniv.linux.org.uk Signed-off-by: Rabin Vincent ra...@rab.in Nice, added in the CRIS tree for 3.20. /^JN - Jesper Nilsson

Re: [PATCH 3/3] CRISv32: handle multiple signals

2015-02-09 Thread Jesper Nilsson
- 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 Please read the FAQ at http

Re: [PATCH 3/3] CRISv32: handle multiple signals

2015-02-09 Thread Jesper Nilsson
/msg15619.html Thanks, Guenter /^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 for-3.20-fixes] workqueue: fix hang involving racing cancel[_delayed]_work_sync()'s for PREEMPT_NONE

2015-02-09 Thread Jesper Nilsson
+ * waitqueue_active() is visible here or !work_is_canceling() is + * visible there. + */ + smp_mb(); + if (waitqueue_active(waitq)) + wake_up(waitq); + return ret; } /^JN - Jesper Nilsson -- Jesper Nilsson -- jesper.nils...@axis.com

Re: [PATCH v2 33/40] cris: macro whitespace fixes

2015-01-27 Thread Jesper Nilsson
Thanks, looks good. I'll take it into the CRIS tree for 3.20. > Signed-off-by: Michael S. Tsirkin /^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

Re: [PATCH v2 06/40] cris/uaccess: fix sparse errors

2015-01-27 Thread Jesper Nilsson
__get_user_size(__gu_val,__gu_addr,(size),__gu_err);\ > - (x) = (__typeof__(*(ptr)))__gu_val; \ > + (x) = (__force __typeof__(*(ptr)))__gu_val; \ > __gu_err;

Re: [PATCH] cris: Remove unnecessary KERN_INFO from sync_serial.c

2015-01-27 Thread Jesper Nilsson
rw_ack_intr ack_intr = { .data = regk_dma_yes }; > unsigned long flags; > > - DEBUGRXINT(pr_info(KERN_INFO "!")); > + DEBUGRXINT(pr_info("!")); > spin_lock_irqsave(>lock, flags); > > /* If we overrun the user experience is crap

Re: [PATCH] cris: Remove unnecessary KERN_INFO from sync_serial.c

2015-01-27 Thread Jesper Nilsson
!)); + DEBUGRXINT(pr_info(!)); spin_lock_irqsave(port-lock, flags); /* If we overrun the user experience is crap regardless if we -- 2.3.0.rc0 /^JN - Jesper Nilsson -- Jesper Nilsson -- jesper.nils...@axis.com -- To unsubscribe from this list: send the line

Re: [PATCH v2 06/40] cris/uaccess: fix sparse errors

2015-01-27 Thread Jesper Nilsson
(*(ptr)))__gu_val; \ + (x) = (__force __typeof__(*(ptr)))__gu_val; \ __gu_err; \ }) -- MST /^JN - Jesper Nilsson -- Jesper Nilsson -- jesper.nils...@axis.com

Re: [PATCH v2 33/40] cris: macro whitespace fixes

2015-01-27 Thread Jesper Nilsson
. I'll take it into the CRIS tree for 3.20. Signed-off-by: Michael S. Tsirkin m...@redhat.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

Re: [PATCH] VFS: Convert file->f_dentry->d_inode to file_inode() [ver #2]

2015-01-16 Thread Jesper Nilsson
S tree or do you have any other tree in mind? > Signed-off-by: David Howells In any case: Reviewed-by: Jesper Nilsson > arch/cris/arch-v32/drivers/sync_serial.c |2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/arch/cris/arch-v32/drivers/sync_seri

Re: [PATCH] VFS: Convert file-f_dentry-d_inode to file_inode() [ver #2]

2015-01-16 Thread Jesper Nilsson
tree in mind? Signed-off-by: David Howells dhowe...@redhat.com In any case: Reviewed-by: Jesper Nilsson jesper.nils...@axis.com arch/cris/arch-v32/drivers/sync_serial.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/cris/arch-v32/drivers/sync_serial.c b/arch

[GIT PULL] CRIS changes for 3.19

2014-12-19 Thread Jesper Nilsson
of ETRAX_SPI_MMC_BOARD (2014-12-20 00:06:13 +0100) CRIS port changes for 3.19 Jesper Nilsson (13): CRISv32: Drop obsolete file for SPI driver CRISv32: Add

[GIT PULL] CRIS changes for 3.19

2014-12-19 Thread Jesper Nilsson
of ETRAX_SPI_MMC_BOARD (2014-12-20 00:06:13 +0100) CRIS port changes for 3.19 Jesper Nilsson (13): CRISv32: Drop obsolete file for SPI driver CRISv32: Add

Re: [PATCH -next 6/9] cris: Remove obsolete ASYNC_SPLIT_TERMIOS behavior

2014-11-06 Thread Jesper Nilsson
t; - Updated for 2.6.6. > > - Added IDE driver > > Cc: Mikael Starvik Agreed. Acked-by: Jesper Nilsson > Signed-off-by: Peter Hurley > --- > drivers/tty/serial/crisv10.c | 12 > drivers/tty/serial/crisv10.h | 1 - > 2 files changed, 13 deletio

Re: [PATCH -next 6/9] cris: Remove obsolete ASYNC_SPLIT_TERMIOS behavior

2014-11-06 Thread Jesper Nilsson
: Mikael Starvik star...@axis.com Agreed. Acked-by: Jesper Nilsson jesper.nils...@axis.com Signed-off-by: Peter Hurley pe...@hurleysoftware.com --- drivers/tty/serial/crisv10.c | 12 drivers/tty/serial/crisv10.h | 1 - 2 files changed, 13 deletions(-) diff --git a/drivers

Re: CRISv32: ETRAX_SPI_MMC_BOARD

2014-10-29 Thread Jesper Nilsson
here are no users of this symbol left. Reported-by: Paul Bolle Signed-off-by: Jesper Nilsson --- arch/cris/arch-v32/drivers/Kconfig |7 --- 1 file changed, 7 deletions(-) diff --git a/arch/cris/arch-v32/drivers/Kconfig b/arch/cris/arch-v32/drivers/Kconfig index 6880f94..7068c4b 100644 ---

Re: CRISv32: ETRAX_SPI_MMC_BOARD

2014-10-29 Thread Jesper Nilsson
-by: Paul Bolle pebo...@tiscali.nl Signed-off-by: Jesper Nilsson jesper.nils...@axis.com --- arch/cris/arch-v32/drivers/Kconfig |7 --- 1 file changed, 7 deletions(-) diff --git a/arch/cris/arch-v32/drivers/Kconfig b/arch/cris/arch-v32/drivers/Kconfig index 6880f94..7068c4b 100644 --- a/arch

Re: linux-next: error fetching the cris tree

2014-10-28 Thread Jesper Nilsson
jesper/cris.git Should go a bit faster from there. The old mirror (repo.or.cz) will still be there, but the tree at jni.nu will probably not come back. > I will use the cris tree from yesterday. Thanks, /^JN - Jesper Nilsson -- Jesper Nilsson -- jesper.nils...@axis.com -- T

Re: linux-next: error fetching the cris tree

2014-10-28 Thread Jesper Nilsson
a bit faster from there. The old mirror (repo.or.cz) will still be there, but the tree at jni.nu will probably not come back. I will use the cris tree from yesterday. Thanks, /^JN - Jesper Nilsson -- Jesper Nilsson -- jesper.nils...@axis.com -- To unsubscribe from this list

Re: Status of 'cris' architecture support in Linux kernel

2014-09-18 Thread Jesper Nilsson
backtrace code only checks the stack for any pointers in the kernel address space and reports them too. > --> Further debugging shows that interrupts are disabled when this happens. > > This traceback is seen from 3.10 onwards. 3.4 did not show the traceback; I > did > not te

Re: Status of 'cris' architecture support in Linux kernel

2014-09-18 Thread Jesper Nilsson
that interrupts are disabled when this happens. This traceback is seen from 3.10 onwards. 3.4 did not show the traceback; I did not test any releases in between. Ok thanks, will try to reproduce here. Guenter /^JN - Jesper Nilsson -- Jesper Nilsson -- jesper.nils...@axis.com

Re: Status of 'cris' architecture support in Linux kernel

2014-09-15 Thread Jesper Nilsson
/include/arch [for crisv10] > usr/include/arch-v32/arch -> usr/include/arch [for crisv32] > > gcc: > - binutils 2.24 > - uclibc 0.9.33.2 > - gcc 4.7.4 > Requires a backport from upstream gcc to compile. > Later versions of gcc (4.8.3, 4.9.1) fail with

Re: [PATCH] arch/microblaze/kernel/setup.c: Add default 'screen_info" for fixing compiling break

2014-09-15 Thread Jesper Nilsson
CRIS platform has ever had a video console. > I (still) think it's time to introduce ARCH_MIGHT_HAVE_VGA, and make > VGA_CONSOLE depend on that, cfr. Sounds reasonable, at least it can avoid the specific depends on !*arch* cruft. > Gr{oetje,eeting}s, > >

Re: [PATCH] arch/microblaze/kernel/setup.c: Add default 'screen_info for fixing compiling break

2014-09-15 Thread Jesper Nilsson
it can avoid the specific depends on !*arch* cruft. Gr{oetje,eeting}s, Geert /^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

Re: Status of 'cris' architecture support in Linux kernel

2014-09-15 Thread Jesper Nilsson
it knowing the gcc CRIS maintainer :-) Toolchain was built successfully with buildroot (after adding cris support to it) with above patches / changes. Thanks again, /^JN - Jesper Nilsson -- Jesper Nilsson -- jesper.nils...@axis.com -- To unsubscribe from this list: send the line

Re: [PATCH 17/38] cris: clean-up uapi Kbuild file

2014-09-03 Thread Jesper Nilsson
On Mon, Jul 14, 2014 at 05:08:45PM +0200, Sam Ravnborg wrote: > Remove redundant assignments. > > Signed-off-by: Sam Ravnborg > Cc: Mikael Starvik > Cc: Jesper Nilsson Don't see this patch in Linus tree yet, so if you want it, here's my Acked-by: Jesper Nilsson and thanks!

Re: [PATCH 01/38] cris: fix headers_install

2014-09-03 Thread Jesper Nilsson
you want it, here's my Acked-by: Jesper Nilsson and thanks! > Signed-off-by: Sam Ravnborg > Cc: Mikael Starvik > Cc: Jesper Nilsson > Cc: David Howells > --- > arch/cris/include/asm/Kbuild | 5 - > arch/cris/include/uapi/asm/Kbuild | 4 ++-- > scripts/headers.sh

Re: [PATCH 17/38] cris: clean-up uapi Kbuild file

2014-09-03 Thread Jesper Nilsson
On Mon, Jul 14, 2014 at 05:08:45PM +0200, Sam Ravnborg wrote: Remove redundant assignments. Signed-off-by: Sam Ravnborg s...@ravnborg.org Cc: Mikael Starvik star...@axis.com Cc: Jesper Nilsson jesper.nils...@axis.com Don't see this patch in Linus tree yet, so if you want it, here's my

Re: [PATCH 01/38] cris: fix headers_install

2014-09-03 Thread Jesper Nilsson
my Acked-by: Jesper Nilsson jesper.nils...@axis.com and thanks! Signed-off-by: Sam Ravnborg s...@ravnborg.org Cc: Mikael Starvik star...@axis.com Cc: Jesper Nilsson jesper.nils...@axis.com Cc: David Howells dhowe...@redhat.com --- arch/cris/include/asm/Kbuild | 5 - arch/cris

Re: [PATCH tty-next 17/22] tty: Remove ASYNC_CLOSING

2014-06-16 Thread Jesper Nilsson
ko Carstens > CC: linux-s...@vger.kernel.org > CC: Mikael Starvik For the CRIS part: Acked-by: Jesper Nilsson > CC: linux-cris-ker...@axis.com > CC: Samuel Ortiz > CC: "David S. Miller" > Signed-off-by: Peter Hurley /^JN - Jesper Nilsson -- Jesper N

Re: [PATCH tty-next 09/22] tty: Remove tty_hung_up_p() tests from tty drivers' open()

2014-06-16 Thread Jesper Nilsson
| > > Note that since tty_port_block_til_ready() and similar drop > the tty_lock while blocking, when woken, the file pointer > must then be tested for having been hung up. > > Also, fix bit-rotted drivers that used extra_count to track the > port->count bump. >

Re: [PATCH tty-next 09/22] tty: Remove tty_hung_up_p() tests from tty drivers' open()

2014-06-16 Thread Jesper Nilsson
for having been hung up. Also, fix bit-rotted drivers that used extra_count to track the port-count bump. CC: Mikael Starvik star...@axis.com For the CRIS part: Acked-by: Jesper Nilsson jesper.nils...@axis.com CC: Samuel Ortiz sam...@sortiz.org CC: David S. Miller da...@davemloft.net Signed

Re: [PATCH tty-next 17/22] tty: Remove ASYNC_CLOSING

2014-06-16 Thread Jesper Nilsson
CC: Mikael Starvik star...@axis.com For the CRIS part: Acked-by: Jesper Nilsson jesper.nils...@axis.com CC: linux-cris-ker...@axis.com CC: Samuel Ortiz sam...@sortiz.org CC: David S. Miller da...@davemloft.net Signed-off-by: Peter Hurley pe...@hurleysoftware.com /^JN - Jesper Nilsson

<    1   2   3   4   5   6   7   >