Re: [EDT][PATCH] kernel/exit.c : Fix missing read_unlock

2015-05-21 Thread Maninder Singh
EP-F6AA0618C49C4AEDA73BFF1B39950BAB Hi Oleg, Hi, From: Maninder Singh maninder...@samsung.com Subject: [PATCH 1/1] kernel/exit.c : Fix missing task_unlock This patch adds missing read_unlock if do_wait_thread or ptrace_do_wait returns non zero. Confused... wait_consider_task() should

[EDT][PATCH] kernel/exit.c : Fix missing read_unlock

2015-05-20 Thread Maninder Singh
EP-F6AA0618C49C4AEDA73BFF1B39950BAB Hi, From: Maninder Singh Subject: [PATCH 1/1] kernel/exit.c : Fix missing task_unlock This patch adds missing read_unlock if do_wait_thread or ptrace_do_wait returns non zero. Signed-off-by: Maninder Singh Signed-off-by: Vaneet Narang Reviewd

[EDT][PATCH] kernel/exit.c : Fix missing read_unlock

2015-05-20 Thread Maninder Singh
EP-F6AA0618C49C4AEDA73BFF1B39950BAB Hi, From: Maninder Singh maninder...@samsung.com Subject: [PATCH 1/1] kernel/exit.c : Fix missing task_unlock This patch adds missing read_unlock if do_wait_thread or ptrace_do_wait returns non zero. Signed-off-by: Maninder Singh maninder...@samsung.com

[EDT][PATCh 1/1]mdfld_dsi_pkg_sender.c : Fix Possible NULL Pointer dereference

2015-05-19 Thread Maninder Singh
k of sender Signed-off-by: Maninder Singh Reviewed-By: Vaneet Narang --- drivers/gpu/drm/gma500/mdfld_dsi_pkg_sender.c |4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/drivers/gpu/drm/gma500/mdfld_dsi_pkg_sender.c b/drivers/gpu/drm/gma500/mdfld_dsi_pkg_sender.c index

[EDT][PATCh 1/1]mdfld_dsi_pkg_sender.c : Fix Possible NULL Pointer dereference

2015-05-19 Thread Maninder Singh
-by: Maninder Singh maninder...@samsung.com Reviewed-By: Vaneet Narang v.nar...@samsung.com --- drivers/gpu/drm/gma500/mdfld_dsi_pkg_sender.c |4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/drivers/gpu/drm/gma500/mdfld_dsi_pkg_sender.c b/drivers/gpu/drm/gma500

[EDT][PATCH 1/1] dma/pl330.c : Initialize pl330 pointer after NULL check of pch pointer

2015-05-18 Thread Maninder Singh
EP-AA9D1F29B02341529D96C06444D8471D Hi, Subject: [PATCH 1/1] dma/pl330.c : Initialize pl330 pointer after NULL check of pch pointer Signed-off-by: Maninder Singh Reviewed-By: Vaneet Narang --- drivers/dma/pl330.c |4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git

[EDT][PATCH 1/1] dma/pl330.c : Initialize pl330 pointer after NULL check of pch pointer

2015-05-18 Thread Maninder Singh
EP-AA9D1F29B02341529D96C06444D8471D Hi, Subject: [PATCH 1/1] dma/pl330.c : Initialize pl330 pointer after NULL check of pch pointer Signed-off-by: Maninder Singh maninder...@samsung.com Reviewed-By: Vaneet Narang v.nar...@samsung.com --- drivers/dma/pl330.c |4 +++- 1 files changed, 3

[EDT][PATCH 1/1] hw_breakpoint.c :cpu hotplug handling

2015-05-12 Thread Maninder Singh
EP-2DAD0AFA905A4ACB804C4F82A001242F Subject: [PATCH 1/1] hw_breakpoint.c :cpu hotplug handling This patch adds support for CPU hotplug, It re-installl all installed watchpoints and breakpoints back on H/W in case of cpu-hot plug. Signed-off-by: Vaneet Narang Signed-off-by: Maninder Singh

[EDT] [PATCH 1/1] Fix: hw watchpoint continually triggers callback

2015-05-12 Thread Maninder Singh
interrupt handling ARM tries to execute the same instruction again , which results in interrupt getting raised again. This patch fixes this issue by using KPROBES (getting the instruction executed and incrementing PC to next instruction). Signed-off-by: Vaneet Narang Signed-off-by: Maninder Singh

[EDT] [PATCH 1/1] Fix: hw watchpoint continually triggers callback

