[PATCHv2] ARM64:Fix MINSIGSTKSZ and SIGSTKSZ

2015-10-05 Thread Manjeet Pawar
m> Signed-off-by: Manjeet Pawar <manjee...@samsung.com> Signed-off-by: Rohit Thapliyal <r.thapli...@samsung.com> --- v1 -> Changes in uapi overall header v2 -> Changes done in arm64 headers arch/arm64/include/uapi/asm/signal.h |5 + 1 file changed, 5 insertions(+) diff -

Re: [PATCHv2] ARM64:Fix MINSIGSTKSZ and SIGSTKSZ

2015-10-09 Thread Manjeet Pawar
>> This looks correct now. A few more points though: >> >> * My first thought would have been to do this by first defining the >> two symbols before the #include, and then adding an #ifdef in >> the generic file. Both approaches work though, any other opinions >> on this? >That's what I

[PATCHv3] ARM64:Fix MINSIGSTKSZ and SIGSTKSZ

2015-10-09 Thread Manjeet Pawar
850] https://sourceware.org/bugzilla/show_bug.cgi?id=16850 Signed-off-by: Akhilesh Kumar <akhiles...@samsung.com> Signed-off-by: Manjeet Pawar <manjee...@samsung.com> Signed-off-by: Rohit Thapliyal <r.thapli...@samsung.com> --- v1 -> Changes in uapi overall header v2 -> Changes done i

Re: Re: [PATCHv3] ARM64:Fix MINSIGSTKSZ and SIGSTKSZ

2015-10-09 Thread Manjeet Pawar
>> MINSIGSTKSZ and SIGSTKSZ for ARM64 are not correctly set in latest kernel. >> This patch fixes this issue. >> >> This issue is reported in LTP (testcase: sigaltstack02.c). >> Testcase failed when sigaltstack() called with stack size "MINSIGSTKSZ - 1" >> Since in Glibc-2.22, MINSIGSTKSZ is set

[PATCH] ARM64:Fix MINSIGSTKSZ and SIGSTKSZ

2015-10-05 Thread Manjeet Pawar
m> Signed-off-by: Manjeet Pawar <manjee...@samsung.com> Signed-off-by: Rohit Thapliyal <r.thapli...@samsung.com> --- include/uapi/asm-generic/signal.h |9 +++-- 1 files changed, 7 insertions(+), 2 deletions(-) diff --git a/include/uapi/asm-generic/signal.h b/include/uapi/asm-ge

[PATCH] arm:swiotlb:keep disabled in default configuration

2016-06-23 Thread Manjeet Pawar
From: Rohit Thapliyal swiotlb implementation not required to be enabled in arm and disabling it reduces uImage size by 16KB. Signed-off-by: Rohit Thapliyal Signed-off-by: Ajeet Kumar Yadav --- arch/arm/Kconfig |2 +-

[PATCH] arm64:swiotlb:Enable only when Input size through command line

2016-06-23 Thread Manjeet Pawar
erwise no swiotlb is allocated. Signed-off-by: Rohit Thapliyal <r.thapli...@samsung.com> Signed-off-by: Manjeet Pawar <manjee...@samsung.com> Reviewed-by: Akhilesh Kumar <akhiles...@samsung.com> Reviewed-by: Ajeet Kumar Yadav <ajee...@samsung.com> --- Documentation/kernel-paramet

Re: Re: [PATCH] arm:swiotlb:keep disabled in default configuration

2016-06-24 Thread Manjeet Pawar
> > On Jun 23, 2016 8:27 AM, "Manjeet Pawar" wrote: >> > >> > From: Rohit Thapliyal >> > >> > swiotlb implementation not required to be enabled in arm and >> > disabling it reduces uImage size by 16KB. >> > >> >>

Re: Re: [PATCH] arm:swiotlb:keep disabled in default configuration

