From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from out1-smtp.messagingengine.com (out1-smtp.messagingengine.com [66.111.4.25]) by dpdk.org (Postfix) with ESMTP id 352AB1B5E4; Wed, 19 Dec 2018 03:08:17 +0100 (CET) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 38403221A6; Tue, 18 Dec 2018 21:08:16 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute1.internal (MEProxy); Tue, 18 Dec 2018 21:08:16 -0500 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=n9sD0/9N1POdY2OogpIWMT/WN7EP+61TP0UfYLyvshE=; b=qBDiT34650+v AqKfnma4p4fvVMlwDIAgXtmBNO044sNMimYBOw3DFUA3CMsqL8AFch0ZAHCwU93B MdUe+23Msx4Ej3s5iclbi2VOL4RzXWc4l3lz76kYL/eNeDCzDSHNbnYTipR7MafG p5JTu3l1XyfwQ3JGehZCFwOnit1qFXk= 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=n9sD0/9N1POdY2OogpIWMT/WN7EP+61TP0UfYLyvs hE=; b=TdaNTWixWK9DdoxUR5wMaHu2l633bDrbkJqlguDzMq1jPxlTwK8yo/JjZ N5h6vRGIFE8w+KtgYbNxHVbuOwIifOU/8NtpvSg+drrYGlR9ftwI9U2mP609kVwZ gv8tnoXexsd6STtpb+HzAf94nxDRdtpGtKuSkSo6woxNe9TSIQBrEsvQBnjKI7HH 5ls+dQBkTP2nSZwMOwiDQtw2/r3lhMcaMpuMJSUh5dc6d63EXmBPW0ZJkV1IWe2R mTe3eSshi82OfAl7OVkczO3akJeZnF+CsxY0GRBm0pZXTDkzzE64GoGBFe2UWS4Z K9JvRPrGfz9AF/tdvwwSN8iFC/DYQ== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedtkedrudeiledgudegucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfquhhtnecuuegrihhlohhuthemucef tddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenucfjughrpefhvffufffkjg hfggfgtgesthfuredttddtvdenucfhrhhomhepvfhhohhmrghsucfoohhnjhgrlhhonhcu oehthhhomhgrshesmhhonhhjrghlohhnrdhnvghtqeenucfkphepjeejrddufeegrddvtd efrddukeegnecurfgrrhgrmhepmhgrihhlfhhrohhmpehthhhomhgrshesmhhonhhjrghl ohhnrdhnvghtnecuvehluhhsthgvrhfuihiivgeptd 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 CBFA1100BA; Tue, 18 Dec 2018 21:08:14 -0500 (EST) From: Thomas Monjalon To: Stephen Hemminger Cc: dev@dpdk.org, Shreyansh Jain , Hemant Agrawal , stable@dpdk.org Date: Wed, 19 Dec 2018 03:08:13 +0100 Message-ID: <2349223.WMo1RGl8co@xps> In-Reply-To: <0ca0cba9-5d3a-7b1f-e767-4be589a1a777@nxp.com> References: <20181205220230.5640-1-stephen@networkplumber.org> <0ca0cba9-5d3a-7b1f-e767-4be589a1a777@nxp.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH] bus/dpaa: do nothing if bus not present 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: Wed, 19 Dec 2018 02:08:17 -0000 07/12/2018 07:45, Shreyansh Jain: > On Thursday 06 December 2018 03:32 AM, Stephen Hemminger wrote: > > The DPAA bus support code put out messages like: > > dpaax: read_memory_node(): Unable to glob device-tree memory node: (/proc/device-tree/memory[@0-9]*/reg)(3) > > dpaax: PA->VA translation not available; > > dpaax: Expect performance impact. > > > > These are unnecessary and likely to confuse the end user. > > Fix this by doing nothing if bus is empty. > > > > Fixes: 5a7dbb934d75 ("dpaa: enable dpaax library") > > Signed-off-by: Stephen Hemminger > > This is actually the right thing to do - No work should be done by probe > if scan didn't find anything. Thanks. > > Acked-by: Shreyansh Jain +Cc: stable@dpdk.org Applied, thanks