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 CCD5F25B3 for ; Thu, 25 Oct 2018 00:32:56 +0200 (CEST) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 5A16421FBA; Wed, 24 Oct 2018 18:32:56 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute1.internal (MEProxy); Wed, 24 Oct 2018 18:32:56 -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=cub/PLiGHtchZUKmvqEzTJI+G8THsUClynhrO6MOChI=; b=jngl1ABmaHyc QbDyLnN7kSa8mtVPUfvuaHSGFmFr27zCr/Dg0TTAyly95neMmbJqSqN+6HONAS7b 5CeqErL1MtGNBiAviR+CLhVuL7DKgBiySfuLkM4GqNmCHnxFkXOgRZebI96yjL3W SAjezqDjf4S9IetEqBhqooobGKkJAV4= 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=cub/PLiGHtchZUKmvqEzTJI+G8THsUClynhrO6MOC hI=; b=sNBPDzq4k2m6Bzo+qJXh6rJtomx0JtgY8mfFTMu4zM2pHiNg/yB0+OjiG C5UddfFoW6auiNcc/vV0b5WObyqkVHxPd6n1yoACvo6ubGO1UtwyZdVrV8AF0t1p re9SkO0iDW3liiFqwwlLEZIwCxo4uFi/moUXa7oFScGgg5d85w4L6gZjqXsrjF0M wN7QbIN4BfwcLbWyuBO3igd3uULC3ZWjVPMR2CUvlE+BLRCo4UZY2E/HiSFsbzYl EgwlTIZ3xaKy7jBb1UyXHzY4Bi98yaU8lm63Hi+bs4h3lY8+PAq2NlXtCLKL9wwR xFpemRgJGBToa44xKZqZ5aIwzqaxQ== 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 32540102DD; Wed, 24 Oct 2018 18:32:55 -0400 (EDT) From: Thomas Monjalon To: Shreyansh Jain Cc: dev@dpdk.org Date: Thu, 25 Oct 2018 00:32:57 +0200 Message-ID: <3132458.qs6ExD1oQb@xps> In-Reply-To: <20181017090517.14530-1-shreyansh.jain@nxp.com> References: <20181017090517.14530-1-shreyansh.jain@nxp.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH] common/dpaax: fix uninitialized table case 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, 24 Oct 2018 22:32:57 -0000 17/10/2018 11:05, Shreyansh Jain: > There is a possibility that either because of missing device tree entry > or lack of memory, the PA-VA table might not be available. But, the > table being transparent, the callers don't necessary check for its > initialization state. This is explicitly done during update and > translation call. > > Fixes: 2f3d633aa593 ("common/dpaax: add library for PA/VA translation table") > > Signed-off-by: Shreyansh Jain Applied, thanks