From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from out4-smtp.messagingengine.com (out4-smtp.messagingengine.com [66.111.4.28]) by dpdk.org (Postfix) with ESMTP id 6944F689E for ; Sun, 30 Apr 2017 19:29:51 +0200 (CEST) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id E571020964; Sun, 30 Apr 2017 13:29:50 -0400 (EDT) Received: from frontend1 ([10.202.2.160]) by compute1.internal (MEProxy); Sun, 30 Apr 2017 13:29:50 -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:x-sasl-enc; s=mesmtp; bh=EntFDLSv0GvoO0Q L9hUJeOxgq/J8G/4XNkpiNZeuUAo=; b=sXsnzlI2zwUnHBcUqRTGdeu7Ki9k1Ls zBMEjDsS2Ordh+Ul3QCrMFGoNFGkgJ8W1ExHm8tH2m4Lqs6FUhyAhqxKdqBPQkg0 CeW/LR67yJfnm94ein8csdoimgNzoZtpk5FHatUTdlxWFloG9ql3M8hMU/b57X1K OJz4KVHFucgc= 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:x-sasl-enc; s= fm1; bh=EntFDLSv0GvoO0QL9hUJeOxgq/J8G/4XNkpiNZeuUAo=; b=XnHi0hTM YrZovAm+oM8iPqGXZHv8tB4Rs/zmWdadeLQ7dSMaJNJoWwIeeDQ7KiDHWUUjsMbZ yhOme4DdCBPGG7p0h2MW1S/FHzYVjZHgUCcuHCYQcYRRuPRBZVxGQMlS+Hv05xuh ftG7cG9gB8hU/eTXQ/AvFMl9GNafp5OqDfeFmmA6cMMlVOKB9SJEMM31ui0ir0L6 b5qBTUOc7cw0fZuFt7K6IzVXVW1+tR/bH5cTty82mKGKklndOkmyzOxItSXWq35o ZD0uC6FphgfkAUp3ciZjLv9kPwbtnC+tuDEBGGk1HdjLRjQytn/3ofsmFZnDrMCn ZxtH4Zz97cliOg== X-ME-Sender: X-Sasl-enc: tSYaZBKC1nbFrNgHrlZyu8bbNdUFew9Wm7iIdgrgC5vK 1493573390 Received: from xps.localnet (245.114.118.80.rev.sfr.net [80.118.114.245]) by mail.messagingengine.com (Postfix) with ESMTPA id 922C57E32F; Sun, 30 Apr 2017 13:29:50 -0400 (EDT) From: Thomas Monjalon To: Alejandro Lucero Cc: dev@dpdk.org, "Burakov, Anatoly" Date: Sun, 30 Apr 2017 19:29:49 +0200 Message-ID: <1528500.cNnDXbOJL1@xps> In-Reply-To: References: <1493203787-25555-1-git-send-email-alejandro.lucero@netronome.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH] vfio: fix device unplug when several devices per vfio group X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 30 Apr 2017 17:29:51 -0000 28/04/2017 15:25, Burakov, Anatoly: > From: Alejandro Lucero [mailto:alejandro.lucero@netronome.com] > > VFIO allows a secure way of assigning devices to user space and those > > devices which can not be isolated from other ones are set in same VFIO > > group. Releasing or unplugging a device should be aware of remaining > > devices is the same group for avoiding to close such a group. > > > > Fixes: 94c0776b1bad ("vfio: support hotplug") > > > > Signed-off-by: Alejandro Lucero > > I have tested this on my setup on an old kernel with multiple attach/detaches, and it works (whereas it fails without this patch). > > Acked-by: Anatoly Burakov Applied, thanks