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

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

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

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

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

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 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
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 -next] cris: Fix system call references for cris v10

2015-06-08 Thread Jesper Nilsson
: Wire up missing syscalls) Cc: Chen Gang gang.chen.5...@gmail.com Signed-off-by: Guenter Roeck li...@roeck-us.net Hi Guenter! Thanks, a similar patch should already be folded into the original tree, could you verify with the latest for-next/linux-next? /^JN - Jesper Nilsson

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] cris: Wire up missing syscalls

2015-06-04 Thread Jesper Nilsson
On Wed, Jun 03, 2015 at 05:04:26PM +0200, Jesper Nilsson wrote: On Wed, Jun 03, 2015 at 01:36:47PM +0200, Chen Gang wrote: - For v10, need we also use sys* instead of _sys*? No, the trick here is that v10 and v32 uses different standards with regards to prefixing underscore. I'm hoping

Re: [PATCH] cris: don't use module_init for non-modular core eeprom.c code

2015-06-15 Thread Jesper Nilsson
Starvik star...@axis.com Looks good, I'll take it in the CRIS-tree. Cc: linux-cris-ker...@axis.com Signed-off-by: Paul Gortmaker paul.gortma...@windriver.com /^JN - Jesper Nilsson -- Jesper Nilsson -- jesper.nils...@axis.com -- To unsubscribe from this list: send the line

Re: [PATCH -next] cris: Drop reference to get_cmos_time()

2015-10-26 Thread Jesper Nilsson
el/built-in.o:(___ksymtab+get_cmos_time+0x0): > undefined reference to `get_cmos_time' > Makefile:946: recipe for target 'vmlinux' failed Agreed, added to the cris-tree. Thanks, /^JN - Jesper Nilsson -- Jesper Nilsson -- jesper.nils...@axis.com -- To unsubscribe from this l

Re: [GIT PULL]: CRIS changes for 4.4

2015-11-03 Thread Jesper Nilsson
On Tue, Nov 03, 2015 at 01:49:23AM +0100, Stephen Rothwell wrote: > Hi Jesper, > > On Mon, 2 Nov 2015 21:17:03 +0100 Jesper Nilsson <jesper.nils...@axis.com> > wrote: > > > > Please pull CRIS changes for 4.4: > > > > Mostly another batch of code remo

[GIT PULL]: CRIS changes for 4.4

2015-11-02 Thread Jesper Nilsson
in hex format Chen Gang (2): cris: arch-v10: kgdb: Use BAR instead of DTP0 for register P12 cris: arch-v10: kgdb: Add '__used' for static variable is_dyn_brkp Guenter Roeck (1): cris: Drop reference to get_cmos_time() Jesper Nilsson (1): CRIS: Drop code related to obsolete

Re: Problems with 'mtd: warn when registering the same master many times'

2015-11-02 Thread Jesper Nilsson
r has any comments. I didn't see an easy way to fix that > driver myself, so I guess we may have to live with the warning for now. Yeah, I'm sorry to say that we're aware of the problem but haven't got to fixing it... At one time (3.20?), the code actually went into an infinite loop on startup. :-( I'

Re: [RESEND PATCH] timerfd: Allow TFD_TIMER_CANCEL_ON_SET with relative timeouts

2015-10-20 Thread Jesper Nilsson
m. It also looks like Miroslav's patch will handle the other cases of a accidental user initiated set of a bad date or a maliciously set NTP. Though, from my point of view, a wrap-around to 1970 would be just as valid as a jump one week in the past. What's the current status of that patch? >

[RESEND PATCH] timerfd: Allow TFD_TIMER_CANCEL_ON_SET with relative timeouts

2015-10-09 Thread Jesper Nilsson
Allow TFD_TIMER_CANCEL_ON_SET on timerfd_settime() with relative as well as absolute timeout. Signed-off-by: Jesper Nilsson <jesper.nils...@axis.com> --- Resending after some discussion with Thomas Gleixner at ELCE, and Cc:ing John Stultz and Michael Kerrisk who may have comments.

[PATCH] timerfd: Allow TFD_TIMER_CANCEL_ON_SET with relative timeouts

2015-09-07 Thread Jesper Nilsson
Allow TFD_TIMER_CANCEL_ON_SET on timerfd_settime() with relative as well as absolute timeout. Signed-off-by: Jesper Nilsson <jesper.nils...@axis.com> --- Longer background: One of the uses for TFD_TIMER_CANCEL_ON_SET is to get an event when the CLOCK_REALTIME changes (as by NTP or user

[GIT PULL]: CRIS changes for 4.3

2015-09-12 Thread Jesper Nilsson
syscalls Christophe Jaillet (1): cris: arch-v32: gpio: Use kzalloc instead of kmalloc/memset Jesper Nilsson (3): CRISv32: ETRAX FS: Squash warnings in pinmux driver CRISv32: Add GPIO driver to the default configs CRISv32: Squash compile warnings for axisflashmap Rabin

Re: [PATCH] cris: kgdb: use native hex2bin

2015-09-30 Thread Jesper Nilsson
On Wed, Sep 30, 2015 at 06:37:51PM +0300, Andy Shevchenko wrote: > On Wed, 2015-09-30 at 17:22 +0200, Jesper Nilsson wrote: > > On Wed, Sep 30, 2015 at 04:46:53PM +0200, Andy Shevchenko wrote: > > > On Tue, 2013-06-04 at 11:51 +0300, Andy Shevchenko wrote: > > > > T

Re: [PATCH] cris: kgdb: use native hex2bin

2015-09-30 Thread Jesper Nilsson
On Wed, Sep 30, 2015 at 08:02:34PM +0200, Jesper Nilsson wrote: > On Wed, Sep 30, 2015 at 06:37:51PM +0300, Andy Shevchenko wrote: > > On Wed, 2015-09-30 at 17:22 +0200, Jesper Nilsson wrote: > > > On Wed, Sep 30, 2015 at 04:46:53PM +0200, Andy Shevchenko wrote: > > > &g

Re: [PATCH v2, resend 1/1] cris: kgdb: use native hex2bin

2015-10-01 Thread Jesper Nilsson
server is broken. :-P /^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.

Re: [PATCH v3] cris: arch-v10: kgdb: Add '__used' for static variable is_dyn_brkp

2015-10-01 Thread Jesper Nilsson
In function `kgdb_handle_breakpoint': > (.text+0x2aca): undefined reference to `is_dyn_brkp' > arch/cris/arch-v10/kernel/built-in.o: In function `is_static': > kgdb.c:(.text+0x2ada): undefined reference to `is_dyn_brkp' > > Signed-off-by: Chen Gang <gang.chen.5...@gmail.com>

