From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH] eal/linux: fix phys addresses not avaialbe for Xen dom0 Date: Wed, 10 May 2017 14:58:21 +0200 Message-ID: <2130104.z3ngCaQyR3@xps> References: <1494000613-3709-1-git-send-email-jianfeng.tan@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev@dpdk.org, sergio.gonzalez.monroy@intel.com, benjamin.walker@intel.com To: Jianfeng Tan 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) In-Reply-To: <1494000613-3709-1-git-send-email-jianfeng.tan@intel.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" 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)?