From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from out4-smtp.messagingengine.com (out4-smtp.messagingengine.com [66.111.4.28]) by dpdk.org (Postfix) with ESMTP id F0202234 for ; Wed, 10 May 2017 14:58:22 +0200 (CEST) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 869112084A; Wed, 10 May 2017 08:58:22 -0400 (EDT) Received: from frontend2 ([10.202.2.161]) by compute1.internal (MEProxy); Wed, 10 May 2017 08:58:22 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc:x-sasl-enc; s=mesmtp; bh=/FIUWNEfldechgx kDgSgh9vES78wky7HAp4WDzoMkKE=; b=Nd4kIp6E0t8jGXx6p6iqbCAPgj7VZwo sx6O/Ex2V1L0oGJMiq4dFDKeumJqTnTDuXIcn0kTd61Y+LZqWYpbkVxUNSfM0L1w O+auqInkGkVSRNSMtvGqtn5AwMnl+geo902/WXlMvGnkNMCsv6HuSag6uDOM6aKS iE4q5us4copU= 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-sender:x-me-sender:x-sasl-enc:x-sasl-enc; s= fm1; bh=/FIUWNEfldechgxkDgSgh9vES78wky7HAp4WDzoMkKE=; b=Bzlqt5lz 72bEZFi4YBYmPuv3Wk1hQ0i8CW4xC/JYirRWn/tSb5U86ISUXjSDNtpoOLF8odSj 5tz41YyHHlaeAf025gJqTiSphnCivsCexLStIEEcgCmGAMMaoNlN932ADMh5lxEZ Gd4DT9OHa48JX/0v+THzNFzmpfqosaHkolxKxaZtlC/0Mbm/M+dXRSpTVj4JlXlb XuThw3J9GmLWCoOaiD4tr/2qrSQs4Cjx3/UxsBeDDiLKNbJ8a1PoUEg3X0il6Y4i nCfZFMtIWGm9wnk7kKPsl0vxDBKn+cGm9iPYLCExVoKRzRSyzJxHvzMnUWwpl2YN eUPlyVeF5sHPmA== X-ME-Sender: X-Sasl-enc: oZOHZI/Un29XdKgiNKD/yPVwAuV/+u0f93occSshpIxv 1494421102 Received: from xps.localnet (184.203.134.77.rev.sfr.net [77.134.203.184]) by mail.messagingengine.com (Postfix) with ESMTPA id 43DC824996; Wed, 10 May 2017 08:58:22 -0400 (EDT) From: Thomas Monjalon To: Jianfeng Tan Cc: dev@dpdk.org, sergio.gonzalez.monroy@intel.com, benjamin.walker@intel.com Date: Wed, 10 May 2017 14:58:21 +0200 Message-ID: <2130104.z3ngCaQyR3@xps> In-Reply-To: <1494000613-3709-1-git-send-email-jianfeng.tan@intel.com> References: <1494000613-3709-1-git-send-email-jianfeng.tan@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH] eal/linux: fix phys addresses not avaialbe for Xen dom0 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, 10 May 2017 12:58:23 -0000 05/05/2017 18:10, Jianfeng Tan: > When physical NICs are binded to igb_uio/uio-pci-generic, they cannot > be used in DPDK app in Xen dom0. > > Due to (1) a restriction that phys addresses should be availabe is added > by commit cdc242f260e7 ("eal/linux: support running as unprivileged user"), > (2) and previous implementation of the test to check if phys addresses are > available (using a variable on the stack) just works for non-Xen > environment. Actually, for Xen dom0, the physical addresses are always > available if the memory is initialized successfully.. > > To fix it, we add an precheck to bypass the physical address availability > test. > > Fixes: cdc242f260e7 ("eal/linux: support running as unprivileged user") > > Signed-off-by: Jianfeng Tan Applied, thanks Is Xen dom0 working? Why is there no answer to my questions (in another thread)?