2016-06-26 Thread Manjeet Pawar
erwise. --- Original Message --- Sender : Stefano Stabellini Date : Jun 24, 2016 01:00 (GMT+09:00) Title : Re: [PATCH] arm:swiotlb:keep disabled in default configuration On Thu, 23 Jun 2016, Stefano Stabellini wrote: > On Jun 23, 2016 8:27 AM, "Manjeet Pawar" wrote: > &g

[PATCH v2] ipv6:ipv6_pinfo dereferenced after NULL check

2016-11-24 Thread Manjeet Pawar
From: Rohit Thapliyal <r.thapli...@samsung.com> np checked for NULL and then dereferenced. It should be modified for NULL case. Signed-off-by: Rohit Thapliyal <r.thapli...@samsung.com> Signed-off-by: Manjeet Pawar <manjee...@samsung.com> Signed-off-by: Hannes

[PATCH] ipv6:ip6_xmit remove unnecessary np NULL check

2016-11-28 Thread Manjeet Pawar
From: Rohit Thapliyal <r.thapli...@samsung.com> np NULL check doesn't seem required here as it shall never be NULL anyways in inet6_sk(sk). Signed-off-by: Rohit Thapliyal <r.thapli...@samsung.com> Signed-off-by: Manjeet Pawar <manjee...@samsung.com> Signed-off-by

[PATCH] ipv6:ipv6_pinfo dereferenced after NULL check

2016-11-21 Thread Manjeet Pawar
From: Rohit Thapliyal <r.thapli...@samsung.com> np checked for NULL and then dereferenced. It should be modified for NULL case. Signed-off-by: Rohit Thapliyal <r.thapli...@samsung.com> Signed-off-by: Manjeet Pawar <manjee...@samsung.com> --- net/ipv6/ip6_output.c | 9 +--

[PATCH] ipv6:ip6_xmit and ping_v6_sendmsg remove np NULL check

2016-12-06 Thread Manjeet Pawar
oft.net> Signed-off-by: Lorenzo Colitti <lore...@google.com> Signed-off-by: Eric Dumazet <eric.duma...@gmail.com> Signed-off-by: Manjeet Pawar <manjee...@samsung.com> Reviewed-by: Akhilesh Kumar <akhiles...@samsung.com> --- v4->v5: Modified as per the suggestion from

[PATCH] ALSA: Adjust structure(snd_timer_tread) members to avoid 8 padding bytes

2017-05-30 Thread Manjeet Pawar
=9a47e9cff994f37f7f0dbd9ae23740d0f64f9fe6 These patches does memset on structure object to initialize 8 padding bytes, which can be skipped by adjusting structure members. Signed-off-by: Manjeet Pawar <manjee...@samsung.com> Signed-off-by: Vaneet Narang <v.nar...@samsung.com> --- includ

[PATCH] arm:fix negation of -2147483648 warning with UBSASN

2017-10-12 Thread Manjeet Pawar
099d60 = In order to remove these warnings, it seems harmless to modify the signed ints with unsigned long as a fix of negation of -2147483648 in signed int. Signed-off-by: Rohit Thapliyal <r.thapli...@samsung.com> Signed-off-by: Manjeet Pawar <manjee...@samsung.com

[PATCH] mm: Replace-simple_strtoul-with-kstrtoul

2017-11-09 Thread Manjeet Pawar
simple_strtoul() is obselete now, so using newer function kstrtoul() Signed-off-by: Manjeet Pawar <manjee...@samsung.com> Signed-off-by: Vinay Kumar Rijhwani <v.rijhw...@samsung.com> Signed-off-by: Rohit Thapliyal <r.thapli...@samsung.com> --- mm/page_alloc.c | 3 +-- mm

[PATCH] traps:Recover undefined user instruction on ARM

2018-10-04 Thread Manjeet Pawar
to recover the instruction and continue execution normally instead of crashing. Signed-off-by: Rohit Thapliyal Signed-off-by: Manjeet Pawar --- arch/arm/kernel/traps.c | 100 +++- 1 file changed, 90 insertions(+), 10 deletions(-) diff --git a/arch/arm

[PATCH] arm:fix negation of -2147483648 warning with UBSASN