Re: [PATCH] cris: arch-v10: kgdb: Use BAR instead of DTP0 for register P12

2015-10-01 Thread Jesper Nilsson
e. Sorry about the slow (glacial) response time and 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 majordom

Re: [PATCH 4/6] CRIS v32: add ARTPEC-3 and P1343 device trees

2015-10-01 Thread Jesper Nilsson
On Mon, Aug 03, 2015 at 08:19:22PM +0200, Rabin Vincent wrote: > Add a device tree for the Axis P1343 with the ARTPEC-3 SoC and on-board > LEDs and RTC. Applied to the cris tree, thanks! /^JN - Jesper Nilsson -- Jesper Nilsson -- jesper.nils...@axis.com -- To unsubscrib

Re: [PATCH 2/6] CRIS: add dt-bindings symlink

2015-10-01 Thread Jesper Nilsson
On Mon, Aug 03, 2015 at 08:19:20PM +0200, Rabin Vincent wrote: > Add a dt-bindings symlink to get DT include files, as on other > architectures. See c58299a ("kbuild: create an "include chroot" for DT > bindings") for the details. Applied to the cris tree, t

Re: [PATCH 3/6] CRIS v32: dev88: add GPIO, LEDs, RTC, temp sensor

2015-10-01 Thread Jesper Nilsson
On Mon, Aug 03, 2015 at 08:19:21PM +0200, Rabin Vincent wrote: > Add the GPIO driver to the device tree and, using it, support for the > LEDs and the RTC chip (via I2C-GPIO), as well as the temperature sensor > (via SPI-GPIO). Applied to the cris tree, thanks! /^JN - Jespe

Re: [PATCH 1/6] CRIS v32: increase NR_IRQS

2015-10-01 Thread Jesper Nilsson
On Mon, Aug 03, 2015 at 08:19:19PM +0200, Rabin Vincent wrote: > Increase NR_IQRS so we can fit in GPIO interrupts. Applied to the cris tree, thanks! /^JN - Jesper Nilsson -- Jesper Nilsson -- jesper.nils...@axis.com -- To unsubscribe from this list: send the line "uns

