Re: [PATCH] arch: cris: arch-v32: drivers: axisflashmap.c: Cleaning up inconsistent NULL checks

2014-05-26 Thread Jesper Nilsson
still necessary to check for NULL, however as I wrote in my reply, we do check for ptable_head, which is only set if main_mtd is set. > You should know, looks like you've written most of the code in 2007 :) > > Best regards > Rickard Strandqvist /Jesper > 2014-05-23 9:00 GMT+02:00 Jespe

Re: [PATCH] arch: cris: arch-v32: drivers: axisflashmap.c: Cleaning up inconsistent NULL checks

2014-05-26 Thread Jesper Nilsson
for NULL, however as I wrote in my reply, we do check for ptable_head, which is only set if main_mtd is set. You should know, looks like you've written most of the code in 2007 :) Best regards Rickard Strandqvist /Jesper 2014-05-23 9:00 GMT+02:00 Jesper Nilsson jesper.nils...@axis.com

Re: [PATCH 2/4] cris: Update comments for generic idle conversion

2014-05-23 Thread Jesper Nilsson
default_idle() instead of cpu_idle(), > - On cris-v32, etrax_gpio_wake_up_check() is not called from > default_idle(), so remove this (copy-and-paste?) part. Yes, the comment for ETRAX FS (mach-fs) is definitely copy-pasted. > Signed-off-by: Geert Uytterhoeven Reviewed-by: Jesp

Re: [PATCH] arch: cris: arch-v32: drivers: axisflashmap.c: Cleaning up inconsistent NULL checks

2014-05-23 Thread Jesper Nilsson
e. We can't enter this if-block unless ptable_head is set, which is only set if main_mtd is set. It might be useful to add it anyways, but there's a refactoring needed for the axisflashmaps, so I'll keep it for then. /^JN - Jesper Nilsson -- Jesper Nilsson -- jesper.nils

Re: [PATCH] arch: cris: arch-v32: drivers: axisflashmap.c: Cleaning up inconsistent NULL checks

2014-05-23 Thread Jesper Nilsson
this if-block unless ptable_head is set, which is only set if main_mtd is set. It might be useful to add it anyways, but there's a refactoring needed for the axisflashmaps, so I'll keep it for then. /^JN - Jesper Nilsson -- Jesper Nilsson -- jesper.nils...@axis.com

Re: [PATCH 2/4] cris: Update comments for generic idle conversion

2014-05-23 Thread Jesper Nilsson
(), - On cris-v32, etrax_gpio_wake_up_check() is not called from default_idle(), so remove this (copy-and-paste?) part. Yes, the comment for ETRAX FS (mach-fs) is definitely copy-pasted. Signed-off-by: Geert Uytterhoeven geert+rene...@glider.be Reviewed-by: Jesper Nilsson jesper.nils

Re: [PATCH 09/27] cris: Use common bits from generic tlb.h

2014-05-15 Thread Jesper Nilsson
On Wed, May 14, 2014 at 08:59:41PM +0200, Richard Weinberger wrote: > It is no longer needed to define them on our own. Looks good! Acked-by: Jesper Nilsson > Cc: Mikael Starvik > Cc: Richard Weinberger > Cc: linux-cris-ker...@axis.com > Cc: linux-kernel@vger.kernel.o

Re: [PATCH 09/27] cris: Use common bits from generic tlb.h

2014-05-15 Thread Jesper Nilsson
On Wed, May 14, 2014 at 08:59:41PM +0200, Richard Weinberger wrote: It is no longer needed to define them on our own. Looks good! Acked-by: Jesper Nilsson jesper.nils...@axis.com Cc: Mikael Starvik star...@axis.com Cc: Richard Weinberger rich...@nod.at Cc: linux-cris-ker...@axis.com Cc

Re: [PATCH 07/20] arch,cris: Fold atomic_ops

2014-05-09 Thread Jesper Nilsson
er patches, cris and sparc appear to be the only > ones so affected. With those changes, here's my Acked-by: Jesper Nilsson /^JN - Jesper Nilsson -- Jesper Nilsson -- jesper.nils...@axis.com -- To unsubscribe from this list: send the line "unsubscribe linux-kernel&quo

Re: [PATCH 07/20] arch,cris: Fold atomic_ops

2014-05-09 Thread Jesper Nilsson
affected. With those changes, here's my 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

Re: [PATCH 07/18] cris: io: implement dummy relaxed accessor macros for writes

2014-04-22 Thread Jesper Nilsson
cessors to Cris, in the same > vein as the dummy definitions for the relaxed read accessors. > > Cc: Mikael Starvik Acked-by: Jesper Nilsson > Signed-off-by: Will Deacon /^JN - Jesper Nilsson -- Jesper Nilsson -- jesper.nils...@axis.com -- To unsubscribe fr

Re: [PATCH 07/18] cris: io: implement dummy relaxed accessor macros for writes

2014-04-22 Thread Jesper Nilsson
, in the same vein as the dummy definitions for the relaxed read accessors. Cc: Mikael Starvik star...@axis.com Acked-by: Jesper Nilsson jesper.nils...@axis.com Signed-off-by: Will Deacon will.dea...@arm.com /^JN - Jesper Nilsson -- Jesper Nilsson -- jesper.nils...@axis.com

Re: [PATCH 11/31] arch,cris: Convert smp_mb__*

