From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from out3-smtp.messagingengine.com (out3-smtp.messagingengine.com [66.111.4.27]) by dpdk.org (Postfix) with ESMTP id 7E4111C14B; Fri, 13 Apr 2018 01:14:38 +0200 (CEST) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id F282A21609; Thu, 12 Apr 2018 19:14:37 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute1.internal (MEProxy); Thu, 12 Apr 2018 19:14:38 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc; s=mesmtp; bh=4/RSGR5i+m1UsgWS5v0hrNXHRJ MsQOREufb/a7cbS3o=; b=LDhaTVWx/FjSvMc4okIR+KTzRbJAbtYPTM3Mpl1u4I vn4SnrFzygKi9vcBi2Owd1Q4n878iNdy6k2kQ4TdgBrrCVaWB8nBPE9uFbCdTHWH uRR0kS7ZYfyaV1+bZT5RniRtRb1IDFtqDQ2M1oaur7RTYZIm2cwX0e719S/WsHDh A= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; bh=4/RSGR 5i+m1UsgWS5v0hrNXHRJMsQOREufb/a7cbS3o=; b=iJKFhIF+pzRUrGslaM6u60 tNGpouiJG/RkWmw38DnPabWzfEDYIcQRbbWqpvTKaWJ4eMyyIyrJbaOP5sixgLI/ tEvtQV/XXoc0E5ickrTUJg69EOER5bDhii8hm0gpCNC8pZ1Lyl60mO6kOgZbIrgs a4nqmzbKbl61TkPmTwnVwAzoB3QtiLSwYcAedXZn7bVr8ul+fu54EhA6behzPJgy jTXRZtB/T4gdj3jxP0tp8HUP6PkxB7/lOobHshdhojkKSDQU02n+hMlcY4Cs6YUA ZDfpW3JzM4s/AdUH61vVv9wy2PZdFrqqfmZEVPDCcholV3rMQQQL9tlXm6do1tFw == X-ME-Sender: Received: from xps.localnet (184.203.134.77.rev.sfr.net [77.134.203.184]) by mail.messagingengine.com (Postfix) with ESMTPA id 0BB98E4430; Thu, 12 Apr 2018 19:14:36 -0400 (EDT) From: Thomas Monjalon To: Anatoly Burakov Cc: dev@dpdk.org, gowrishankar.m@linux.vnet.ibm.com, alejandro.lucero@netronome.com, stable@dpdk.org Date: Fri, 13 Apr 2018 01:14:35 +0200 Message-ID: <1682397.lqSkyE06pr@xps> In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-stable] [dpdk-dev] [PATCH] vfio: fix device hotplug when several devices per group X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Apr 2018 23:14:38 -0000 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