From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by dpdk.org (Postfix) with ESMTP id 8B6C891 for ; Tue, 20 Nov 2018 16:06:12 +0100 (CET) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by orsmga102.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 20 Nov 2018 07:06:11 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.56,257,1539673200"; d="scan'208";a="281530704" Received: from jeffguo-s2600wt2.sh.intel.com (HELO localhost.localdomain) ([10.67.110.10]) by fmsmga005.fm.intel.com with ESMTP; 20 Nov 2018 07:06:09 -0800 From: Jeff Guo To: marko.kovacevic@intel.com, john.mcnamara@intel.com, qi.z.zhang@intel.com, ferruh.yigit@intel.com, thomas@monjalon.net Cc: dev@dpdk.org, jia.guo@intel.com, helin.zhang@intel.com, konstantin.ananyev@intel.com, shaopeng.he@intel.com, stephen@networkplumber.org, bruce.richardson@intel.com, gaetan.rivet@6wind.com Date: Tue, 20 Nov 2018 23:09:31 +0800 Message-Id: <1542726571-121934-1-git-send-email-jia.guo@intel.com> X-Mailer: git-send-email 2.7.4 Subject: [dpdk-dev] [PATCH] doc: add known igb_uio device 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: Tue, 20 Nov 2018 15:06:13 -0000 When device has been bound to igb_uio driver and application is running, hot-unplugging the device may cause kernel crash. Signed-off-by: Jeff Guo --- doc/guides/rel_notes/known_issues.rst | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/doc/guides/rel_notes/known_issues.rst b/doc/guides/rel_notes/known_issues.rst index 95e4ce6..dfe0565 100644 --- a/doc/guides/rel_notes/known_issues.rst +++ b/doc/guides/rel_notes/known_issues.rst @@ -759,3 +759,24 @@ Netvsc driver and application restart **Driver/Module**: ``uio_hv_generic`` module. + + +kernel crash when hot-unplug igb_uio device while DPDK application is running +----------------------------------------------------------------------------- + +**Description**: + When device has been bound to igb_uio driver and application is running, hot-unplugging + the device may cause kernel crash. + +**Reason**: + When device is hot-unplugged, igb_uio driver will be removed which will destroy uio resources. + Later trying to access any uio resource will cause kernel crash. + +**Resolution/Workaround**: + If using DPDK for PCI HW hot-unplug, prefer to bind device with VFIO instead of IGB_UIO. + +**Affected Environment/Platform**: + ALL. + +**Driver/Module**: + ``igb_uio`` module. -- 2.7.4