From mboxrd@z Thu Jan 1 00:00:00 1970 From: "He, Shaopeng" Subject: Re: [PATCH V5 6/7] eal: add failure handle mechanism for hotplug Date: Fri, 6 Jul 2018 15:22:22 +0000 Message-ID: <7A795063ED59344FA044FE7D577A3D9878C758@SHSMSX101.ccr.corp.intel.com> References: <1498711073-42917-1-git-send-email-jia.guo@intel.com> <1530776333-30318-1-git-send-email-jia.guo@intel.com> <1530776333-30318-7-git-send-email-jia.guo@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Cc: "jblunck@infradead.org" , "shreyansh.jain@nxp.com" , "dev@dpdk.org" , "Zhang, Helin" To: "Guo, Jia" , "stephen@networkplumber.org" , "Richardson, Bruce" , "Yigit, Ferruh" , "Ananyev, Konstantin" , "gaetan.rivet@6wind.com" , "Wu, Jingjing" , "thomas@monjalon.net" , "motih@mellanox.com" , "matan@mellanox.com" , "Van Haaren, Harry" , "Zhang, Qi Z" , "Iremonger, Bernard" Return-path: Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by dpdk.org (Postfix) with ESMTP id C9C6A1BE76 for ; Fri, 6 Jul 2018 17:22:32 +0200 (CEST) In-Reply-To: <1530776333-30318-7-git-send-email-jia.guo@intel.com> Content-Language: en-US List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" > -----Original Message----- > From: Guo, Jia > Sent: Thursday, July 5, 2018 3:39 PM >=20 > This patch introduces a failure handler mechanism to handle device > hot plug removal event. >=20 > First register sigbus handler, once sigbus error be captured, will > check the failure address and accordingly remap the invalid memory > for the corresponding device. Bese on this mechanism, it could " Besed on this mechanism "? > guaranty the application not to be crash when hotplug out device. >=20 > Signed-off-by: Jeff Guo Acked-by: Shaopeng He