From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by dpdk.org (Postfix) with ESMTP id 935614C91 for ; Thu, 15 Nov 2018 10:14:49 +0100 (CET) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by orsmga106.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 15 Nov 2018 01:14:48 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.56,236,1539673200"; d="scan'208";a="108266225" Received: from jeffguo-s2600wt2.sh.intel.com (HELO localhost.localdomain) ([10.67.110.10]) by fmsmga001.fm.intel.com with ESMTP; 15 Nov 2018 01:14:45 -0800 From: Jeff Guo To: konstantin.ananyev@intel.com, anatoly.burakov@intel.com, thomas@monjalon.net, bernard.iremonger@intel.com, jingjing.wu@intel.com, wenzhuo.lu@intel.com Cc: ferruh.yigit@intel.com, dev@dpdk.org, jia.guo@intel.com, helin.zhang@intel.com, matan@mellanox.com, shaopeng.he@intel.com Date: Thu, 15 Nov 2018 17:18:20 +0800 Message-Id: <1542273504-127387-1-git-send-email-jia.guo@intel.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1541484436-91320-1-git-send-email-jia.guo@intel.com> References: <1541484436-91320-1-git-send-email-jia.guo@intel.com> Subject: [dpdk-dev] [PATCH V2 0/3] fix vfio hot-unplug issue 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: Thu, 15 Nov 2018 09:14:50 -0000 This patch set aim to fix some dead lock issue when device be hotplug-in after device be hot-unplugged for vfio. v2->v1: refine some document and show the limitation. Jeff Guo (3): eal: fix lock issue for hot-unplug vfio: fix to add handler lock for hot-unplug app/testpmd: fix callback issue for hot-unplug app/test-pmd/testpmd.c | 34 ++++++++++++++++++++++++++-------- drivers/bus/pci/linux/pci_vfio.c | 14 +++++++++++++- lib/librte_eal/linuxapp/eal/eal_dev.c | 12 ++++++++---- 3 files changed, 47 insertions(+), 13 deletions(-) -- 2.7.4