Re: [PATCH] cris: time: Cleanup of persistent clock stuff

2015-10-01 Thread Jesper Nilsson
ee. /^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/1] cris: re-use helpers to dump data in hex format

2015-10-01 Thread Jesper Nilsson
hevchenko <andriy.shevche...@linux.intel.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 a

Re: [PATCH 6/6] CRIS v32: remove old GPIO and LEDs code

2015-10-01 Thread Jesper Nilsson
various generic external chip drivers replace the "virtual > gpio" parts. > > The generic gpio-leds driver replaces the LED handling. Applied to the cris tree, thanks! /^JN - Jesper Nilsson -- Jesper Nilsson -- jesper.nils...@axis.com -- To unsubscribe from thi

Re: [PATCH 5/6] CRIS v32: remove I2C bitbanging driver

2015-10-01 Thread Jesper Nilsson
On Mon, Aug 03, 2015 at 08:19:23PM +0200, Rabin Vincent wrote: > Now that we have a gpiolib GPIO driver, the generic i2c-gpio driver > provides this functionality. Applied to the cris tree, thanks! /^JN - Jesper Nilsson -- Jesper Nilsson -- jesper.nils...@ax

Re: CRIS v32: leftover references on ETRAX_VIRTUAL_GPIO

2015-10-02 Thread Jesper Nilsson
3 should now be through standard gpiolib instead. Signed-off-by: Jesper Nilsson <jesper.nils...@axis.com> --- arch/cris/arch-v10/kernel/head.S | 106 - arch/cris/arch-v10/mm/init.c | 14 +-- arch/cris/arch-v32/kernel/debugport.c |2 - arch/cris/arc

Re: CRIS v32: leftover references on ETRAX_VIRTUAL_GPIO

2015-10-02 Thread Jesper Nilsson
emoving them, thanks for the heads-up! /Jesper > I found the issue with scripts/checkkconfigsymbols.py. > > Kind regards, > Valentin /^JN - Jesper Nilsson -- Jesper Nilsson -- jesper.nils...@axis.com -- To unsubscribe from this list: send the line "unsubscrib

Re: [PATCH] cris: kgdb: use native hex2bin

2015-09-30 Thread Jesper Nilsson
nt them > > customly. > > > > No one is interested in this? Hm, dunno why, but obviously I've missed these patches, and I can't find them on my main mailaccount either. Anyways, I found them on a secondary account, and have added them to the CRIS linux-next tree. Thanks! /^JN - J

Re: crisv32 runtime failure in -next due to 'page-flags: define behavior SL*B-related flags on compound pages'

2015-09-18 Thread Jesper Nilsson
logs/stdio > > for a complete log. > > Is there a chance to get proper backtrace? Yes, it should be possible with CONFIG_KALLSYMS=y in the kconfig. /^JN - Jesper Nilsson -- Jesper Nilsson -- jesper.nils...@axis.com -- To unsubscribe from this list: send the line "u

Re: [PATCH v2 15/25] cris: nand: use the mtd instance embedded in struct nand_chip

2015-12-08 Thread Jesper Nilsson
Boris Brezillon <boris.brezil...@free-electrons.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 mess

Re: [PATCH v2 18/25] cris: nand: remove useless mtd->priv = chip assignments

2015-12-08 Thread Jesper Nilsson
llon <boris.brezil...@free-electrons.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

Re: [PATCH v12 01/15] PCI: Let pci_mmap_page_range() take extra resource pointer

2016-06-07 Thread Jesper Nilsson
> > Signed-off-by: Yinghai Lu <ying...@kernel.org> > Cc: linux-arm-ker...@lists.infradead.org For the CRIS part: Acked-by: Jesper Nilsson <jesper.nils...@axis.com> > diff --git a/arch/cris/arch-v32/drivers/pci/bios.c > b/arch/cris/arch-v32/drivers/pci/bios.c > in

[GIT PULL]: CRIS changes for 4.5

2016-01-21 Thread Jesper Nilsson
+++--- arch/cris/arch-v10/kernel/head.S |6 -- arch/cris/arch-v32/kernel/head.S |6 -- arch/cris/kernel/vmlinux.lds.S|1 + 4 files changed, 20 insertions(+), 15 deletions(-) /^JN - Jesper Nilsson -- Jesper Nilsson -- jesper.nils