2015-05-12 Thread Maninder Singh
-by: Maninder Singh maninder...@samsung.com Reviewed-by: Amit Arora amit.ar...@samsung.com Reviewed-by: Ajeet Yadav ajee...@samsung.com --- arch/arm/kernel/hw_breakpoint.c | 18 ++ 1 files changed, 18 insertions(+), 0 deletions(-) diff --git a/arch/arm/kernel/hw_breakpoint.c b/arch

[EDT][PATCH 1/1] hw_breakpoint.c :cpu hotplug handling

2015-05-12 Thread Maninder Singh
-by: Maninder Singh maninder...@samsung.com Reviewed-by: Amit Arora amit.ar...@samsung.com Reviewed-by: Ajeet Yadav ajee...@samsung.com --- arch/arm/kernel/hw_breakpoint.c | 56 +++ 1 files changed, 56 insertions(+), 0 deletions(-) diff --git a/arch/arm/kernel

Re: [EDT][PATCH 1/1] msgsnd use freezable blocking call

2015-05-07 Thread Maninder Singh
EP-F6AA0618C49C4AEDA73BFF1B39950BAB >On Wed, 06 May 2015 11:29:57 + (GMT) Maninder Singh wrote: >> EP-F6AA0618C49C4AEDA73BFF1B39950BAB >> >> Hi , >> >> Recently shared a patch for using freezable_schedule instead of schedule in >> msgrcv, >> and

Re: [EDT][PATCH 1/1] msgsnd use freezable blocking call

2015-05-07 Thread Maninder Singh
EP-F6AA0618C49C4AEDA73BFF1B39950BAB On Wed, 06 May 2015 11:29:57 + (GMT) Maninder Singh wrote: EP-F6AA0618C49C4AEDA73BFF1B39950BAB Hi , Recently shared a patch for using freezable_schedule instead of schedule in msgrcv, and after analysing message queuie implemntation we have

[EDT][Patch 1/1] socket family check in netlabel APIs

2015-05-06 Thread Maninder Singh
EP-E68D5E24548545C9BBB607A98ADD61E6 Hi Paul, >On Monday, March 30, 2015 11:09:00 AM Maninder Singh wrote: >> Dear All, >> we found One Kernel Crash issue in cipso_v4_sock_delattr :- >> As Cipso supports only inet sockets so cipso_v4_sock_delattr will crash when >> try

[EDT][PATCH 1/1] msgsnd use freezable blocking call

2015-05-06 Thread Maninder Singh
erm); rcu_read_unlock(); - schedule(); + freezable_schedule(); rcu_read_lock(); ipc_lock_object(>q_perm); -- 1.7.1 Thanks and Regards, Maninder Singh

[EDT][PATCH 1/1] msgsnd use freezable blocking call

