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 17F6A4C9F; Mon, 22 Oct 2018 09:02:34 +0200 (CEST) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id AAFCC22383; Mon, 22 Oct 2018 03:02:33 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute1.internal (MEProxy); Mon, 22 Oct 2018 03:02:33 -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=QSRc0jfvtqOrTAetLkXDE4UNG4N+V3uMG8NuyFRQZfI=; b=Wx/SvbtWFkue bUeQw9dHp/2Lw12xBIjJUsJWO7PXhQb89pU55WBqdFwXrpKUxXVGUKH+muHK8KQP BEbNPGCAfdx63E0P2LmKdpf+XjZGv/QuqgiokVfFAJuVcCvcpIeMrImM1yU9ZxME 1SAsJs5XVN/hciU04PZlY3JloHHwypI= 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=QSRc0jfvtqOrTAetLkXDE4UNG4N+V3uMG8NuyFRQZ fI=; b=pKq+3WAyqHpUMPUXx/9yqZE0lzLVZdlv2OpvOlv7BuNjhCmp7AHySware X3ajq4kiWZ5q4tpFRv1hFyZWC+nrPN9sp1kH9PcRK5ARdkK8pBlu+9OhgZlBoXH5 YPYpKN2m3PizJs8ml+DU6A5LJ5OqLZVbA2UV0Eq8bAoGQ/g8SnC/GSwASpge7Vuc xwU92m9nFD1wuRjEBh4PtmJRXJF+2A0UcO4iN7avTf7zUrzqSdkxgS4J1qsKr8fe vjhoTsngI5ngh380JjKxksaRrMeDlDYwUkgqbTZdynNyHDs95dbqC6eqBL1RGcDl PnLU0GO92NNL5hx3iGXy66xlBNWJg== 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 B3C8E102EA; Mon, 22 Oct 2018 03:02:32 -0400 (EDT) From: Thomas Monjalon To: Qi Zhang Cc: ferruh.yigit@intel.com, dev@dpdk.org, stable@dpdk.org Date: Mon, 22 Oct 2018 09:02:34 +0200 Message-ID: <3138345.sAJUuLGI56@xps> In-Reply-To: <20181022054711.38683-1-qi.z.zhang@intel.com> References: <20181022054711.38683-1-qi.z.zhang@intel.com> 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 07:02:34 -0000 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