[dpdk-dev] [PATCH] mem: Fix anonymous mapping on Power9.

Thomas Monjalon thomas at monjalon.net
Thu Nov 15 19:17:14 CET 2018


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 <dwilder at us.ibm.com>
> Reviewed-by: Pradeep Satyanarayana <pradeep at us.ibm.com>
> ---
> 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




More information about the dev mailing list