From mboxrd@z Thu Jan 1 00:00:00 1970 From: "He, Shaopeng" Subject: Re: [PATCH V5 3/7] bus: add sigbus handler Date: Fri, 6 Jul 2018 15:17:58 +0000 Message-ID: <7A795063ED59344FA044FE7D577A3D9878C700@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-4-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 mga03.intel.com (mga03.intel.com [134.134.136.65]) by dpdk.org (Postfix) with ESMTP id 201841BE5D for ; Fri, 6 Jul 2018 17:18:02 +0200 (CEST) In-Reply-To: <1530776333-30318-4-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 >=20 > When device be hotplug out, if data path still read/write device, the > sigbus error will occur, this error need to be handled. So a handler > need to be here to capture the signal and handle it correspondingly. >=20 > This patch introduces a bus ops to handle sigbus error, it is a bus > specific behavior,so that each kind of bus can implement its own logic > case by case. >=20 > Signed-off-by: Jeff Guo Acked-by: Shaopeng He