From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by dpdk.org (Postfix) with ESMTP id D92B8B511 for ; Sun, 15 Feb 2015 02:39:50 +0100 (CET) Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by orsmga102.jf.intel.com with ESMTP; 14 Feb 2015 17:35:53 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.09,578,1418112000"; d="scan'208";a="454780661" Received: from kmsmsx153.gar.corp.intel.com ([172.21.73.88]) by FMSMGA003.fm.intel.com with ESMTP; 14 Feb 2015 17:24:57 -0800 Received: from shsmsx151.ccr.corp.intel.com (10.239.6.50) by KMSMSX153.gar.corp.intel.com (172.21.73.88) with Microsoft SMTP Server (TLS) id 14.3.195.1; Sun, 15 Feb 2015 09:39:47 +0800 Received: from shsmsx103.ccr.corp.intel.com ([169.254.4.197]) by SHSMSX151.ccr.corp.intel.com ([169.254.3.209]) with mapi id 14.03.0195.001; Sun, 15 Feb 2015 09:39:46 +0800 From: "Liu, Yong" To: "Tang, HaifengX" , "dts@dpdk.org" Thread-Topic: [dts] [PATCH V2] add x86_x32 abi target support Thread-Index: AQHQSLtpkCwl6oJ38kygKGYpZUKpQpzw7qGA Date: Sun, 15 Feb 2015 01:39:45 +0000 Message-ID: <86228AFD5BCD8E4EBFD2B90117B5E81E10D7CA1B@SHSMSX103.ccr.corp.intel.com> References: <1423962256-12810-1-git-send-email-haifengx.tang@intel.com> In-Reply-To: <1423962256-12810-1-git-send-email-haifengx.tang@intel.com> Accept-Language: zh-CN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.239.127.40] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [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:39:51 -0000 Applied. Please make sure every line of comments log less than 79 character= s. > -----Original Message----- > From: dts [mailto:dts-bounces@dpdk.org] On Behalf Of Haifeng Tang > Sent: Sunday, February 15, 2015 9:04 AM > To: dts@dpdk.org > Subject: [dts] [PATCH V2] add x86_x32 abi target support >=20 > From: tanghaix >=20 > 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 o= f > 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. >=20 > Signed-off-by: tanghaix > --- > framework/dut.py | 3 +++ > 1 file changed, 3 insertions(+) >=20 > 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 =3D hugepages if hugepages > 0 else 1024 > elif self.architecture =3D=3D "i686": > arch_huge_pages =3D hugepages if hugepages > 0 else 512 > + #set huge pagesize for x86_x32 abi target > + elif self.architecture =3D=3D "x86_x32": > + arch_huge_pages =3D hugepages if hugepages > 0 else 256 >=20 > total_huge_pages =3D self.get_total_huge_pages() >=20 > -- > 1.7.9.5