test suite reviews and discussions
 help / color / mirror / Atom feed
* [dts] [PATCH V2] add x86_x32 abi target support
@ 2015-02-15  1:04 Haifeng Tang
  2015-02-15  1:39 ` Liu, Yong
  0 siblings, 1 reply; 2+ messages in thread
From: Haifeng Tang @ 2015-02-15  1:04 UTC (permalink / raw)
  To: dts

From: tanghaix <haifengx.tang@intel.com>

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 <haifengx.tang@intel.com>
---
 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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [dts] [PATCH V2] add x86_x32 abi target support
  2015-02-15  1:04 [dts] [PATCH V2] add x86_x32 abi target support Haifeng Tang
@ 2015-02-15  1:39 ` Liu, Yong
  0 siblings, 0 replies; 2+ messages in thread
From: Liu, Yong @ 2015-02-15  1:39 UTC (permalink / raw)
  To: Tang, HaifengX, dts

Applied. Please make sure every line of comments log less than 79 characters.

> -----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
> 
> From: tanghaix <haifengx.tang@intel.com>
> 
> 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 <haifengx.tang@intel.com>
> ---
>  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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-02-15  1:39 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-02-15  1:04 [dts] [PATCH V2] add x86_x32 abi target support Haifeng Tang
2015-02-15  1:39 ` Liu, Yong

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).