2014-03-20 Thread Jesper Nilsson
On Wed, Mar 19, 2014 at 07:47:40AM +0100, Peter Zijlstra wrote: > Cris fully relies on asm-generic/barrier.h, therefore its smp_mb() is > barrier(), thus we can use the default implementation that uses > smp_mb(). For the CRIS parts: Acked-by: Jesper Nilsson > Signed-off-by: Pe

Re: [PATCH 11/31] arch,cris: Convert smp_mb__*

2014-03-20 Thread Jesper Nilsson
On Wed, Mar 19, 2014 at 07:47:40AM +0100, Peter Zijlstra wrote: Cris fully relies on asm-generic/barrier.h, therefore its smp_mb() is barrier(), thus we can use the default implementation that uses smp_mb(). For the CRIS parts: Acked-by: Jesper Nilsson jesper.nils...@axis.com Signed-off

Re: [PATCH 2/2] Cleanup useless architecture versions of scatterlist.h

2014-03-16 Thread Jesper Nilsson
r the CRIS-part: Acked-by: Jesper Nilsson > Cc: David Howells > Cc: Hirokazu Takata , > Cc: Michal Simek > Cc: David Howells > Cc: Koichi Yasutake > Cc: Chen Liqin , > Cc: Lennox Wu > Signed-off-by: Laura Abbott /^JN - Jesper Nilsson -- Jesper Nilsson -- je

Re: [PATCH 2/2] Cleanup useless architecture versions of scatterlist.h

2014-03-16 Thread Jesper Nilsson
-part: Acked-by: Jesper Nilsson jesper.nils...@axis.com Cc: David Howells dhowe...@redhat.com Cc: Hirokazu Takata tak...@linux-m32r.org, Cc: Michal Simek mon...@monstr.eu Cc: David Howells dhowe...@redhat.com Cc: Koichi Yasutake yasutake.koi...@jp.panasonic.com Cc: Chen Liqin liqin.li

Re: [PATCH] cris: Convert ffs from an object-like macro to a function-like macro

2014-03-11 Thread Jesper Nilsson
: control reaches end of non-void > function [-Wreturn-type] Yup, quite right. Andrew already added it to his queue, but for the mailing archives here's my: Acked-by: Jesper Nilsson > Signed-off-by: Geert Uytterhoeven /^JN - Jesper Nilsson -- Jesper Nilsson -- jesper.nil

Re: [PATCH] cris: Convert ffs from an object-like macro to a function-like macro

2014-03-11 Thread Jesper Nilsson
right. Andrew already added it to his queue, but for the mailing archives here's my: Acked-by: Jesper Nilsson jesper.nils...@axis.com Signed-off-by: Geert Uytterhoeven ge...@linux-m68k.org /^JN - Jesper Nilsson -- Jesper Nilsson -- jesper.nils...@axis.com -- To unsubscribe from

[GIT PULL] CRIS correction for 3.14

2014-01-28 Thread Jesper Nilsson
Jesper Nilsson (1): CRISv10: Readd missing header arch/cris/arch-v10/kernel/process.c | 1 + 1 file changed, 1 insertion(+) /^JN - Jesper Nilsson -- Jesper Nilsson -- jesper.nils...@axis.com -- To unsubscribe from this list

[GIT PULL] CRIS correction for 3.14

2014-01-28 Thread Jesper Nilsson
Jesper Nilsson (1): CRISv10: Readd missing header arch/cris/arch-v10/kernel/process.c | 1 + 1 file changed, 1 insertion(+) /^JN - Jesper Nilsson -- Jesper Nilsson -- jesper.nils...@axis.com -- To unsubscribe from this list

[GIT PULL] CRIS updates for 3.14

2014-01-27 Thread Jesper Nilsson
) CRIS changes for 3.14 Arnd Bergmann (1): cris: sync_serial: remove interruptible_sleep_on Jesper Nilsson (3): CRIS: Add missing syscalls Cleanup whitespace

[GIT PULL] CRIS updates for 3.14

2014-01-27 Thread Jesper Nilsson
) CRIS changes for 3.14 Arnd Bergmann (1): cris: sync_serial: remove interruptible_sleep_on Jesper Nilsson (3): CRIS: Add missing syscalls Cleanup whitespace

Re: [PATCH, RFC 13/30] cris: sync_serial: remove interruptible_sleep_on

2014-01-09 Thread Jesper Nilsson
14. /^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, RFC 13/30] cris: sync_serial: remove interruptible_sleep_on

2014-01-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 03/24] cris/uapi: Use Kbuild logic to provide

2013-11-25 Thread Jesper Nilsson
On Mon, Nov 25, 2013 at 09:55:13AM +0100, Geert Uytterhoeven wrote: > Uapi just includes > > Signed-off-by: Geert Uytterhoeven > Cc: Mikael Starvik Acked-by: Jesper Nilsson > Cc: linux-cris-ker...@axis.com > --- > arch/cris/include/uapi/asm/Kbuild |3 ++- > ar

Re: [PATCH 15/24] cris: Use Kbuild logic to provide

2013-11-25 Thread Jesper Nilsson
On Mon, Nov 25, 2013 at 09:55:25AM +0100, Geert Uytterhoeven wrote: > The extra definition for BITS_PER_LONG is also indirectly provided > by , via and > > > Signed-off-by: Geert Uytterhoeven > Cc: Mikael Starvik Acked-by: Jesper Nilsson > Cc: linux-cris-ker...@axis.c

