From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH] vfio: fix device hotplug when several devices per group Date: Fri, 13 Apr 2018 01:14:35 +0200 Message-ID: <1682397.lqSkyE06pr@xps> References: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev@dpdk.org, gowrishankar.m@linux.vnet.ibm.com, alejandro.lucero@netronome.com, stable@dpdk.org To: Anatoly Burakov Return-path: In-Reply-To: List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 10/04/2018 12:23, Anatoly Burakov: > We only need to perform DMA mapping for first device in first group. > At the time of mapping, we haven't yet added the device into the group, > so the count is expected to be zero. > > Fixes: 810bfa64c673 ("vfio: fix index for tracking devices in a group") > Fixes: a9c349e3a100 ("vfio: fix device unplug when several devices per group") > Fixes: 94c0776b1bad ("vfio: support hotplug") > Cc: alejandro.lucero@netronome.com > Cc: stable@dpdk.org > > Signed-off-by: Anatoly Burakov Applied, thanks