Re: [GIT PULL]: CRIS changes for 4.5

2016-01-21 Thread Jesper Nilsson
On Thu, Jan 21, 2016 at 03:28:52PM +0530, Sudip Mukherjee wrote: > On Thu, Jan 21, 2016 at 10:30:06AM +0100, Jesper Nilsson wrote: > > are available in the git repository at: > > > > > > g...@gitolite.kernel.org:pub/scm/linux/kernel/git/jesper/cris.git > &g

[GIT PULL]: CRIS changes for 4.5

2016-01-21 Thread Jesper Nilsson
(+), 15 deletions(-) /^JN - Jesper Nilsson -- Jesper Nilsson -- jesper.nils...@axis.com

Re: [PATCH V3 04/11] CRIS v32: nand: set ECC algorithm explicitly

2016-04-22 Thread Jesper Nilsson
On Sun, Apr 17, 2016 at 10:53:00PM +0200, Rafał Miłecki wrote: > This is part of process deprecating NAND_ECC_SOFT_BCH (and switching to > enum nand_ecc_algo). > > Signed-off-by: Rafał Miłecki <zaj...@gmail.com> Acked-by: Jesper Nilsson <jesper.nils...@axis.com>

Re: [PATCH 13/54] MAINTAINERS: Add file patterns for cris device tree bindings

2016-05-23 Thread Jesper Nilsson
star...@axis.com> Acked-by: Jesper Nilsson <jesper.nils...@axis.com> > Cc: linux-cris-ker...@axis.com > --- > Please apply this patch directly if you want to be involved in device > tree binding documentation for your subsystem. /^JN - Jesper Nilsson -- Jesper Nilsson -- jesper.nils...@axis.com

Re: [patch V4 02/31] bitops: Include generic parity.h in some architectures' bitops.h

2016-05-11 Thread Jesper Nilsson
;egtv...@samfundet.no> [for avr32] For the CRIS part: Acked-by: Jesper Nilsson <jesper.nils...@axis.com> /^JN - Jesper Nilsson -- Jesper Nilsson -- jesper.nils...@axis.com

Re: [PATCH v4 06/18] cris: Remove unnecessary of_platform_populate with default match table

2016-05-16 Thread Jesper Nilsson
Starvik <star...@axis.com> Acked-by: Jesper Nilsson <jesper.nils...@axis.com> > Signed-off-by: Kefeng Wang <wangkefeng.w...@huawei.com> > --- > arch/cris/kernel/setup.c | 8 ---- > 1 file changed, 8 deletions(-) /^JN - Jesper Nilsson -- Jesper Nilsson -- jesper.nils...@axis.com

Re: [PATCH 1/2] dt-bindings: pci: add DT binding for Axis ARTPEC-6 PCIe controller

2016-05-07 Thread Jesper Nilsson
gt; What is the syscon for? Perhaps a name that reflects the purpose. It's the SoC System Controller, and holds some chip-specific registers for the Synopsys IP control, clocks and some termination variables spring to mind. It was named sysctrl earlier, although that's not very much more descriptive. > Rob /^JN - Jesper Nilsson -- Jesper Nilsson -- jesper.nils...@axis.com

Re: [PATCH] cris: migrate exception table users off module.h and onto extable.h

2017-01-25 Thread Jesper Nilsson
t; content in module.h that we don't really need to compile this file. > > Reported-by: kbuild test robot <l...@intel.com> > Cc: Mikael Starvik <star...@axis.com> Acked-by: Jesper Nilsson <jesper.nils...@axis.com> > Cc: linux-cris-ker...@axis.com > Sign

Re: [PATCH 5/6] cris: remove unused wp_works_ok macro

2017-02-13 Thread Jesper Nilsson
On Sun, Feb 12, 2017 at 10:12:11PM +0100, Mathias Krause wrote: > It had no use since it's introduction in v2.4.1.2. Get rid of it. Agreed. Acked-by: Jesper Nilsson <jesper.nils...@axis.com> > Cc: Mikael Starvik <star...@axis.com> > Signed-off-by: Mathias Krause &l

[PATCH] DMA: nbpfaxi: check for errors from dma_map_single