Re: [PATCH 15/24] cris: Use Kbuild logic to provide asm/types.h

2013-11-25 Thread Jesper Nilsson
...@axis.com Acked-by: Jesper Nilsson jesper.nils...@axis.com Cc: linux-cris-ker...@axis.com --- arch/cris/include/asm/Kbuild |1 + arch/cris/include/asm/types.h | 12 2 files changed, 1 insertion(+), 12 deletions(-) delete mode 100644 arch/cris/include/asm/types.h diff

Re: [PATCH 03/24] cris/uapi: Use Kbuild logic to provide asm/types.h

2013-11-25 Thread Jesper Nilsson
On Mon, Nov 25, 2013 at 09:55:13AM +0100, Geert Uytterhoeven wrote: Uapi asm-generic/types.h just includes asm-generic/int-ll64.h Signed-off-by: Geert Uytterhoeven ge...@linux-m68k.org Cc: Mikael Starvik star...@axis.com Acked-by: Jesper Nilsson jesper.nils...@axis.com Cc: linux-cris-ker

Re: [PATCH] ipc,shm: Correct error return value in shmctl (SHM_UNLOCK)

2013-11-24 Thread Jesper Nilsson
and so should have this patch also. > On Wed, 2013-11-20 at 11:44 +0100, Jesper Nilsson wrote: > > Commit 2caacaa82a51b78fc0c800e206473874094287ed restructured > > the ipc shm to shorten critical region, but introduced a path > > where the return value could be -EPERM, even if

Re: [PATCH] ipc,shm: Correct error return value in shmctl (SHM_UNLOCK)

2013-11-24 Thread Jesper Nilsson
should have this patch also. On Wed, 2013-11-20 at 11:44 +0100, Jesper Nilsson wrote: Commit 2caacaa82a51b78fc0c800e206473874094287ed restructured the ipc shm to shorten critical region, but introduced a path where the return value could be -EPERM, even if the operation actually

[PATCH] ipc,shm: Correct error return value in shmctl (SHM_UNLOCK)

2013-11-20 Thread Jesper Nilsson
. Signed-off-by: Jesper Nilsson Cc: Andrew Morton Cc: Davidlohr Bueso Cc: Rik van Riel Cc: Michel Lespinasse Cc: Al Viro Cc: sta...@vger.kernel.org --- ipc/shm.c | 9 ++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/ipc/shm.c b/ipc/shm.c index d697396..4076f9e 100644

[PATCH] ipc,shm: Correct error return value in shmctl (SHM_UNLOCK)

2013-11-20 Thread Jesper Nilsson
. Signed-off-by: Jesper Nilsson jesper.nils...@axis.com Cc: Andrew Morton a...@linux-foundation.org Cc: Davidlohr Bueso davidl...@hp.com Cc: Rik van Riel r...@redhat.com Cc: Michel Lespinasse wal...@google.com Cc: Al Viro v...@zeniv.linux.org.uk Cc: sta...@vger.kernel.org --- ipc/shm.c | 9 ++--- 1

Re: [PATCH 02/17] cris: Use Kbuild logic to include

2013-11-15 Thread Jesper Nilsson
On Tue, Nov 12, 2013 at 08:42:12PM +0100, Geert Uytterhoeven wrote: > Signed-off-by: Geert Uytterhoeven > Cc: Mikael Starvik Acked-by: Jesper Nilsson > Cc: linux-cris-ker...@axis.com > --- > arch/cris/include/asm/Kbuild |1 + > arch/cris/include/asm/sections.h |

Re: [PATCH 02/17] cris: Use Kbuild logic to include asm-generic/sections.h

2013-11-15 Thread Jesper Nilsson
On Tue, Nov 12, 2013 at 08:42:12PM +0100, Geert Uytterhoeven wrote: Signed-off-by: Geert Uytterhoeven ge...@linux-m68k.org Cc: Mikael Starvik star...@axis.com Acked-by: Jesper Nilsson jesper.nils...@axis.com Cc: linux-cris-ker...@axis.com --- arch/cris/include/asm/Kbuild |1

Re: [PATCH 14/34] cris: handle pgtable_page_ctor() fail

2013-10-11 Thread Jesper Nilsson
On Thu, Oct 10, 2013 at 08:05:39PM +0200, Kirill A. Shutemov wrote: > Signed-off-by: Kirill A. Shutemov > Cc: Mikael Starvik Acked-by: Jesper Nilsson > --- > arch/cris/include/asm/pgalloc.h | 5 - > 1 file changed, 4 insertions(+), 1 deletion(-) > > diff --git a/

Re: [PATCH 02/34] cris: fix potential NULL-pointer dereference

2013-10-11 Thread Jesper Nilsson
On Thu, Oct 10, 2013 at 08:05:27PM +0200, Kirill A. Shutemov wrote: > Add missing check for memory allocation fail. > > Signed-off-by: Kirill A. Shutemov > Cc: Mikael Starvik Acked-by: Jesper Nilsson > --- > arch/cris/include/asm/pgalloc.h | 2 ++ > 1 file changed, 2 in

Re: [PATCH 02/34] cris: fix potential NULL-pointer dereference

