Re: [dpdk-dev] [PATCH] vfio: fix interrupts race condition

2019-07-15 Thread Hyong Youb Kim (hyonkim)
> -Original Message- > From: Jerin Jacob Kollanukkaran > Sent: Monday, July 15, 2019 2:35 PM [...] > Subject: RE: [dpdk-dev] [PATCH] vfio: fix interrupts race condition > > > > > > > > > This is a real bug which should be fixed in this release. >

Re: [dpdk-dev] [PATCH] vfio: fix interrupts race condition

2019-07-14 Thread Jerin Jacob Kollanukkaran
> > > > > > This is a real bug which should be fixed in this release. > > > As the patch is quite big and needs a strong validation, I prefer > > > merging it quickly to give a lot of time before releasing 19.08-rc2. > > > The maintainers of all concerned PMDs are Cc. > > > Please make sure the int

Re: [dpdk-dev] [PATCH] vfio: fix interrupts race condition

2019-07-14 Thread Thomas Monjalon
14/07/2019 07:10, Hyong Youb Kim (hyonkim): > > -Original Message- > > From: Thomas Monjalon > > Sent: Thursday, July 11, 2019 6:21 AM > [...] > > Subject: Re: [dpdk-dev] [PATCH] vfio: fix interrupts race condition > > > > 10/07/2019 14:33, David Ma

Re: [dpdk-dev] [PATCH] vfio: fix interrupts race condition

2019-07-13 Thread Hyong Youb Kim (hyonkim)
> -Original Message- > From: Thomas Monjalon > Sent: Thursday, July 11, 2019 6:21 AM [...] > Subject: Re: [dpdk-dev] [PATCH] vfio: fix interrupts race condition > > 10/07/2019 14:33, David Marchand: > > Populating the eventfd in rte_intr_enable in each reques

Re: [dpdk-dev] [PATCH] vfio: fix interrupts race condition

2019-07-10 Thread Thomas Monjalon
10/07/2019 14:33, David Marchand: > Populating the eventfd in rte_intr_enable in each request to vfio > triggers a reconfiguration of the interrupt handler on the kernel side. > The problem is that rte_intr_enable is often used to re-enable masked > interrupts from drivers interrupt handlers. > >

[dpdk-dev] [PATCH] vfio: fix interrupts race condition

2019-07-10 Thread David Marchand
Populating the eventfd in rte_intr_enable in each request to vfio triggers a reconfiguration of the interrupt handler on the kernel side. The problem is that rte_intr_enable is often used to re-enable masked interrupts from drivers interrupt handlers. This reconfiguration leaves a window during wh