[PATCH] staging: Replaced BUG_ON with warnings

2016-12-02 Thread Shilpa Puttegowda
From: Shilpa P Don't crash the Kernel for driver errors Signed-off-by: Shilpa P --- drivers/staging/media/bcm2048/radio-bcm2048.c | 12 ++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/drivers/staging/media/bcm2048/radio-bcm2048.c b/drivers/staging/media/bc

Re: [PATCH V2 0/7] cpufreq: governors: Fix ABBA lockups

2016-02-03 Thread Shilpa Bhat
003] [c07fe3127c10] [c0aced34] store+0xb4/0x110 [ 906.770071] [c07fe3127c60] [c040a8a4] sysfs_kf_write+0x94/0xc0 [ 906.770139] [c07fe3127ca0] [c04094a8] kernfs_fop_write+0x188/0x1f0 [ 906.770221] [c07fe3127cf0] [c0347b8c] __vfs_write+0x6c/0x180 [ 906.770290] [c07fe3127d90] [c03490a0] vfs_write+0xc0/0x200 [ 906.770358] [c07fe3127de0] [c034a3cc] SyS_write+0x6c/0x110 [ 906.770426] [c07fe3127e30] [c000926c] system_call+0x38/0xd0 Thanks and Regards, Shilpa

Re: [PATCH v2] cpufreq: powernv: Set the cpus to nominal frequency during reboot/kexec

2014-09-09 Thread shilpa
ediction for the 'rebooting' test. Having unlikely to cover both 'rebooting' and the second clause we can avoid the branch miss prediction for the second clause. This is advantageous for the code path powernv_cpufreq_target_index(policy,nominal_index) which will be invoked by the

Re: [PATCH v2] cpufreq: powernv: Set the cpus to nominal frequency during reboot/kexec

2014-08-31 Thread Shilpa Bhat
This patch ensures the cpus to kexec/reboot at nominal frequency. Nominal frequency is the highest cpu frequency on PowerPC at which the cores can run without getting throttled. If the host kernel had set the cpus to a low pstate and then it kexecs/reboots to a cpufreq disabled kernel it would cau

Re: [PATCH v2] cpufreq: powernv: Set the cpus to nominal frequency during reboot/kexec

2014-08-31 Thread Shilpa Bhat
; > Have you placed the unlikely only around 'rebooting' intentionally or > should it cover whole if statement? > Yes unlikely() should cover the whole if statement. Thank you for pointing it out. I have corrected my mistake in the below patch. Thanks and regards, Shilpa This