From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from out3-smtp.messagingengine.com (out3-smtp.messagingengine.com [66.111.4.27]) by dpdk.org (Postfix) with ESMTP id 299234C9F; Mon, 22 Oct 2018 12:36:31 +0200 (CEST) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id B16E322506; Mon, 22 Oct 2018 06:36:30 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute1.internal (MEProxy); Mon, 22 Oct 2018 06:36:30 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding:content-type; s=mesmtp; bh=Q8flw2d0LYPr3rx1RDcr4/ePT1BnCWnLJSm5/dAjPN4=; b=dGAx2XxCXRmJ y8wT141iNv/ly14of/HC1SAF3NwwLsiCXso+t1pmMrLuFnFyXmyu+XxE3/ZvRDXu 4drp65ZySo90BPWzv9JRKl1iABnp97rBwr7h1opZtbxbR6b8QNe5n1UOgrXwnvBN FMxiINXsd8CGYN8kQkAe16CFR1+PAuU= 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-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm1; bh=Q8flw2d0LYPr3rx1RDcr4/ePT1BnCWnLJSm5/dAjP N4=; b=tCjNiXFigOzlEpy6gTu35R+QeyvvzRpgVo5pS7vNfSR52aXP0ti6jUjPy FnHHI93fiRcOjq0c1G5SwTnUmNXSWQ4Kn2plvWtepL4QXKwiFiH2p9J5WlLjS2+m e7Y4xW9l8L/t6onZQStwySG7rZ5f65135KllInCPKrTFw4LmdU7x8wINnmQ3bDBA xaw9xs5C2dXZDqrNUk8BRfdp7UiGYH4AL6v1YTl1Ab0DM9HdweLGp9eV+MHVPscf +Hc35wD34Kfg8oaouT76F9wqyRgxqgb8DVBFjG56GPuF7AWKGgddEgHS1c3U9hdb f+VO22qcDeHThDew7mBIJ9q89TS+w== X-ME-Sender: X-ME-Proxy: Received: from xps.localnet (184.203.134.77.rev.sfr.net [77.134.203.184]) by mail.messagingengine.com (Postfix) with ESMTPA id AEA21E421C; Mon, 22 Oct 2018 06:36:29 -0400 (EDT) From: Thomas Monjalon To: Qi Zhang Cc: dev@dpdk.org, ferruh.yigit@intel.com, stable@dpdk.org Date: Mon, 22 Oct 2018 12:36:31 +0200 Message-ID: <7008803.XUUk6lJzsz@xps> In-Reply-To: <3138345.sAJUuLGI56@xps> References: <20181022054711.38683-1-qi.z.zhang@intel.com> <3138345.sAJUuLGI56@xps> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH] bus/vdev: fix uninitialized device bus 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: Mon, 22 Oct 2018 10:36:31 -0000 22/10/2018 09:02, Thomas Monjalon: > 22/10/2018 07:47, Qi Zhang: > > Device bus should be initialized after bus scan. > > While it does not happened when scan vdev from secondary process, > > that cause segment fault at rte_dev_probe when call dev->bus->xxx. > > > > Fixes: cdb068f031c6 ("bus/vdev: scan by multi-process channel") > > Cc: stable@dpdk.org > > > > Signed-off-by: Qi Zhang > > Acked-by: Thomas Monjalon Applied, thanks