From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH] bus/dpaa: do nothing if bus not present Date: Wed, 19 Dec 2018 03:08:13 +0100 Message-ID: <2349223.WMo1RGl8co@xps> References: <20181205220230.5640-1-stephen@networkplumber.org> <0ca0cba9-5d3a-7b1f-e767-4be589a1a777@nxp.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev@dpdk.org, Shreyansh Jain , Hemant Agrawal , stable@dpdk.org To: Stephen Hemminger Return-path: In-Reply-To: <0ca0cba9-5d3a-7b1f-e767-4be589a1a777@nxp.com> List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 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