2015-05-06 Thread Maninder Singh
...@samsung.com Signed-off-by: Maninder Singh maninder...@samsung.com --- ipc/msg.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/ipc/msg.c b/ipc/msg.c index a7261d5..da5658e 100644 --- a/ipc/msg.c +++ b/ipc/msg.c @@ -674,7 +674,7 @@ long do_msgsnd(int msqid, long mtype, void

[EDT][Patch 1/1] socket family check in netlabel APIs

2015-05-06 Thread Maninder Singh
EP-E68D5E24548545C9BBB607A98ADD61E6 Hi Paul, On Monday, March 30, 2015 11:09:00 AM Maninder Singh wrote: Dear All, we found One Kernel Crash issue in cipso_v4_sock_delattr :- As Cipso supports only inet sockets so cipso_v4_sock_delattr will crash when try to access any other socket type

Re: msgrcv: use freezable blocking call

2015-04-01 Thread Maninder Singh
Hi Andrew, Both patches looks fine to us. Thank You > On Wed, Apr 01, 2015 at 05:18:46AM +0000, Maninder Singh wrote: > > Hi Andrew, > > Thanks for making new patch, Actually there is some problem with our mail > > editor. > > It changes tabs with spaces and corrupt

Re: Re: [Fix kernel crash in cipso_v4_sock_delattr ]

2015-04-01 Thread Maninder Singh
r this API "netlbl_sock_delattr" and resolves our issue. Thanks Maninder Singh On 3/30/2015 10:09 PM, Maninder Singh wrote: > We are currently using 3.10.58 kernel and we are facing this issue for samck > enabled system. > and as we can check in other APIs like netlbl_sock_getattr an

Re: Re: [Fix kernel crash in cipso_v4_sock_delattr ]

2015-04-01 Thread Maninder Singh
related Netlabel APIs have check to validate socket family. Thats why we added socket family check for this API netlbl_sock_delattr and resolves our issue. Thanks Maninder Singh On 3/30/2015 10:09 PM, Maninder Singh wrote: We are currently using 3.10.58 kernel and we are facing this issue

Re: msgrcv: use freezable blocking call

2015-04-01 Thread Maninder Singh
Hi Andrew, Both patches looks fine to us. Thank You On Wed, Apr 01, 2015 at 05:18:46AM +, Maninder Singh wrote: Hi Andrew, Thanks for making new patch, Actually there is some problem with our mail editor. It changes tabs with spaces and corrupts the patch, we are solving the same

Re: Re: msgrcv: use freezable blocking call

2015-03-31 Thread Maninder Singh
-off-by: Yogesh Gaur Signed-off-by: Maninder Singh Signed-off-by: Manjeet Pawar Reviewed-by : Ajeet Yadav Cc: Peter Zijlstra Cc: Tejun Heo Signed-off-by: Andrew Morton 2. For restart_syscall: use freezable blocking call Signed-off-by: Yogesh Gaur Signed-off-by: Maninder Singh Signed-off

Re: Re: msgrcv: use freezable blocking call

2015-03-31 Thread Maninder Singh
-off-by: Yogesh Gaur yn.g...@samsung.com Signed-off-by: Maninder Singh maninder...@samsung.com Signed-off-by: Manjeet Pawar manjee...@samsung.com Reviewed-by : Ajeet Yadav ajee...@samsung.com Cc: Peter Zijlstra a.p.zijls...@chello.nl Cc: Tejun Heo t...@kernel.org Signed-off-by: Andrew Morton

Re: Re: [Fix kernel crash in cipso_v4_sock_delattr ]

2015-03-30 Thread Maninder Singh
, actually we have run checkpatch.pl before submission(successfull) But when we submit the patch our editor changes tabs into space, we will resubmitt the patch ASAP. Maninder Singh --- Original Message --- Sender : Casey Schaufler Date : Mar 31, 2015 02:25 (GMT+09:00) Title : Re: [Fix

[ARM: code clean up local_irq_disable]

2015-03-30 Thread Maninder Singh
/process.c +++ b/arch/arm/kernel/process.c @@ -195,7 +195,6 @@ void machine_halt(void) local_irq_disable(); smp_send_stop(); - local_irq_disable(); while (1); } -- 1.7.1 Thanks and Regards, Maninder Singh

[Fix kernel crash in cipso_v4_sock_delattr ]

2015-03-30 Thread Maninder Singh
rom [] (security_socket_sendmsg+0x28/0x2c) [0-182.2966] [] (security_socket_sendmsg+0x0/0x2c) from [] (sock_sendmsg+0x68/0xc0) [0-182.3058] [] (sock_sendmsg+0x0/0xc0) from [] (SyS_sendto+0xd8/0x110) Signed-off-by: Vaneet Narang Signed-off-by: Maninder Singh Reviewed-by : Ajeet Yadav --- net/netla

restart_syscall: use freezable blocking call

2015-03-30 Thread Maninder Singh
@@ -1789,7 +1789,7 @@ schedule_hrtimeout_range_clock(ktime_t *expires, unsigned long delta, t.task = NULL; if (likely(t.task)) - schedule(); + freezable_schedule(); hrtimer_cancel(); destroy_hrtimer_on_stack(); -- 1.7.1 Thanks and Regards, Maninder Singh

restart_syscall: use freezable blocking call

2015-03-30 Thread Maninder Singh
(); + freezable_schedule(); hrtimer_cancel(t.timer); destroy_hrtimer_on_stack(t.timer); -- 1.7.1 Thanks and Regards, Maninder Singh

[Fix kernel crash in cipso_v4_sock_delattr ]

2015-03-30 Thread Maninder Singh
) Signed-off-by: Vaneet Narang v.nar...@samsung.com Signed-off-by: Maninder Singh maninder...@samsung.com Reviewed-by : Ajeet Yadav ajee...@samsung.com --- net/netlabel/netlabel_kapi.c |8 +++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/net/netlabel/netlabel_kapi.c b/net

[ARM: code clean up local_irq_disable]

2015-03-30 Thread Maninder Singh
--- a/arch/arm/kernel/process.c +++ b/arch/arm/kernel/process.c @@ -195,7 +195,6 @@ void machine_halt(void) local_irq_disable(); smp_send_stop(); - local_irq_disable(); while (1); } -- 1.7.1 Thanks and Regards, Maninder Singh

Re: Re: [Fix kernel crash in cipso_v4_sock_delattr ]

2015-03-30 Thread Maninder Singh
, actually we have run checkpatch.pl before submission(successfull) But when we submit the patch our editor changes tabs into space, we will resubmitt the patch ASAP. Maninder Singh --- Original Message --- Sender : Casey Schauflerca...@schaufler-ca.com Date : Mar 31, 2015 02:25 (GMT+09:00

<    1   2   3   4