From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from out5-smtp.messagingengine.com (out5-smtp.messagingengine.com [66.111.4.29]) by dpdk.org (Postfix) with ESMTP id 7E6F991; Thu, 15 Nov 2018 19:17:17 +0100 (CET) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 0EEFD222B2; Thu, 15 Nov 2018 13:17:17 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute1.internal (MEProxy); Thu, 15 Nov 2018 13:17:17 -0500 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=6629t98o5KlhPD6fWbTmqNhr0ndcLgWKLBVXy49X9gQ=; b=fE52hUBmfAME 6a18qV411u17KaYXatF4ZM2VUpP7tvxukXJhYmFg5/sckLR3YBK1ouOzYKdx//Q4 AxgqNUBHeWdflpoD96vWnRVdrb9dPg00XR/sAzYZj3YtyDbrWxA1TeAY6gtImQzm rGsi5SR7YnyMwfkG1BaaaQcqJLwwXbU= 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=6629t98o5KlhPD6fWbTmqNhr0ndcLgWKLBVXy49X9 gQ=; b=K527eQdpCCjZHBBGOcIPnWKCw1Y28GXbDWA5og6mn2U3LA40vgCTq7cnr pcrXtJaKw8E0YcprmGrBPg0Vyqwy3mvBSWJfuAfbIS67Mb+E7lIsJllwGrE5a+i9 Zz4i6MocZ7yvXU4gm/HaejLo3UZHOi2JDFObg7470pIlElrrDA2ooBgLhNcdaaGL dfLXzO8NoSjplB+l4z+ji3It+jDJZ7Qu08QHOOKX1nHB9QhVoGxtp3hpIWk1N6Bl mE9iMH8yb+4A0OT6eFRwYFedVNJlpgIOUjzVSzMPb9df16nomBoVbCDuwkdHrYJT 4hbsz5s2Iet6ZewaHGtVkdXCrWeDA== 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 9E7011034F; Thu, 15 Nov 2018 13:17:15 -0500 (EST) From: Thomas Monjalon To: David Wilder Cc: dev@dpdk.org, stable@dpdk.org, pradeep@us.ibm.com, chaozhu@linux.vnet.ibm.com, techboard@dpdk.org Date: Thu, 15 Nov 2018 19:17:14 +0100 Message-ID: <10862745.IQX0Zpk1jJ@xps> In-Reply-To: <20181114204051.9580-1-dwilder@us.ibm.com> References: <20181114204051.9580-1-dwilder@us.ibm.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH] mem: Fix anonymous mapping on Power9. 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: Thu, 15 Nov 2018 18:17:17 -0000 Hi, 14/11/2018 21:40, David Wilder: > Removed the use of MAP_HUGETLB for anonymous mapping on ppc64. The > MAP_HUGETLB had previously been added to workaround issues on IBM Power8 > systems when mapping /dev/zero (see: commit > 284ae3e9ff9a92575c28c858efd2c85c8de6d440). In the current code the > MAP_HUGETLB flag will cause the anonymous mapping to fail on Power9. > Note, Power8 is currently failing to correctly mmap Hugepages, with and > without this change. > > Signed-off-by: David Wilder > Reviewed-by: Pradeep Satyanarayana > --- > This patch corrects problems with virtual address mapping on IBM Power9 system. > I have tested with primary and secondary process tests. IBM power8 systems > continue to fail with and without this change. I am perusing a fix for power8 > and will post a patch when its working. As Power9 is our primary platform I > wanted to get this patch out. I will follow up with a power8 fix when its ready. We need to document that Power8 is not supported in DPDK 18.11. Please send a patch to explain it in "known issues": http://doc.dpdk.org/guides/rel_notes/release_18_11.html#known-issues We may also note that IBM POWER support is in alpha stage: http://git.dpdk.org/dpdk/tree/MAINTAINERS#n236 Thanks in advance