From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by dpdk.org (Postfix) with ESMTP id B9160B507 for ; Sun, 15 Feb 2015 02:04:26 +0100 (CET) Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by orsmga101.jf.intel.com with ESMTP; 14 Feb 2015 17:04:25 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.09,578,1418112000"; d="scan'208";a="454773568" Received: from shvmail01.sh.intel.com ([10.239.29.42]) by FMSMGA003.fm.intel.com with ESMTP; 14 Feb 2015 16:49:32 -0800 Received: from shecgisg003.sh.intel.com (shecgisg003.sh.intel.com [10.239.29.90]) by shvmail01.sh.intel.com with ESMTP id t1F14Luh018276; Sun, 15 Feb 2015 09:04:21 +0800 Received: from shecgisg003.sh.intel.com (localhost [127.0.0.1]) by shecgisg003.sh.intel.com (8.13.6/8.13.6/SuSE Linux 0.8) with ESMTP id t1F14JXe012845; Sun, 15 Feb 2015 09:04:21 +0800 Received: (from tanghaix@localhost) by shecgisg003.sh.intel.com (8.13.6/8.13.6/Submit) id t1F14JG5012841; Sun, 15 Feb 2015 09:04:19 +0800 From: Haifeng Tang To: dts@dpdk.org Date: Sun, 15 Feb 2015 09:04:16 +0800 Message-Id: <1423962256-12810-1-git-send-email-haifengx.tang@intel.com> X-Mailer: git-send-email 1.7.4.1 Subject: [dts] [PATCH V2] add x86_x32 abi target support X-BeenThere: dts@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: test suite reviews and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 15 Feb 2015 01:04:27 -0000 From: tanghaix Support 32bit applications in 64bit mixed environments. x32 ABI (x32 application binary interface) is an application binary interface project for Linux kernel that allows programs to take advantage of the benefits of x86-64 (larger number of CPU registers, better floating-point performance, faster position-independent code shared libraries, function parameters passed via registers, faster syscall instruction) while using 32-bit pointers and thus avoiding the overhead of 64-bit pointers. Signed-off-by: tanghaix --- framework/dut.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/framework/dut.py b/framework/dut.py index 9879335..1db6722 100644 --- a/framework/dut.py +++ b/framework/dut.py @@ -195,6 +195,9 @@ class Dut(Crb): arch_huge_pages = hugepages if hugepages > 0 else 1024 elif self.architecture == "i686": arch_huge_pages = hugepages if hugepages > 0 else 512 + #set huge pagesize for x86_x32 abi target + elif self.architecture == "x86_x32": + arch_huge_pages = hugepages if hugepages > 0 else 256 total_huge_pages = self.get_total_huge_pages() -- 1.7.9.5