From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 34041A0487 for ; Thu, 4 Jul 2019 18:02:03 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 0A44C374C; Thu, 4 Jul 2019 18:02:02 +0200 (CEST) Received: from out2-smtp.messagingengine.com (out2-smtp.messagingengine.com [66.111.4.26]) by dpdk.org (Postfix) with ESMTP id 879B32BE3 for ; Thu, 4 Jul 2019 18:02:00 +0200 (CEST) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 0F20E21873; Thu, 4 Jul 2019 12:02:00 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute1.internal (MEProxy); Thu, 04 Jul 2019 12:02:00 -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=L9PDtWitgi7rr53nPlKSny3gyo/bUJTCERigAVznFeY=; b=IiCBPF63iU7M q9tUgAhTuQTzK6sIFHxtVZWZSOAThdZ35pm5EzFvbRa03ujascUSCVix9dT3BZwm 2pGe8ZUagBjGuzGSdOnA7DecQM8JQiXgmOjG6vFE9KbBediZGp9Tz0arky0rRtrx lc9RTp+peXIvpq7eq/Ufob5FlOq/veA= 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=fm3; bh=L9PDtWitgi7rr53nPlKSny3gyo/bUJTCERigAVznF eY=; b=EGWQYw0wi7gSbyU40gbdVR4Fay5FdXsMzk8WkiwjxC+yhmqCG3htR3nMv Arxx4MSCODNYCEAHLe2qAz9DBy/NV07hG2sTkpCLMF+nwlSuf4IHLwTzwvqG2yDy ehDGJkrO0pceHjkmrbL4FKUCLyb5Z9Q0EqcVjdOeQOfqEgvDFJIAzvX2p+cHCCSG GqOyLd+74fUH64eXH1XYWn8nrSmUrRP3FRSMO0jLgjezdlOAY4qkaqzMU/uayHOF sCAQ6fDTcNmnLTFRIUmZEJuTpUs7myKPfTv82c68fRljjIQ7LiCKTua66PgaUlPP kt9DPIYDRFCuoShPwKRTFdnVnV6dA== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduvddrfedvgdelkecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefhvffufffkjghfggfgtgesthfuredttddtvdenucfhrhhomhepvfhhohhmrghs ucfoohhnjhgrlhhonhcuoehthhhomhgrshesmhhonhhjrghlohhnrdhnvghtqeenucfkph epjeejrddufeegrddvtdefrddukeegnecurfgrrhgrmhepmhgrihhlfhhrohhmpehthhho mhgrshesmhhonhhjrghlohhnrdhnvghtnecuvehluhhsthgvrhfuihiivgeptd 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 BC90480064; Thu, 4 Jul 2019 12:01:58 -0400 (EDT) From: Thomas Monjalon To: David Christensen Cc: dev@dpdk.org, Takeshi Yoshimura , dwilder@us.ibm.com Date: Thu, 04 Jul 2019 18:01:57 +0200 Message-ID: <4027907.MzmCEAoYMI@xps> In-Reply-To: <20190607022830.2044-1-tyos@jp.ibm.com> References: <20190607022830.2044-1-tyos@jp.ibm.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH] vfio: retry creating sPAPR DMA window 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: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Please, any review or ack for this patch? 07/06/2019 04:28, Takeshi Yoshimura: > sPAPR allows only page_shift from VFIO_IOMMU_SPAPR_TCE_GET_INFO ioctl. > However, Linux 4.17 or before returns incorrect page_shift for Power9. > I added the code for retrying creation of sPAPR DMA window. > > Signed-off-by: Takeshi Yoshimura > --- > lib/librte_eal/linux/eal/eal_vfio.c | 26 +++++++++++++++++++++++--- > 1 file changed, 23 insertions(+), 3 deletions(-)