2013-10-11 Thread Jesper Nilsson
On Thu, Oct 10, 2013 at 08:05:27PM +0200, Kirill A. Shutemov wrote: Add missing check for memory allocation fail. Signed-off-by: Kirill A. Shutemov kirill.shute...@linux.intel.com Cc: Mikael Starvik star...@axis.com Acked-by: Jesper Nilsson jesper.nils...@axis.com --- arch/cris/include

Re: [PATCH 14/34] cris: handle pgtable_page_ctor() fail

2013-10-11 Thread Jesper Nilsson
On Thu, Oct 10, 2013 at 08:05:39PM +0200, Kirill A. Shutemov wrote: Signed-off-by: Kirill A. Shutemov kirill.shute...@linux.intel.com Cc: Mikael Starvik star...@axis.com Acked-by: Jesper Nilsson jesper.nils...@axis.com --- arch/cris/include/asm/pgalloc.h | 5 - 1 file changed, 4

Re: [PATCH 153/228] cpufreq: cris: Convert to light weight ->target_index() routine

2013-09-13 Thread Jesper Nilsson
will pass index to it. Acked-by: Jesper Nilsson > Cc: Mikael Starvik > Cc: linux-cris-ker...@axis.com > Signed-off-by: Viresh Kumar /^JN - Jesper Nilsson -- Jesper Nilsson -- jesper.nils...@axis.com -- To unsubscribe from this list: send the line "unsubscribe linux-ker

Re: [PATCH 130/228] cpufreq: cris: use cpufreq_generic_init() routine

2013-09-13 Thread Jesper Nilsson
On Fri, Sep 13, 2013 at 03:01:16PM +0200, Viresh Kumar wrote: > Use generic cpufreq_generic_init() routine instead of replicating the same > code > here. Acked-by: Jesper Nilsson > Cc: Mikael Starvik > Cc: linux-cris-ker...@axis.com > Signed-off-by: Viresh Kumar /^J

Re: [PATCH 097/228] cpufreq: cris: don't initialize part of policy that is set by core too

2013-09-13 Thread Jesper Nilsson
alling > ->init(). Acked-by: Jesper Nilsson > Cc: Mikael Starvik > Cc: linux-cris-ker...@axis.com > Signed-off-by: Viresh Kumar /^JN - Jesper Nilsson -- Jesper Nilsson -- jesper.nils...@axis.com -- To unsubscribe from this list: send the line "unsubscribe lin

Re: [PATCH 187/228] cpufreq: cris: remove calls to cpufreq_notify_transition()

2013-09-13 Thread Jesper Nilsson
core instead. > > Earlier patches have added support in cpufreq core to do cpufreq notification > on > frequency change, this one removes it from this driver. > > Some related minor cleanups are also done along with it. Acked-by: Jesper Nilsson > Cc: Mikael Starvik > Cc: lin

Re: [PATCH 061/228] cpufreq: cris: Use generic cpufreq routines

2013-09-13 Thread Jesper Nilsson
ch uses these generic routines for this driver. Acked-by: Jesper Nilsson > Cc: Mikael Starvik > Cc: linux-cris-ker...@axis.com > Signed-off-by: Viresh Kumar /^JN - Jesper Nilsson -- Jesper Nilsson -- jesper.nils...@axis.com -- To unsubscribe from this list: send the

Re: [PATCH 017/228] cpufreq: cris: use cpufreq_table_validate_and_show()

2013-09-13 Thread Jesper Nilsson
On Fri, Sep 13, 2013 at 02:59:23PM +0200, Viresh Kumar wrote: > Lets use cpufreq_table_validate_and_show() instead of calling > cpufreq_frequency_table_cpuinfo() and cpufreq_frequency_table_get_attr(). Acked-by: Jesper Nilsson > Cc: Mikael Starvik > Cc: linux-cris-ker...@axis.com

Re: [PATCH 017/228] cpufreq: cris: use cpufreq_table_validate_and_show()

2013-09-13 Thread Jesper Nilsson
On Fri, Sep 13, 2013 at 02:59:23PM +0200, Viresh Kumar wrote: Lets use cpufreq_table_validate_and_show() instead of calling cpufreq_frequency_table_cpuinfo() and cpufreq_frequency_table_get_attr(). Acked-by: Jesper Nilsson jesper.nils...@axis.com Cc: Mikael Starvik star...@axis.com Cc: linux

Re: [PATCH 061/228] cpufreq: cris: Use generic cpufreq routines

2013-09-13 Thread Jesper Nilsson
for this driver. Acked-by: Jesper Nilsson jesper.nils...@axis.com Cc: Mikael Starvik star...@axis.com Cc: linux-cris-ker...@axis.com Signed-off-by: Viresh Kumar viresh.ku...@linaro.org /^JN - Jesper Nilsson -- Jesper Nilsson -- jesper.nils...@axis.com -- To unsubscribe from

Re: [PATCH 187/228] cpufreq: cris: remove calls to cpufreq_notify_transition()

2013-09-13 Thread Jesper Nilsson
in cpufreq core to do cpufreq notification on frequency change, this one removes it from this driver. Some related minor cleanups are also done along with it. Acked-by: Jesper Nilsson jesper.nils...@axis.com Cc: Mikael Starvik star...@axis.com Cc: linux-cris-ker...@axis.com Signed-off