2017-10-12 Thread Manjeet Pawar
= In order to remove these warnings, it seems harmless to modify the signed ints with unsigned long as a fix of negation of -2147483648 in signed int. Signed-off-by: Rohit Thapliyal Signed-off-by: Manjeet Pawar --- arch/arm/include/asm/bitops.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions

[PATCH] mm: Replace-simple_strtoul-with-kstrtoul

2017-11-09 Thread Manjeet Pawar
simple_strtoul() is obselete now, so using newer function kstrtoul() Signed-off-by: Manjeet Pawar Signed-off-by: Vinay Kumar Rijhwani Signed-off-by: Rohit Thapliyal --- mm/page_alloc.c | 3 +-- mm/shmem.c | 11 +-- 2 files changed, 6 insertions(+), 8 deletions(-) diff --git

[PATCH] traps:Recover undefined user instruction on ARM

2018-10-04 Thread Manjeet Pawar
to recover the instruction and continue execution normally instead of crashing. Signed-off-by: Rohit Thapliyal Signed-off-by: Manjeet Pawar --- arch/arm/kernel/traps.c | 100 +++- 1 file changed, 90 insertions(+), 10 deletions(-) diff --git a/arch/arm

[PATCH v2] ipv6:ipv6_pinfo dereferenced after NULL check

2016-11-24 Thread Manjeet Pawar
From: Rohit Thapliyal np checked for NULL and then dereferenced. It should be modified for NULL case. Signed-off-by: Rohit Thapliyal Signed-off-by: Manjeet Pawar Signed-off-by: Hannes Frederic Sowa Reviewed-by: Akhilesh Kumar --- v1->v2: Modified as per the suggestion of Hannes

[PATCH] ipv6:ip6_xmit and ping_v6_sendmsg remove np NULL check

2016-12-06 Thread Manjeet Pawar
-by: Manjeet Pawar Reviewed-by: Akhilesh Kumar --- v4->v5: Modified as per the suggestion from David Miller and Eric, ip6_xmit calls are made without checking NULL np pointer, so no need to explicitly check NULL np in ip6_xmit and ping_v6_sendmsg. net/ipv6/ip6_output.c

[PATCH] ipv6:ip6_xmit remove unnecessary np NULL check

2016-11-28 Thread Manjeet Pawar
From: Rohit Thapliyal np NULL check doesn't seem required here as it shall never be NULL anyways in inet6_sk(sk). Signed-off-by: Rohit Thapliyal Signed-off-by: Manjeet Pawar Signed-off-by: David Miller Reviewed-by: Akhilesh Kumar --- v2->v3: Modified as per the suggestion from David Mil

[PATCH] ALSA: Adjust structure(snd_timer_tread) members to avoid 8 padding bytes

2017-05-30 Thread Manjeet Pawar
=9a47e9cff994f37f7f0dbd9ae23740d0f64f9fe6 These patches does memset on structure object to initialize 8 padding bytes, which can be skipped by adjusting structure members. Signed-off-by: Manjeet Pawar Signed-off-by: Vaneet Narang --- include/uapi/sound/asound.h | 2 +- 1 file changed, 1 insertion(+), 1

[PATCH] ipv6:ipv6_pinfo dereferenced after NULL check

2016-11-21 Thread Manjeet Pawar
From: Rohit Thapliyal np checked for NULL and then dereferenced. It should be modified for NULL case. Signed-off-by: Rohit Thapliyal Signed-off-by: Manjeet Pawar --- net/ipv6/ip6_output.c | 9 + 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/net/ipv6/ip6_output.c b/net

[PATCH] ARM64:Fix MINSIGSTKSZ and SIGSTKSZ

2015-10-05 Thread Manjeet Pawar
bug.cgi?id=16850 Bugfix in Glibc-2.22: https://sourceware.org/git/gitweb.cgi?p=glibc.git;a=blob;f=sysdeps/unix/ sysv/linux/aarch64/bits/sigstack.h;h=8f2fb76e3e81734ef8a9cf9ae40daf4705 f31c35;hb=b763f6ae859ecea70a5dacb8ad45c71d5f667e2e Signed-off-by: Akhilesh Kumar Signed-off-by: Manjeet Pawar

