[tip: core/rcu] kvm: mmu: page_track: Fix RCU list API usage

2020-10-08 Thread tip-bot2 for Madhuparna Bhowmik
The following commit has been merged into the core/rcu branch of tip: Commit-ID: df9a30fd1f70a757df193acd7396622eee23e527 Gitweb: https://git.kernel.org/tip/df9a30fd1f70a757df193acd7396622eee23e527 Author:Madhuparna Bhowmik AuthorDate:Sun, 12 Jul 2020 18:40:03 +05:30

[tip: core/rcu] rculist: Introduce list/hlist_for_each_entry_srcu() macros

2020-10-08 Thread tip-bot2 for Madhuparna Bhowmik
The following commit has been merged into the core/rcu branch of tip: Commit-ID: ae2212a7216b674633bdc3bd2e24947a0665efb8 Gitweb: https://git.kernel.org/tip/ae2212a7216b674633bdc3bd2e24947a0665efb8 Author:Madhuparna Bhowmik AuthorDate:Sun, 12 Jul 2020 18:40:02 +05:30

Re: [PATCH] usb/c67x00/c67x00-drv: Fix Data Race bug

2020-08-28 Thread Madhuparna Bhowmik
On Fri, Aug 28, 2020 at 1:10 PM Greg KH wrote: > > On Wed, Aug 26, 2020 at 08:14:59PM +0530, madhuparnabhowmi...@gmail.com wrote: > > From: Madhuparna Bhowmik > > > > Currently in c67x00_drv_probe() IRQ is requested before calling > > c67x00_probe_sie() and hence if

Re: [PATCH] drivers: mmc: host: via-sdmmc: Fix data race bug

2020-08-21 Thread Madhuparna Bhowmik
On Fri, Aug 21, 2020 at 02:48:37PM +0200, Ulf Hansson wrote: > On Mon, 3 Aug 2020 at 09:29, wrote: > > > > From: Madhuparna Bhowmik > > > > via_save_pcictrlreg() should be called with host->lock held > > as it writes to pm_pcictrl_reg, otherwise there

Re: [PATCH] drivers/dma/dma-jz4780: Fix race condition between probe and irq handler

2020-08-20 Thread Madhuparna Bhowmik
...@gmail.com a écrit > > > : > > > > From: Madhuparna Bhowmik > > > > > > > > In probe IRQ is requested before zchan->id is initialized which > > > > can be > > > > read in the irq handler. Hence, shift request irq and enable > >

Re: [PATCH] drivers/dma/dma-jz4780: Fix race condition between probe and irq handler

2020-08-20 Thread Madhuparna Bhowmik
On Thu, Aug 20, 2020 at 01:59:23PM +0200, Paul Cercueil wrote: > Hi, > > Le dim. 16 août 2020 à 12:52, madhuparnabhowmi...@gmail.com a écrit : > > From: Madhuparna Bhowmik > > > > In probe IRQ is requested before zchan->id is initialized which can be > > r

Re: [PATCH] drivers: watchdog: pc87413_wdt: Fix Race condition bug