Re: [PATCH 097/228] cpufreq: cris: don't initialize part of policy that is set by core too

2013-09-13 Thread Jesper Nilsson
-by: Jesper Nilsson jesper.nils...@axis.com Cc: Mikael Starvik star...@axis.com Cc: linux-cris-ker...@axis.com Signed-off-by: Viresh Kumar viresh.ku...@linaro.org /^JN - Jesper Nilsson -- Jesper Nilsson -- jesper.nils...@axis.com -- To unsubscribe from this list: send the line

Re: [PATCH 130/228] cpufreq: cris: use cpufreq_generic_init() routine

2013-09-13 Thread Jesper Nilsson
On Fri, Sep 13, 2013 at 03:01:16PM +0200, Viresh Kumar wrote: Use generic cpufreq_generic_init() routine instead of replicating the same code here. Acked-by: Jesper Nilsson jesper.nils...@axis.com Cc: Mikael Starvik star...@axis.com Cc: linux-cris-ker...@axis.com Signed-off-by: Viresh

Re: [PATCH 153/228] cpufreq: cris: Convert to light weight -target_index() routine

2013-09-13 Thread Jesper Nilsson
-by: Jesper Nilsson jesper.nils...@axis.com Cc: Mikael Starvik star...@axis.com Cc: linux-cris-ker...@axis.com Signed-off-by: Viresh Kumar viresh.ku...@linaro.org /^JN - Jesper Nilsson -- Jesper Nilsson -- jesper.nils...@axis.com -- To unsubscribe from this list: send the line

[GIT PULL] CRIS updates for 3.12

2013-09-10 Thread Jesper Nilsson
Jesper Nilsson (2): CRIS: remove unused current_regs CRIS: Add kvm_para.h which includes generic file Paul Bolle (3): CRIS: remove "config OOM_REBOOT" CRIS: Remove last traces of legacy RTC drivers

[GIT PULL] CRIS updates for 3.12

2013-09-10 Thread Jesper Nilsson
Jesper Nilsson (2): CRIS: remove unused current_regs CRIS: Add kvm_para.h which includes generic file Paul Bolle (3): CRIS: remove config OOM_REBOOT CRIS: Remove last traces of legacy RTC drivers CRIS

Re: [PATCH 16/32] cris: delete __cpuinit usage from all cris files

2013-06-25 Thread Jesper Nilsson
temporary and harmless. > > This removes all the arch/cris uses of the __cpuinit macros from > all C files. Currently cris does not have any __CPUINIT used in > assembly files. > > [1] https://lkml.org/lkml/2013/5/20/589 > > Cc: Mikael Starvik Acked-by: Jesper Nilsson &

Re: [PATCH 16/32] cris: delete __cpuinit usage from all cris files

2013-06-25 Thread Jesper Nilsson
all C files. Currently cris does not have any __CPUINIT used in assembly files. [1] https://lkml.org/lkml/2013/5/20/589 Cc: Mikael Starvik star...@axis.com Acked-by: Jesper Nilsson jesper.nils...@axis.com Cc: linux-cris-ker...@axis.com Signed-off-by: Paul Gortmaker paul.gortma

Re: [PATCH 33/45] cris/smp: Use get/put_online_cpus_atomic() to prevent CPU offline

2013-06-24 Thread Jesper Nilsson
event CPUs from going > offline, while invoking from atomic context. > > Cc: Mikael Starvik Acked-by: Jesper Nilsson > Cc: Thomas Gleixner > Cc: linux-cris-ker...@axis.com > Signed-off-by: Srivatsa S. Bhat > --- > > arch/cris/arch-v32/kernel/smp.c |5 + &g

Re: [PATCH 33/45] cris/smp: Use get/put_online_cpus_atomic() to prevent CPU offline

2013-06-24 Thread Jesper Nilsson
offline, while invoking from atomic context. Cc: Mikael Starvik star...@axis.com Acked-by: Jesper Nilsson jesper.nils...@axis.com Cc: Thomas Gleixner t...@linutronix.de Cc: linux-cris-ker...@axis.com Signed-off-by: Srivatsa S. Bhat srivatsa.b...@linux.vnet.ibm.com --- arch/cris/arch-v32

Re: [PATCH 17/21] CRISv32: remove inline marking of EXPORT_SYMBOL functions

2013-05-14 Thread Jesper Nilsson
es, agreed. Acked-by: Jesper Nilsson > --- > arch/cris/arch-v32/kernel/cache.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/arch/cris/arch-v32/kernel/cache.c > b/arch/cris/arch-v32/kernel/cache.c > index f38433b..876be53 100644 > --- a/arch/cris

Re: Build regressions/improvements in v3.10-rc1 (cris)

2013-05-14 Thread Jesper Nilsson
h technical people, I call myself a hacker. But > when I'm talking to journalists I just say "programmer" or something like > that. > -- Linus Torvalds /^JN - Jesper Nilsson -- Jesper Nilsson -- jesper.nils...@axis.com -- To unsubscri

Re: [PATCH 2/5] cris: Wire up asm-generic/xor.h

2013-05-14 Thread Jesper Nilsson
On Tue, May 14, 2013 at 09:32:03AM +0200, Geert Uytterhoeven wrote: > crypto/xor.c:25:21: fatal error: asm/xor.h: No such file or directory > > Signed-off-by: Geert Uytterhoeven > Cc: Mikael Starvik Acked-by: Jesper Nilsson > Cc: linux-cris-ker...@axis.com > --- >

