From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH] mem: Fix anonymous mapping on Power9. Date: Thu, 15 Nov 2018 19:17:14 +0100 Message-ID: <10862745.IQX0Zpk1jJ@xps> References: <20181114204051.9580-1-dwilder@us.ibm.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev@dpdk.org, stable@dpdk.org, pradeep@us.ibm.com, chaozhu@linux.vnet.ibm.com, techboard@dpdk.org To: David Wilder Return-path: In-Reply-To: <20181114204051.9580-1-dwilder@us.ibm.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" 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