2016-10-05 Thread Jesper Nilsson
Check for error return from dma_map_single. Move the addition of the node to the list to after we check for error, so we can reuse the list in unmapping. Found by enabling CONFIG_DMA_API_DEBUG. Signed-off-by: Jesper Nilsson <jesper.nils...@axis.com> --- drivers/dma/nbpfaxi.

[GIT PULL]: CRIS changes for 4.9

2016-10-08 Thread Jesper Nilsson
): CRIS: defconfig: remove MTDRAM_ABS_POS Jesper Nilsson (1): cris: intmem: fix device_initcall compile warning Niklas Cassel (8): cris: intmem: fix pointer comparison compile warning cris: fasttimer: fix mixed declarations and code compile warning cris: irq: stop loop from

Re: arch/cris/arch-v32/mm/intmem.c:148:17: error: initialization from incompatible pointer type

2016-09-23 Thread Jesper Nilsson
ttribute__((__section__(".initcall" #id ".init"))) = fn; \ > ^~ >arch/cris/arch-v32/mm/intmem.c:148:1: note: in expansion of macro > 'device_initcall' > device_initcall(crisv32_intmem_init); >

Re: [PATCH] cris: migrate exception table users off module.h and onto extable.h

2016-09-23 Thread Jesper Nilsson
t; content in module.h that we don't really need to compile this file. Thanks, added to cris for-next. > Cc: Mikael Starvik <star...@axis.com> > Cc: Jesper Nilsson <jesper.nils...@axis.com> > Cc: linux-cris-ker...@axis.com > Signed-off-by: Paul Gortmaker <pau

Re: [PATCH] cris: Only build flash rescue image if CONFIG_ETRAX_AXISFLASHMAP is selected

2016-11-07 Thread Jesper Nilsson
CONFIG_ETRAX_AXISFLASHMAP is enabled. Agreed, added to cris tree for 4.10. > Reported-by: kbuild test robot <fengguang...@intel.com> > Fixes: 66ab3a74c5ce ("CRIS: Merge machine dependent boot/compressed ..") > Signed-off-by: Guenter Roeck <li...@roeck-us.net> Thanks! /^J

Re: [PATCH 3/3] serial: crisv10: fix invalid user-pointer check

2016-11-08 Thread Jesper Nilsson
On Tue, Nov 08, 2016 at 01:24:55PM +0100, Johan Hovold wrote: > Drop invalid user-pointer check from TIOCGSERIAL handler. > > A NULL-pointer can be valid in user space and copy_to_user() takes care > of sanity checking. > > Cc: Mikael Starvik <star...@axis.com>

[GIT PULL]: ARM ARTPEC changes for 4.10

2016-11-10 Thread Jesper Nilsson
/boot/dts/artpec6.dtsi | 29 - arch/arm/mach-artpec/Kconfig | 3 +++ 3 files changed, 35 insertions(+), 1 deletion(-) /^JN - Jesper Nilsson -- Jesper Nilsson -- jesper.nils...@axis.com

Re: [PATCH 1/2] mm: add locked parameter to get_user_pages()

2016-11-07 Thread Jesper Nilsson
M_FAULT_RETRY. For the cris-part: Acked-by: Jesper Nilsson <jesper.nils...@axis.com> > Signed-off-by: Lorenzo Stoakes <lstoa...@gmail.com> /^JN - Jesper Nilsson -- Jesper Nilsson -- jesper.nils...@axis.com

Re: [PATCH] tty: serial: make crisv10 explicitly non-modular

2016-11-07 Thread Jesper Nilsson
> case, the init ordering remains unchanged with this commit. Agreed, put in the cris tree for 4.10. > We don't replace module.h with init.h since the file already has that. > > Cc: Mikael Starvik <star...@axis.com> > Cc: Jesper Nilsson <jesper.nils...@axis.com> > Cc: Greg Kro

Re: [PATCH 10/10] mm: replace access_process_vm() write parameter with gup_flags

2016-10-17 Thread Jesper Nilsson
ss this flag. > > We make this explicit as use of FOLL_FORCE can result in surprising behaviour > (and hence bugs) within the mm subsystem. > > Signed-off-by: Lorenzo Stoakes <lstoa...@gmail.com> > --- > arch/cris/arch-v32/kernel/ptrace.c | 4 ++-- For the CRIS part:

Re: [PATCH 06/10] mm: replace get_user_pages() write/force parameters with gup_flags

2016-10-17 Thread Jesper Nilsson
ng behaviour (and hence > bugs) within the mm subsystem. > > Signed-off-by: Lorenzo Stoakes <lstoa...@gmail.com> > --- > arch/cris/arch-v32/drivers/cryptocop.c | 4 +--- For the CRIS part: Acked-by: Jesper Nilsson <jesper.nils...@axis.com> /^JN - J

Re: [GIT PULL]: ARM ARTPEC changes for 4.10

2016-11-28 Thread Jesper Nilsson
On Mon, Nov 28, 2016 at 01:57:10PM +0100, Arnd Bergmann wrote: > On Monday, November 28, 2016 1:33:31 PM CET Jesper Nilsson wrote: > > > Hi Jesper and Niklas, > > > > > > I just found the old pull request while going through my mail backlog. > > > > >

Re: [GIT PULL]: ARM ARTPEC changes for 4.10

2016-11-28 Thread Jesper Nilsson
On Sat, Nov 26, 2016 at 12:16:20AM +0100, Arnd Bergmann wrote: > On Thursday, November 10, 2016 4:09:31 PM CET Jesper Nilsson wrote: > > Please pull the below signed tag for a trio of minor changes > > adding PCIe for the ARM ARTPEC SoC. > > > > Thanks! > > &

[GIT PULL] CRIS changes for 4.10

2016-12-12 Thread Jesper Nilsson
files changed, 9 insertions(+), 9 deletions(-) /^JN - Jesper Nilsson -- Jesper Nilsson -- jesper.nils...@axis.com

Re: [PATCH v2 0/7] uapi: export all headers under uapi directories

2017-01-11 Thread Jesper Nilsson
-generic). > > > > This series has been tested with a 'make headers_install' on x86 and a > > 'make headers_install_all'. I've checked the result of both commands. > > > > This patch is built against linus tree. I don't know if it should be > > made against antoher tree. > > The series should probably get merged through the kbuild tree, but testing > it on mainline is fine here. > > Arnd /^JN - Jesper Nilsson -- Jesper Nilsson -- jesper.nils...@axis.com

[PATCH] net: phy: dp83848: Support ethernet pause frames

2016-12-02 Thread Jesper Nilsson
According to the documentation, the PHYs supported by this driver can also support pause frames. Announce this to be so. Tested with a TI83822I. Signed-off-by: Jesper Nilsson <jesper.nils...@axis.com> --- drivers/net/phy/dp83848.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)

Re: [PATCH] net: phy: dp83848: Support ethernet pause frames

2016-12-02 Thread Jesper Nilsson
On Fri, Dec 02, 2016 at 08:35:23AM -0600, Andrew F. Davis wrote: > On 12/02/2016 08:22 AM, Jesper Nilsson wrote: > > According to the documentation, the PHYs supported by this driver > > can also support pause frames. Announce this to be so. > > Tested with a TI83822I. >

[PATCH v2] net: phy: dp83848: Support ethernet pause frames

2016-12-02 Thread Jesper Nilsson
According to the documentation, the PHYs supported by this driver can also support pause frames. Announce this to be so. Tested with a TI83822I. Acked-by: Andrew F. Davis <a...@ti.com> Signed-off-by: Jesper Nilsson <jesper.nils...@axis.com> --- drivers/net/phy/dp83848.c | 4 +++- 1

Re: [PATCH 11/17] cris: Use generic pci_mmap_resource_range()

2017-03-22 Thread Jesper Nilsson
On Wed, Mar 22, 2017 at 01:25:25PM +, David Woodhouse wrote: > From: David Woodhouse <d...@amazon.co.uk> Acked-by: Jesper Nilsson <jesper.nils...@axis.com> > Signed-off-by: David Woodhouse <d...@amazon.co.uk> > --- > arch/cris/arch-v32/drivers/pci/bios.c | 23 -

[PATCH 2/3] pinctrl: Add pincontrol driver for ARTPEC-6 SoC

2017-03-30 Thread Jesper Nilsson
Add pinctrl driver support for the Axis ARTPEC-6 SoC. There are only some pins that actually have different functions available, but all can control bias (pull-up/-down) and drive strength. Code originally written by Chris Paterson. Signed-off-by: Jesper Nilsson <jesper.nils...@axis.

<    1   2   3   4   5   6   7   >