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 5363B324D; Wed, 27 Mar 2019 14:55:51 +0100 (CET) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id E24C8226C0; Wed, 27 Mar 2019 09:55:50 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute1.internal (MEProxy); Wed, 27 Mar 2019 09:55:50 -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=zz9SyG82JKeemL61QWnGC8UQ45M9U2kU5ogxmzQqTqA=; b=bl6wDbpG9num TOFnznZeP9C45aWgmggCI49UW6O47+YMwin1sxqxhe1jQBZ/k2dImiPiByz0LmIw VSqTsTdu+GJkDf5hJsmqyw7mFCyN43XLVEyc1+CWLkcMQohbqrgOXAhApVTcj++6 aeWc9fRUYrALjFqtTIveKbFJHv5Par4= 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=fm2; bh=zz9SyG82JKeemL61QWnGC8UQ45M9U2kU5ogxmzQqT qA=; b=bqttbE3c0g+0Jz90qYMruKb+HBLRx4d+0E9GnB8qQUQYUaTOcfGC7ZzMu wZayanjx2o+P1UE4rVLBbFLQ2soxgScDbfa/Xzhpczz+VDm05pHQjV7QqWNebS6W qvxFviCBXl28wnAA1YXvnJ06/fC1W1X605IDs5q0+Gg5Pjdy91v+erQindnanu2x TCSMGZslOU3o5t/bDkj3k9qE49ZPtRKMufqZjik5qPK6X/J4NaQ6BkrEvGRB0Mab RWLwQxIIT2fI2PsTY/WVNLkOd45pXIWKMWhb6WGf9xVil48eqjJ3esjCcFNWXrRH hjgSXN8WQT2/cQniFsEGIhx0TRNgw== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedutddrkedvgdehfecutefuodetggdotefrodftvf 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 5221FE408B; Wed, 27 Mar 2019 09:55:49 -0400 (EDT) From: Thomas Monjalon To: Kevin Traynor Cc: dev@dpdk.org, Aaron Conole , anatoly.burakov@intel.com, stable@dpdk.org Date: Wed, 27 Mar 2019 14:55:48 +0100 Message-ID: <8402298.WZYNpv3VWo@xps> In-Reply-To: References: <20190214175656.14390-1-ktraynor@redhat.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH] eal/linux: fix log levels for unable to read pagemap 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, 27 Mar 2019 13:55:51 -0000 14/02/2019 20:31, Aaron Conole: > Kevin Traynor writes: > > > Commit cdc242f260e7 says: > > For Linux kernel 4.0 and newer, the ability to obtain > > physical page frame numbers for unprivileged users from > > /proc/self/pagemap was removed. Instead, when an IOMMU > > is present, simply choose our own DMA addresses instead. > > > > In this case the user still sees error messages, so adjust > > the log levels. Later, other checks will ensure that errors > > are logged in the appropriate cases. > > > > Fixes: cdc242f260e7 ("eal/linux: support running as unprivileged user") > > Cc: stable@dpdk.org > > > > Signed-off-by: Kevin Traynor > > --- > > Acked-by: Aaron Conole Applied, thanks From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by dpdk.space (Postfix) with ESMTP id 04289A05D3 for ; Wed, 27 Mar 2019 14:55:53 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 26F524F9B; Wed, 27 Mar 2019 14:55:52 +0100 (CET) Received: from out3-smtp.messagingengine.com (out3-smtp.messagingengine.com [66.111.4.27]) by dpdk.org (Postfix) with ESMTP id 5363B324D; Wed, 27 Mar 2019 14:55:51 +0100 (CET) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id E24C8226C0; Wed, 27 Mar 2019 09:55:50 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute1.internal (MEProxy); Wed, 27 Mar 2019 09:55:50 -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=zz9SyG82JKeemL61QWnGC8UQ45M9U2kU5ogxmzQqTqA=; b=bl6wDbpG9num TOFnznZeP9C45aWgmggCI49UW6O47+YMwin1sxqxhe1jQBZ/k2dImiPiByz0LmIw VSqTsTdu+GJkDf5hJsmqyw7mFCyN43XLVEyc1+CWLkcMQohbqrgOXAhApVTcj++6 aeWc9fRUYrALjFqtTIveKbFJHv5Par4= 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=fm2; bh=zz9SyG82JKeemL61QWnGC8UQ45M9U2kU5ogxmzQqT qA=; b=bqttbE3c0g+0Jz90qYMruKb+HBLRx4d+0E9GnB8qQUQYUaTOcfGC7ZzMu wZayanjx2o+P1UE4rVLBbFLQ2soxgScDbfa/Xzhpczz+VDm05pHQjV7QqWNebS6W qvxFviCBXl28wnAA1YXvnJ06/fC1W1X605IDs5q0+Gg5Pjdy91v+erQindnanu2x TCSMGZslOU3o5t/bDkj3k9qE49ZPtRKMufqZjik5qPK6X/J4NaQ6BkrEvGRB0Mab RWLwQxIIT2fI2PsTY/WVNLkOd45pXIWKMWhb6WGf9xVil48eqjJ3esjCcFNWXrRH hjgSXN8WQT2/cQniFsEGIhx0TRNgw== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedutddrkedvgdehfecutefuodetggdotefrodftvf 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 5221FE408B; Wed, 27 Mar 2019 09:55:49 -0400 (EDT) From: Thomas Monjalon To: Kevin Traynor Cc: dev@dpdk.org, Aaron Conole , anatoly.burakov@intel.com, stable@dpdk.org Date: Wed, 27 Mar 2019 14:55:48 +0100 Message-ID: <8402298.WZYNpv3VWo@xps> In-Reply-To: References: <20190214175656.14390-1-ktraynor@redhat.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="UTF-8" Subject: Re: [dpdk-dev] [PATCH] eal/linux: fix log levels for unable to read pagemap 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" Message-ID: <20190327135548.RqfsupmVIRn-fMiXGxroNbq5APX0yeFWVA_9CHo9cIw@z> 14/02/2019 20:31, Aaron Conole: > Kevin Traynor writes: > > > Commit cdc242f260e7 says: > > For Linux kernel 4.0 and newer, the ability to obtain > > physical page frame numbers for unprivileged users from > > /proc/self/pagemap was removed. Instead, when an IOMMU > > is present, simply choose our own DMA addresses instead. > > > > In this case the user still sees error messages, so adjust > > the log levels. Later, other checks will ensure that errors > > are logged in the appropriate cases. > > > > Fixes: cdc242f260e7 ("eal/linux: support running as unprivileged user") > > Cc: stable@dpdk.org > > > > Signed-off-by: Kevin Traynor > > --- > > Acked-by: Aaron Conole Applied, thanks