2020-08-16 Thread Madhuparna Bhowmik
On Fri, Aug 14, 2020 at 08:07:40AM -0700, Guenter Roeck wrote: > On Thu, Aug 13, 2020 at 06:24:51PM +0530, madhuparnabhowmi...@gmail.com wrote: > > From: Madhuparna Bhowmik > > > > After misc_register the open() callback can be called. > > However the base address (

Re: [PATCH] drivers: char: applicom.c: Add lock for protecting DeviceErrorCount

2020-08-03 Thread Madhuparna Bhowmik
On Mon, Aug 03, 2020 at 01:53:28PM +0200, Greg KH wrote: > On Mon, Aug 03, 2020 at 04:20:49PM +0530, madhuparnabhowmi...@gmail.com wrote: > > From: Madhuparna Bhowmik > > > > The variable DeviceErrorCount is used to keep track of the number of > > errors in read, w

[tip: core/rcu] trace: events: rcu: Change description of rcu_dyntick trace event

2020-07-31 Thread tip-bot2 for Madhuparna Bhowmik
The following commit has been merged into the core/rcu branch of tip: Commit-ID: 88748e330040ecf4681a2c8f344fd386862bf913 Gitweb: https://git.kernel.org/tip/88748e330040ecf4681a2c8f344fd386862bf913 Author:Madhuparna Bhowmik AuthorDate:Mon, 04 May 2020 08:05:05 -04:00

Re: [PATCH] drivers: isdn: capi: Fix data-race bug

2020-07-24 Thread Madhuparna Bhowmik
On Fri, Jul 24, 2020 at 08:57:47AM +0200, Greg KH wrote: > On Fri, Jul 24, 2020 at 10:18:07AM +0530, Madhuparna Bhowmik wrote: > > On Thu, Jul 23, 2020 at 03:11:58PM -0700, David Miller wrote: > > > From: madhuparnabhowmi...@gmail.com > > > Date: Wed, 22 Jul 2020 22:53:2

Re: [PATCH] drivers: isdn: capi: Fix data-race bug

2020-07-23 Thread Madhuparna Bhowmik
On Thu, Jul 23, 2020 at 03:11:58PM -0700, David Miller wrote: > From: madhuparnabhowmi...@gmail.com > Date: Wed, 22 Jul 2020 22:53:29 +0530 > > > From: Madhuparna Bhowmik > > > > In capi_init(), after register_chrdev() the file operation callbacks > > can be cal

Regarding bug in phantom.c

2020-07-21 Thread Madhuparna Bhowmik
Hi, This is regarding a race-condition related bug found in phantom.c by the Linux Driver Verification Project. dev->status is accessed in phantom_release with dev->open_lock and in phantom_isr() using dev->regs_lock therefore there can be a race between updating dev->status in phantom_release()

Re: [PATCH] rculist: Fix _list_check_srcu() macro

2020-07-13 Thread Madhuparna Bhowmik
On Mon, Jul 13, 2020 at 02:26:24PM -0700, Paul E. McKenney wrote: > On Tue, Jul 14, 2020 at 02:43:16AM +0530, Madhuparna Bhowmik wrote: > > On Mon, Jul 13, 2020 at 02:02:44PM -0700, Paul E. McKenney wrote: > > > On Mon, Jul 13, 2020 at 11:18:46PM +0530, madhuparnabhowmi...@gmai

Re: [PATCH] rculist: Fix _list_check_srcu() macro

2020-07-13 Thread Madhuparna Bhowmik
On Mon, Jul 13, 2020 at 02:02:44PM -0700, Paul E. McKenney wrote: > On Mon, Jul 13, 2020 at 11:18:46PM +0530, madhuparnabhowmi...@gmail.com wrote: > > From: Madhuparna Bhowmik > > > > This patch fixes the macro _list_check_srcu() for CONFIG_PROVE_RCU_LIST = > >

Re: [PATCH] rculist : Introduce list/hlist_for_each_entry_srcu() macros

2020-07-09 Thread Madhuparna Bhowmik
On Wed, Jul 08, 2020 at 08:33:49AM -0400, j...@joelfernandes.org wrote: > > > On July 3, 2020 10:08:28 AM EDT, madhuparnabhowmi...@gmail.com wrote: > >From: Madhuparna Bhowmik > > > >list/hlist_for_each_entry_rcu() provides an optional cond argument > >to spe

Re: [PATCH v2] kvm: Fix false positive RCU usage warning

2020-06-23 Thread Madhuparna Bhowmik
On Tue, Jun 23, 2020 at 08:39:01AM -0700, Paul E. McKenney wrote: > On Tue, Jun 23, 2020 at 09:00:36PM +0530, Madhuparna Bhowmik wrote: > > On Tue, Jun 23, 2020 at 11:02:36AM -0400, Joel Fernandes wrote: > > > On Tue, Jun 23, 2020 at 09:39:53AM +0200, Paolo Bonzini wrote: > &g

Re: [PATCH v2] kvm: Fix false positive RCU usage warning

2020-06-23 Thread Madhuparna Bhowmik
On Tue, Jun 23, 2020 at 11:02:36AM -0400, Joel Fernandes wrote: > On Tue, Jun 23, 2020 at 09:39:53AM +0200, Paolo Bonzini wrote: > > On 16/05/20 10:22, madhuparnabhowmi...@gmail.com wrote: > > > From: Madhuparna Bhowmik > > > > > > Fix t

Re: [PATCH v2] kvm: Fix false positive RCU usage warning

2020-06-23 Thread Madhuparna Bhowmik
On Tue, Jun 23, 2020 at 09:39:53AM +0200, Paolo Bonzini wrote: > On 16/05/20 10:22, madhuparnabhowmi...@gmail.com wrote: > > From: Madhuparna Bhowmik > > > > Fix the following false positive warnings: > > > > [ 9403.765413][T61744] ==

Re: [PATCH] Fix suspicious RCU usage warning

2020-05-16 Thread Madhuparna Bhowmik
On Thu, May 14, 2020 at 12:50:11PM -0700, David Miller wrote: > From: Madhuparna Bhowmik > Date: Thu, 14 May 2020 12:34:09 +0530 > > > Sorry for this malformed patch, I have sent a patch with all these > > corrections. > > It still needs more work, see Jakub's

Re: [PATCH net] ipv6: Fix suspicious RCU usage warning in ip6mr

2020-05-15 Thread Madhuparna Bhowmik
On Thu, May 14, 2020 at 09:40:08AM -0700, Jakub Kicinski wrote: > On Thu, 14 May 2020 12:32:04 +0530 madhuparnabhowmi...@gmail.com wrote: > > From: Madhuparna Bhowmik > > > > This patch fixes the following warning: > > > > =

Re: linux-next boot error: WARNING: suspicious RCU usage in bpq_device_event

2020-05-14 Thread Madhuparna Bhowmik
On Thu, May 14, 2020 at 08:24:54AM -0400, Qian Cai wrote: > > > > On May 14, 2020, at 7:37 AM, syzbot > > wrote: > > > > Hello, > > > > syzbot found the following crash on: > > > > HEAD commit:c9529331 Add linux-next specific files for 20200514 > > git tree: linux-next > > console

Re: [PATCH] Fix suspicious RCU usage warning

2020-05-14 Thread Madhuparna Bhowmik
On Wed, May 13, 2020 at 12:00:10PM -0700, David Miller wrote: > From: madhuparnabhowmi...@gmail.com > Date: Wed, 13 May 2020 11:46:10 +0530 > > > From: Madhuparna Bhowmik > > > > This patch fixes the following warning: > > > >

Re: [PATCH net 2/2 RESEND] ipmr: Add lockdep expression to ipmr_for_each_table macro

2020-05-12 Thread Madhuparna Bhowmik
On Tue, May 12, 2020 at 09:32:31AM -0700, Jakub Kicinski wrote: > On Tue, 12 May 2020 10:47:05 +0530 Madhuparna Bhowmik wrote: > > > > #ifdef CONFIG_IP_MROUTE_MULTIPLE_TABLES > > > > -#define ipmr_for_each_table(mrt, net) \ > > > > - list_for_each_en

Re: [PATCH net 2/2 RESEND] ipmr: Add lockdep expression to ipmr_for_each_table macro

2020-05-11 Thread Madhuparna Bhowmik
On Sat, May 09, 2020 at 02:19:38PM -0700, Jakub Kicinski wrote: > On Sat, 9 May 2020 12:52:44 +0530 Amol Grover wrote: > > ipmr_for_each_table() uses list_for_each_entry_rcu() for > > traversing outside of an RCU read-side critical section but > > under the protection of pernet_ops_rwsem. Hence ad

Re: linux-next boot error: WARNING: suspicious RCU usage in ip6mr_get_table

2020-05-11 Thread Madhuparna Bhowmik
On Tue, May 12, 2020 at 11:28:47AM +1000, Stephen Rothwell wrote: > Hi all, > > On Fri, 8 May 2020 04:54:02 +0530 Madhuparna Bhowmik > wrote: > > > > On Thu, May 07, 2020 at 08:50:55AM -0400, Qian Cai wrote: > > > > > > > > >

Re: linux-next boot error: WARNING: suspicious RCU usage in ipmr_get_table

2020-05-09 Thread Madhuparna Bhowmik
On Sat, May 09, 2020 at 12:59:37PM +0530, Amol Grover wrote: > On Tue, Apr 28, 2020 at 10:28:41AM -0400, Qian Cai wrote: > > > > > > > On Apr 28, 2020, at 10:11 AM, Madhuparna Bhowmik > > > wrote: > > > > > > On Tue, Apr 28, 2020 at 09:56:59A

Re: linux-next boot error: WARNING: suspicious RCU usage in ip6mr_get_table

2020-05-07 Thread Madhuparna Bhowmik
On Thu, May 07, 2020 at 08:50:55AM -0400, Qian Cai wrote: > > > > On May 7, 2020, at 5:32 AM, Dmitry Vyukov wrote: > > > > On Thu, May 7, 2020 at 11:26 AM syzbot > > wrote: > >> > >> Hello, > >> > >> syzbot found the following crash on: > >> > >> HEAD commit:6b43f715 Add linux-next spec

Re: [PATCH] kvm: Fix false positive RCU usage warning

2020-04-30 Thread Madhuparna Bhowmik
On Wed, Apr 29, 2020 at 04:20:29PM -0400, Qian Cai wrote: > > > > On Apr 28, 2020, at 11:52 AM, madhuparnabhowmi...@gmail.com wrote: > > > > From: Madhuparna Bhowmik > > > > Fix the following false positive warn

Re: linux-next boot error: WARNING: suspicious RCU usage in ipmr_get_table

2020-04-28 Thread Madhuparna Bhowmik
On Tue, Apr 28, 2020 at 10:28:41AM -0400, Qian Cai wrote: > > > > On Apr 28, 2020, at 10:11 AM, Madhuparna Bhowmik > > wrote: > > > > On Tue, Apr 28, 2020 at 09:56:59AM -0400, Qian Cai wrote: > >> > >> > >>> On Apr 28, 2020, at 4

Re: linux-next boot error: WARNING: suspicious RCU usage in ipmr_get_table

2020-04-28 Thread Madhuparna Bhowmik
On Tue, Apr 28, 2020 at 09:56:59AM -0400, Qian Cai wrote: > > > > On Apr 28, 2020, at 4:57 AM, Dmitry Vyukov wrote: > >> net/ipv4/ipmr.c:136 RCU-list traversed in non-reader section!! > > https://lore.kernel.org/netdev/20200222063835.14328-2-frextr...@gmail.com/ > > Never been picked up for a

[PATCH 2/2] kernel: sched: fair: Changes data type from int to u64

2019-09-25 Thread Madhuparna Bhowmik
This patch changes the data type of variable overrun in the function sched_cfs_period_timer() from int to u64 as the return type of the function hrtimer_forward_now() is u64. Signed-off-by: Madhuparna Bhowmik --- kernel/sched/fair.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff

[PATCH] fs: direct-io: Fixed a Documentation build warn

2019-09-24 Thread Madhuparna Bhowmik
warning: Excess function parameter 'offset' description in 'dio_complete'. This patch removes offset from the list of arguments from the function header as it not an argument to the function. Adds the description about offset within the code. Signed-off-by: Madhuparna Bho