[PATCH] spmi: spmi-pmic-arb: Fix hw_irq overflow

2021-02-08 Thread Subbaraman Narayanamurthy
us whereas it is actually a valid interrupt. Fix this by using the proper data type (u32) for id. Cc: sta...@vger.kernel.org Signed-off-by: Subbaraman Narayanamurthy --- drivers/spmi/spmi-pmic-arb.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/drivers/spmi/spmi-pm

[RESEND PATCH] nvmem: qcom-spmi-sdam: Fix uninitialized pdev pointer

2021-02-03 Thread Subbaraman Narayanamurthy
"sdam->pdev" is uninitialized and it is used to print error logs. Fix it. Since device pointer can be used from sdam_config, use it directly thereby removing pdev pointer. Cc: sta...@vger.kernel.org Signed-off-by: Subbaraman Narayanamurthy --- drivers/nvmem/qcom-spmi-sdam.c | 7 ++

[RESEND PATCH] spmi: spmi-pmic-arb: Fix hw_irq overflow

2021-01-29 Thread Subbaraman Narayanamurthy
us whereas it is actually a valid interrupt. Fix this by using the proper data type (u32) for id. Cc: sta...@vger.kernel.org Signed-off-by: Subbaraman Narayanamurthy --- drivers/spmi/spmi-pmic-arb.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/drivers/spmi/spmi-pm

[PATCH] nvmem: qcom-spmi-sdam: Fix uninitialized pdev pointer

2021-01-26 Thread Subbaraman Narayanamurthy
"sdam->pdev" is uninitialized and it is used to print error logs. Fix it. Since device pointer can be used from sdam_config, use it directly thereby removing pdev pointer. Signed-off-by: Subbaraman Narayanamurthy --- --- drivers/nvmem/qcom-spmi-sdam.c | 7 +++ 1 file changed,

[PATCH] spmi: spmi-pmic-arb: Fix hw_irq overflow

2021-01-22 Thread Subbaraman Narayanamurthy
us whereas it is actually a valid interrupt. Fix this by using the proper data type (u32) for id. Signed-off-by: Subbaraman Narayanamurthy --- drivers/spmi/spmi-pmic-arb.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/drivers/spmi/spmi-pmic-arb.c b/drivers/spmi/spmi-

Re: [PATCH] kthread: Fix the race condition when kthread is parked

2014-06-26 Thread Subbaraman Narayanamurthy
le? Also, what will happen if the task state is not in TASK_PARKED when __kthread_unpark is called? __kthread_bind will fail silently causing the same problem. Reorder the logic so that the unplug code binds the thread to the target cpu before clearing the KTHREAD_SHOULD_PARK bit. Reported-by: Su

[PATCH] kthread: Fix the race condition when kthread is parked

2014-06-25 Thread Subbaraman Narayanamurthy
ntial race condition in __kthread_parkme where just after completing the parked completion, before the ksoftirqd task has been scheduled again, it can go into running state. Fix this by waiting for the task state to parked after waiting for the parked completion. Signed-off-by: Subbaraman Nara

kernel BUG at kernel/smpboot.c:134

2014-06-23 Thread Subbaraman Narayanamurthy
Hi, While stressing the CPU hotplug path, sometimes we hit the problem as shown below. Kernel is based off 3.10 and has the commit "f2530dc71cf082" already. [57056.416774] [ cut here ] [57056.489232] ksoftirqd/1 (14): undefined instruction: pc=c01931e8 [57056.489245] Code