Re: [PATCH 2/5] cris: Wire up asm-generic/xor.h

2013-05-14 Thread Jesper Nilsson
On Tue, May 14, 2013 at 09:32:03AM +0200, Geert Uytterhoeven wrote: crypto/xor.c:25:21: fatal error: asm/xor.h: No such file or directory Signed-off-by: Geert Uytterhoeven ge...@linux-m68k.org Cc: Mikael Starvik star...@axis.com Acked-by: Jesper Nilsson jesper.nils...@axis.com Cc: linux

Re: Build regressions/improvements in v3.10-rc1 (cris)

2013-05-14 Thread Jesper Nilsson
that. -- Linus Torvalds /^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 17/21] CRISv32: remove inline marking of EXPORT_SYMBOL functions

2013-05-14 Thread Jesper Nilsson
, agreed. Acked-by: Jesper Nilsson jesper.nils...@axis.com --- arch/cris/arch-v32/kernel/cache.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/cris/arch-v32/kernel/cache.c b/arch/cris/arch-v32/kernel/cache.c index f38433b..876be53 100644 --- a/arch/cris/arch-v32

Re: [PATCH 2/3] cris: Switch to asm-generic/linkage.h

2013-05-07 Thread Jesper Nilsson
On Tue, May 07, 2013 at 11:56:51AM +0200, Geert Uytterhoeven wrote: > Signed-off-by: Geert Uytterhoeven Looks good, here's my Acked-by: Jesper Nilsson /^JN - Jesper Nilsson -- Jesper Nilsson -- jesper.nils...@axis.com -- To unsubscribe from this list: send the l

Re: [PATCH] proc: Use PDE attribute setting accessor functions

2013-05-07 Thread Jesper Nilsson
Geert Uytterhoeven For the CRIS-part: 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 major

Re: [PATCH] proc: Use PDE attribute setting accessor functions

2013-05-07 Thread Jesper Nilsson
: 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 at http

Re: [PATCH 2/3] cris: Switch to asm-generic/linkage.h

2013-05-07 Thread Jesper Nilsson
On Tue, May 07, 2013 at 11:56:51AM +0200, Geert Uytterhoeven wrote: Signed-off-by: Geert Uytterhoeven ge...@linux-m68k.org Looks good, here's my Acked-by: Jesper Nilsson jesper.nils...@axis.com /^JN - Jesper Nilsson -- Jesper Nilsson -- jesper.nils...@axis.com -- To unsubscribe

Re: [PATCH v2] cris: drop unused Kconfig symbols

2013-04-16 Thread Jesper Nilsson
y scripts got smarter). > > 2) This patch can be tested (after applying) with this one-liner: > for symbol in $(git log -1 -p | grep "^-config" | awk '{ print $2 }'); do > git grep -n "$symbol\b"; done > > That should show no output. Thanks, applied to th

Re: [PATCH v2] cris: drop unused Kconfig symbols

2013-04-16 Thread Jesper Nilsson
be tested (after applying) with this one-liner: for symbol in $(git log -1 -p | grep ^-config | awk '{ print $2 }'); do git grep -n $symbol\b; done That should show no output. Thanks, applied to the CRIS-tree. /^JN - Jesper Nilsson -- Jesper Nilsson -- jesper.nils

Re: [PATCH 21/21] cris: drop unused Kconfig symbols

2013-04-15 Thread Jesper Nilsson
On Sat, Mar 23, 2013 at 02:14:46PM +0100, Paul Bolle wrote: > Jesper, > > On Mon, 2011-10-31 at 11:59 +0100, Jesper Nilsson wrote: > > Ok, let's do it the right way and remove them now, and I can re-add > > them in the same tree. > > The patch at the start of this

Re: [PATCH] CRIS: Remove last traces of legacy RTC drivers

2013-04-15 Thread Jesper Nilsson
-off-by: Paul Bolle Thanks, taken into the CRIS-tree. (And again sorry for the late response) /^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] CRIS: remove "config OOM_REBOOT"

2013-04-15 Thread Jesper Nilsson
ponse. /^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.ht

Re: [PATCH 8/8] cris: do not export "u8" and friends to userspace

2013-04-15 Thread Jesper Nilsson
On Mon, Apr 01, 2013 at 08:03:06PM +0200, Paul Bolle wrote: > sv_addr_ag.h exports "u8" and friends to userspace. Use "__u8" and > friends instead. > > Signed-off-by: Paul Bolle Looks good, Acked-by: Jesper Nilsson /^JN - Jesper Nilsson --

Re: [RFC PATCH v1 13/19] mm/CRIS: clean up unused VALID_PAGE()

2013-04-15 Thread Jesper Nilsson
On Sat, Apr 13, 2013 at 05:36:33PM +0200, Jiang Liu wrote: > VALID_PAGE() has been removed from kernel long time ago, so clean up it. > > Signed-off-by: Jiang Liu > Cc: Mikael Starvik > Cc: Jiang Liu > Cc: linux-cris-ker...@axis.com > Cc: linux-kernel@vger.kernel.org Ack

Re: [RFC PATCH v1 13/19] mm/CRIS: clean up unused VALID_PAGE()