[PATCHv2] ARM64:Fix MINSIGSTKSZ and SIGSTKSZ

2015-10-05 Thread Manjeet Pawar
bug.cgi?id=16850 Bugfix in Glibc-2.22: https://sourceware.org/git/gitweb.cgi?p=glibc.git;a=blob;f=sysdeps/unix/ sysv/linux/aarch64/bits/sigstack.h;h=8f2fb76e3e81734ef8a9cf9ae40daf4705 f31c35;hb=b763f6ae859ecea70a5dacb8ad45c71d5f667e2e Signed-off-by: Akhilesh Kumar Signed-off-by: Manjeet Pawar

Re: [PATCHv2] ARM64:Fix MINSIGSTKSZ and SIGSTKSZ

2015-10-09 Thread Manjeet Pawar
>> This looks correct now. A few more points though: >> >> * My first thought would have been to do this by first defining the >> two symbols before the #include, and then adding an #ifdef in >> the generic file. Both approaches work though, any other opinions >> on this? >That's what I

[PATCHv3] ARM64:Fix MINSIGSTKSZ and SIGSTKSZ

2015-10-09 Thread Manjeet Pawar
850] https://sourceware.org/bugzilla/show_bug.cgi?id=16850 Signed-off-by: Akhilesh Kumar Signed-off-by: Manjeet Pawar Signed-off-by: Rohit Thapliyal --- v1 -> Changes in uapi overall header v2 -> Changes done in arm64 headers v3 -> Changes done in both uapi & arm64 headers arch/arm64/in

Re: Re: [PATCHv3] ARM64:Fix MINSIGSTKSZ and SIGSTKSZ

2015-10-09 Thread Manjeet Pawar
>> MINSIGSTKSZ and SIGSTKSZ for ARM64 are not correctly set in latest kernel. >> This patch fixes this issue. >> >> This issue is reported in LTP (testcase: sigaltstack02.c). >> Testcase failed when sigaltstack() called with stack size "MINSIGSTKSZ - 1" >> Since in Glibc-2.22, MINSIGSTKSZ is set

[PATCH] arm64:swiotlb:Enable only when Input size through command line

2016-06-23 Thread Manjeet Pawar
. Signed-off-by: Rohit Thapliyal Signed-off-by: Manjeet Pawar Reviewed-by: Akhilesh Kumar Reviewed-by: Ajeet Kumar Yadav --- Documentation/kernel-parameters.txt |3 +++ arch/arm64/mm/init.c|3 ++- include/linux/swiotlb.h |1 + lib/swiotlb.c

[PATCH] arm:swiotlb:keep disabled in default configuration

2016-06-23 Thread Manjeet Pawar
From: Rohit Thapliyal swiotlb implementation not required to be enabled in arm and disabling it reduces uImage size by 16KB. Signed-off-by: Rohit Thapliyal Signed-off-by: Ajeet Kumar Yadav --- arch/arm/Kconfig |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

Re: Re: [PATCH] arm:swiotlb:keep disabled in default configuration

2016-06-24 Thread Manjeet Pawar
> > On Jun 23, 2016 8:27 AM, "Manjeet Pawar" wrote: >> > >> > From: Rohit Thapliyal >> > >> > swiotlb implementation not required to be enabled in arm and >> > disabling it reduces uImage size by 16KB. >> > >> >>

Re: Re: [PATCH] arm:swiotlb:keep disabled in default configuration

2016-06-26 Thread Manjeet Pawar
erwise. --- Original Message --- Sender : Stefano Stabellini Date : Jun 24, 2016 01:00 (GMT+09:00) Title : Re: [PATCH] arm:swiotlb:keep disabled in default configuration On Thu, 23 Jun 2016, Stefano Stabellini wrote: > On Jun 23, 2016 8:27 AM, "Manjeet Pawar" wrote: > &g