Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753294AbcLKMI1 (ORCPT ); Sun, 11 Dec 2016 07:08:27 -0500 Received: from mail-by2nam01on0065.outbound.protection.outlook.com ([104.47.34.65]:16066 "EHLO NAM01-BY2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752228AbcLKMIW (ORCPT ); Sun, 11 Dec 2016 07:08:22 -0500 Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Yuri.Norov@caviumnetworks.com; Date: Sun, 11 Dec 2016 17:38:06 +0530 From: Yury Norov To: Catalin Marinas CC: "Zhangjian (Bamvor)" , Maxim Kuvyrkov , , Szabolcs Nagy , , , "Dr. Philipp Tomsich" , , "Joseph S. Myers" , , , , Prasun Kapoor , , Geert Uytterhoeven , Ding Tianhong , , , , Andrew Pinski , , , , , GNU C Library , , , , , David Miller , Subject: Re: ILP32 for ARM64 - testing with lmbench Message-ID: <20161211120806.GA5973@yury-N73SV> References: <1477081997-4770-1-git-send-email-ynorov@caviumnetworks.com> <20161028124659.GA24131@yury-N73SV> <266952F2-53F5-4D5E-83F0-6C8203092F67@linaro.org> <120041af-f4e9-5b6f-36dc-7d3535a1f01c@huawei.com> <0adfca97-1624-8eac-8149-da447525ad65@huawei.com> <20161205141312.GC14429@e104818-lin.cambridge.arm.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: <20161205141312.GC14429@e104818-lin.cambridge.arm.com> User-Agent: Mutt/1.5.24 (2015-08-30) X-Originating-IP: [111.125.246.42] X-ClientProxiedBy: HE1PR0802CA0021.eurprd08.prod.outlook.com (10.172.123.159) To DM3PR07MB2249.namprd07.prod.outlook.com (10.164.33.147) X-MS-Office365-Filtering-Correlation-Id: 9bf7c03f-5798-4a09-5382-08d421be6598 X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:(22001);SRVR:DM3PR07MB2249; X-Microsoft-Exch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j7rB4Ml;20:PQKRHQhRzgccTTD0OISUHyODgTWOeHniCJkQdQu81iiKB78Gl4wRP1qmIWJF1HK/cjOL/6Wzn9sQxtsKSA8JsyIFAPxlfaDSSgWcgn4C9oKSFEnWU7vX4xgX82uwlZYE6a/oPQOCdJ9DTACJnKH3DzbmRf0htnBGsh58FlcQv3NvddmJ8ohE2FZrhRrP517vTzDpEuC56KxA0LVk4AGt52PhzKEaFpy2IU8aD0z1j+JGo6JZ/pecDYf1MCsFyuOrBztSXD32w6rVj1DyJgwOAk5uQUCicfamqfq6PmME7iWXEi/BTn0Hqwp8C778JxuzIqfUhoICwbQqtYKcxe3OtXk4rEoumbqkmGjGYXsVLXPS/Ae4FsRK6QgRI9Byn/n0fIhGtBq4w9x9adotM52HLpllI8xE3CgZUpTgJvxuvZVjlvz27ajKJi3K5cT3FalbqOvF2Zl/5basVAsdLbSXZPDBp56d8V9EtX75c7BJZaMktGVsKWLcYNOmT5mUThBDQ4+BmoJPnNw1tqZS40CLxFuzWwKotiNl8XX+SYVMcbEM7MG2MRfFW18Lg4XJV0ySSkfQogOFfsAneJvjkEb55q3WacaRPbHW2o+UgdJNAlI= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(211936372134217)(145926492361056); X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(6040375)(601004)(2401047)(8121501046)(5005006)(10201501046)(3002001)(6041248)(20161123564025)(20161123562025)(20161123555025)(20161123560025)(6072148);SRVR:DM3PR07MB2249;BCL:0;PCL:0;RULEID:;SRVR:DM3PR07MB2249; X-Microsoft-Exchange-Diagnostics: 1;DM3PR07MB2249;4:pzeT9UL4VoPOKQU/Vg5MLI0y0y9UnHcAU2XPN96saWV7ml0dLOULJfiG6Rd2CIK+zlfj4iO0k7C9DYVLwgOZIOl0PUArPuXiayRXUFI0Hn2b0Ac6/nQFRrA2s0iAztGSihfvuQwnw0IvpbjzN0jC1fmP/i/Oex4YooCmE0oJ9sbH4hlQDLc8+H09DMilYcUWDo7OmGWQ9VV2n+CpY/MZzM+ujyKPdXtmF1izpMiHj2EeB63t9Ntva+O0S+xJo+6iCNpg5t1fTW/6h9UaElXthpamZ5JkCex2TvlF76hr5SYUfKmM2N2C0zdEx+OjP0Fpl7uueyxcpYaUMSAXsArIfGHaz72Vs5b0+hV2wcDJISPBZODthM8mJwy9ytc6qKMuiPCETux4Cfpeg4NaRtCP9m0ROv+XjKRgaDxxDCCq8gUFbM/ZpkRKyHeIzCdY4/EICR8DExd9u/NqY/1RNtR7Sw5k4CgHUpLXxlPIQaUVfMSjn7/NPITV4BTIdEFYjEKnuhSn11tglwg2pZKOFi29/ajn101aKpu3qPG5owtbEfJMo14ZGt5F42RcIsITNyGBUbLvTXJvtkKImJNFgSOggE/92dm6D+AI8Rw6WaQwf0txraEbVU/+FvVZfnZwTn1dzUl2p8iVCT5F/P7uU8qbmQ== X-Forefront-PRVS: 0153A8321A X-Forefront-Antispam-Report: SFV:NSPM;SFS:(10009020)(4630300001)(6009001)(6069001)(7916002)(39840400002)(39410400002)(39450400003)(24454002)(199003)(189002)(575784001)(229853002)(6666003)(5660300001)(39060400001)(46406003)(3846002)(101416001)(110136003)(23726003)(42186005)(5009440100003)(50986999)(97756001)(4001350100001)(38730400001)(47776003)(66066001)(189998001)(6116002)(6486002)(6496003)(6916009)(76176999)(54356999)(68736007)(7416002)(1076002)(2906002)(305945005)(2950100002)(97736004)(33716001)(7736002)(92566002)(7406005)(93886004)(83506001)(50466002)(33656002)(106356001)(9686002)(8676002)(105586002)(4326007)(76506005)(81156014)(81166006)(18370500001);DIR:OUT;SFP:1101;SCL:1;SRVR:DM3PR07MB2249;H:localhost;FPR:;SPF:None;PTR:InfoNoRecords;A:1;MX:1;LANG:en; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1;DM3PR07MB2249;23:nWa66fCDXyY9hw9VFwZ6m/zGq/zCuL/hlfur633dR?= =?us-ascii?Q?f/jZTbtVJpkHfHGceslDX1tW+A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qh9obOwbUSwtc25e9ZmJDRiWIHAAwf0J42n+g3K6s9VsTXn1XAvW/G9QnU1SzGIslm4KMPA8db0Wxc0Vt0HpGRGa137LcR0UjjnNRKzll1v1YsaJ0IuUyiQFLYUlAa8KAfhBVfaCe3iQ==;24:DUvV8SuScAfXL80bTJ3Na124UixPqPTUfdM6uBwLLQB0oPQni8l1VWtGxdFeSYiK0RKjNxdgkLICEIolx+1T/X1+ZB2aJ+oHy07A8Cr6FzU= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1;DM3PR07MB2249;7:mgMOcfMkE0E9/2qMVLrPBrWTXS6beGprC0TqK3qa240vFt2q4LN4Bao6fCNbUb9i1XkqGrap5UXCzae/as6WK8hHkLBsP/fx9tbEylln/sOOA+btJQwgCl33Uu5piiUaXT0TOwjc3wBH9pAbTJJlRTSJ2V4S5FP6s+motzBqeEvLz/Y35hGxpbYMhOyZsTyQi5LwXh5b68V59z/d8rnneBKIoPPPFC2yR7sCHvPOcqnTwsk2g+w1VPpdi1HvupZfYyocUbtRszvHB3GZi2KjxmIOYAgqxjh8APN11a3YZBJ50/C0Hzz8xKSja8W8tRZgNs8WjpbgT9sZrrP+YF3EfpgfIKhbECFoJYi1wINbUQ1QrUokqUo/hBt7Y5Q2qTWKHi1VMqrgnYmLqMR5mRb14yIsrtdUq+s9QEN1L2q06RhfUYzdjHjwaEDF47SNjuUzGcOPaW53lKIKUs4vFzFpVA== X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 11 Dec 2016 12:08:18.9079 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM3PR07MB2249 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2445 Lines: 55 On Mon, Dec 05, 2016 at 02:13:12PM +0000, Catalin Marinas wrote: > On Mon, Dec 05, 2016 at 06:16:09PM +0800, Zhangjian (Bamvor) wrote: > > Do you have suggestion of next move of upstreaming ILP32? > > I mentioned the steps a few time before. I'm pasting them again here: > > 1. Complete the review of the Linux patches and ABI (no merge yet) > 2. Review the corresponding glibc patches (no merge yet) > 3. Ask (Linaro, Cavium) for toolchain + filesystem (pre-built and more > than just busybox) to be able to reproduce the testing in ARM > 4. More testing (LTP, trinity, performance regressions etc.) > 5. Move the ILP32 PCS out of beta (based on the results from 4) > 6. Check the market again to see if anyone still needs ILP32 > 7. Based on 6, decide whether to merge the kernel and glibc patches > > What's not explicitly mentioned in step 4 is glibc testing. Point 5 is > ARM's responsibility (toolchain folk). > > > There are already the test results of lmbench and specint. Do you they > > are ok or need more data to prove no regression? > > I would need to reproduce the tests myself, see step 3. Hi Catalin, > 3. Ask (Linaro, Cavium) for toolchain + filesystem (pre-built and more > than just busybox) to be able to reproduce the testing in ARM This is the Andrew's toolchain I use to build kernel, GLIBC, binutils etc: https://drive.google.com/open?id=0B93nHerV55yNVlVKaXpOOHQtbW8 It's not the latest build but it works well to me. This archive contains 4.9-rc8 kernel, initrd, sys-root, qemu image based on ilp32 busybox. https://drive.google.com/open?id=0B93nHerV55yNbVo0bko0bWlQeFE I can start linux on qemu and run basic commands and tests in ilp32 mode. This is my first attempt to create rootfs, and this is very basic busybox + sys-root. But it lets me start lp64 and ilp32 apps (find example there). If you need something more, let me know and I'll add it. You can also use any professional distro with this ilp32-enabled kernel, just copy sys-root there (like I actually do - I run Ubuntu 14 daily). BTW. This is of course good idea to build and test ilp32 user environment, but in real life I think ilp32 apps will work in lp64 userspace. > 4. More testing (LTP, trinity, performance regressions etc.) I also built and ran trinity. After ~24 hours I found all trinity threads stalled for lp64, and after another 24 hours I found it running but slower for ilp32. Kernel was alive in both cases. Yury.