2013-04-15 Thread Jesper Nilsson
-kernel@vger.kernel.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 in the body of a message to majord...@vger.kernel.org More majordomo

Re: [PATCH 8/8] cris: do not export u8 and friends to userspace

2013-04-15 Thread Jesper Nilsson
On Mon, Apr 01, 2013 at 08:03:06PM +0200, Paul Bolle wrote: sv_addr_ag.h exports u8 and friends to userspace. Use __u8 and friends instead. Signed-off-by: Paul Bolle pebo...@tiscali.nl Looks good, Acked-by: Jesper Nilsson jesper.nils...@axis.com /^JN - Jesper Nilsson

Re: [PATCH] CRIS: remove config OOM_REBOOT

2013-04-15 Thread Jesper Nilsson
response. /^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

Re: [PATCH] CRIS: Remove last traces of legacy RTC drivers

2013-04-15 Thread Jesper Nilsson
...@tiscali.nl Thanks, taken into the CRIS-tree. (And again sorry for the late response) /^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 21/21] cris: drop unused Kconfig symbols

2013-04-15 Thread Jesper Nilsson
On Sat, Mar 23, 2013 at 02:14:46PM +0100, Paul Bolle wrote: Jesper, On Mon, 2011-10-31 at 11:59 +0100, Jesper Nilsson wrote: Ok, let's do it the right way and remove them now, and I can re-add them in the same tree. The patch at the start of this (old) thread still applies on top

Re: [PATCH 24/26] cris: Don't use create_proc_read_entry() [RFC]

2013-04-12 Thread Jesper Nilsson
On Thu, Apr 11, 2013 at 03:30:47PM +0200, David Howells wrote: > Don't use create_proc_read_entry() as that is deprecated, but rather use > proc_create_data() and seq_file instead. > > Signed-off-by: David Howells > cc: Mikael Starvik Looks good, Acked-by: Jesper Nilsson

Re: [PATCH 24/26] cris: Don't use create_proc_read_entry() [RFC]

2013-04-12 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 v4, part3 18/41] mm/cris: prepare for removing num_physpages and simplify mem_init()

2013-04-08 Thread Jesper Nilsson
On Sat, Apr 06, 2013 at 04:32:17PM +0200, Jiang Liu wrote: > Prepare for removing num_physpages and simplify mem_init(). > > Signed-off-by: Jiang Liu > Cc: Mikael Starvik For the CRIS parts: Acked-by: Jesper Nilsson /^JN - Jesper Nilsson -- Jesper Nilsson --

Re: [PATCH v4, part3 18/41] mm/cris: prepare for removing num_physpages and simplify mem_init()

2013-04-08 Thread Jesper Nilsson
On Sat, Apr 06, 2013 at 04:32:17PM +0200, Jiang Liu wrote: Prepare for removing num_physpages and simplify mem_init(). Signed-off-by: Jiang Liu jiang@huawei.com Cc: Mikael Starvik star...@axis.com For the CRIS parts: Acked-by: Jesper Nilsson jesper.nils...@axis.com /^JN - Jesper

Re: [PATCH 3/9] cris: cpufreq: move cpufreq driver to drivers/cpufreq

2013-04-03 Thread Jesper Nilsson
On Mon, Mar 25, 2013 at 05:54:39PM +0100, Viresh Kumar wrote: > This patch moves cpufreq drivers of CRIS architecture to drivers/cpufreq. > > Cc: Jesper Nilsson > Cc: Mikael Starvik > Cc: linux-cris-ker...@axis.com > Signed-off-by: Viresh Kumar Ah, sorry for not responding e

Re: [PATCH 3/9] cris: cpufreq: move cpufreq driver to drivers/cpufreq

2013-04-03 Thread Jesper Nilsson
On Mon, Mar 25, 2013 at 05:54:39PM +0100, Viresh Kumar wrote: This patch moves cpufreq drivers of CRIS architecture to drivers/cpufreq. Cc: Jesper Nilsson jesper.nils...@axis.com Cc: Mikael Starvik star...@axis.com Cc: linux-cris-ker...@axis.com Signed-off-by: Viresh Kumar viresh.ku

Re: [PATCH 3/5] dump_stack: consolidate dump_stack() implementations and unify their behaviors

2013-04-02 Thread Jesper Nilsson
19/0x1b > [] warn_slowpath_common+0x7f/0xc0 > [] warn_slowpath_null+0x1a/0x20 > [] init_workqueues+0x35/0x505 > ... > > Signed-off-by: Tejun Heo > Cc: Martin Schwidefsky > Cc: Heiko Carstens > Cc: linux-s...@vger.kernel.org > Cc: Mike Frysinger > Cc: u

Re: [PATCH v2 5/5] dump_stack: unify debug information printed by show_regs()

2013-04-02 Thread Jesper Nilsson
0ff0 DR7: 0400 > Stack: > 88007c861ef8 81000312 82446608 88007c85e650 > 0003 88007c861f38 82335e5d > 88007c862080 8223d8c0 88007c862080 81c47730 > Call Trace: > [] do_one_initc

Re: [PATCH v2 5/5] dump_stack: unify debug information printed by show_regs()

2013-04-02 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/5] dump_stack: consolidate dump_stack() implementations and unify their behaviors

2013-04-02 Thread Jesper Nilsson
...@kernel.org Cc: Martin Schwidefsky schwidef...@de.ibm.com Cc: Heiko Carstens heiko.carst...@de.ibm.com Cc: linux-s...@vger.kernel.org Cc: Mike Frysinger vap...@gentoo.org Cc: uclinux-dist-de...@blackfin.uclinux.org For the CRIS bits: Acked-by: Jesper Nilsson jesper.nils...@axis.com /^JN

Re: [patch 13/34] cris: Use generic idle loop

2013-03-27 Thread Jesper Nilsson
this really needed ?? */ > local_irq_enable(); No, that local_irq_enable() is redundant since we already enabled interrupts in the assembler directive above. > } Looks good, Acked-by: Jesper Nilsson /^JN - Jesper Nilsson -- Jesper Nilsson -- jesper.nils...@axis.com

Re: [patch 13/34] cris: Use generic idle loop

2013-03-27 Thread Jesper Nilsson
interrupts in the assembler directive above. } Looks good, 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

Re: [PATCH v6 33/46] cris/smp: Use get/put_online_cpus_atomic() to prevent CPU offline

2013-02-18 Thread Jesper Nilsson
s_atomic() APIs to prevent CPUs from going offline, > while invoking from atomic context. > > Cc: Mikael Starvik > Cc: linux-cris-ker...@axis.com > Signed-off-by: Srivatsa S. Bhat Acked-by: Jesper Nilsson /^JN - Jesper Nilsson -- Jesper Nilsson -- jesper.nils...@a

Re: [PATCH v6 33/46] cris/smp: Use get/put_online_cpus_atomic() to prevent CPU offline

2013-02-18 Thread Jesper Nilsson
to prevent CPUs from going offline, while invoking from atomic context. Cc: Mikael Starvik star...@axis.com Cc: linux-cris-ker...@axis.com Signed-off-by: Srivatsa S. Bhat srivatsa.b...@linux.vnet.ibm.com Acked-by: Jesper Nilsson jesper.nils...@axis.com /^JN - Jesper Nilsson

Re: [PATCH 08/16] cris idle: delete idle and pm_idle

2013-02-11 Thread Jesper Nilsson
On Sun, Feb 10, 2013 at 06:58:15AM +0100, Len Brown wrote: > From: Len Brown > > pm_idle() and idle() served no purpose on cris -- > invoke default_idle() directly. > > Signed-off-by: Len Brown > Cc: linux-cris-ker...@axis.com Looks good! Acked-by: Jesper Nilsson >

Re: [PATCH 08/16] cris idle: delete idle and pm_idle

2013-02-11 Thread Jesper Nilsson
(); schedule_preempt_disabled(); -- 1.8.1.3.535.ga923c31 /^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

[PATCH] kbuild: Fix destination-y for installed headers

2013-02-02 Thread Jesper Nilsson
-by: Jesper Nilsson Cc: Michal Marek Cc: David Howells --- Makefile.headersinst |6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git scripts/Makefile.headersinst scripts/Makefile.headersinst index 06ba4a7..25f216a 100644 --- scripts/Makefile.headersinst +++ scripts

[PATCH] kbuild: Fix destination-y for installed headers

2013-02-02 Thread Jesper Nilsson
-by: Jesper Nilsson jesper.nils...@axis.com Cc: Michal Marek mma...@suse.cz Cc: David Howells dhowe...@redhat.com --- Makefile.headersinst |6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git scripts/Makefile.headersinst scripts/Makefile.headersinst index 06ba4a7..25f216a 100644

Re: [PATCH] tty: serial/crisv10.c: remove unnecessary null pointer check

2013-01-18 Thread Jesper Nilsson
other functions don't check it. In any case, gcc is quite likely to remove that check due to the earlier dereference, so removing it is probably acceptable. > Signed-off-by: Cong Ding Thanks, I'll take it in the CRIS tree. /^JN - Jesper Nilsson -- Jesper Nilsson -- jesper.nils...

Re: [PATCH] tty: serial/crisv10.c: remove unnecessary null pointer check

2013-01-18 Thread Jesper Nilsson
functions don't check it. In any case, gcc is quite likely to remove that check due to the earlier dereference, so removing it is probably acceptable. Signed-off-by: Cong Ding ding...@gmail.com Thanks, I'll take it in the CRIS tree. /^JN - Jesper Nilsson -- Jesper Nilsson

Re: [PATCH] cris: arch-v32/drivers/sync_serial.c: fix error macro position

2013-01-15 Thread Jesper Nilsson
1 also, which has depends on ETRAX_SYNCHRONOUS_SERIAL && ETRAXFS in the Kconfig... > Signed-off-by: Cong Ding ...But anyways, the hardware doesn't have the second synchronous serial port for ARTPEC-3, so for clarity I'll take this in the CRIS tree. My thanks. /^JN

Re: [PATCH] cris: arch-v32/drivers/sync_serial.c: fix error macro position

2013-01-15 Thread Jesper Nilsson
, which has depends on ETRAX_SYNCHRONOUS_SERIAL ETRAXFS in the Kconfig... Signed-off-by: Cong Ding ding...@gmail.com ...But anyways, the hardware doesn't have the second synchronous serial port for ARTPEC-3, so for clarity I'll take this in the CRIS tree. My thanks. /^JN - Jesper Nilsson

<    1   2   3   4   5   6   7   >