Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753539AbdDKUws (ORCPT ); Tue, 11 Apr 2017 16:52:48 -0400 Received: from mail-bn3nam01on0078.outbound.protection.outlook.com ([104.47.33.78]:32777 "EHLO NAM01-BN3-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1753465AbdDKUwp (ORCPT ); Tue, 11 Apr 2017 16:52:45 -0400 Authentication-Results: redhat.com; dkim=none (message not signed) header.d=none;redhat.com; dmarc=none action=none header.from=caviumnetworks.com; Date: Wed, 12 Apr 2017 00:52:34 +0400 From: Yury Norov To: Florian Weimer Cc: Catalin Marinas , linux-doc@vger.kernel.org, Andrew Pinski , Heiko Carstens , Chris Metcalf , philipp.tomsich@theobroma-systems.com, Joseph Myers , zhouchengming1@huawei.com, Steve Ellcey , Prasun.Kapoor@caviumnetworks.com, Andreas Schwab , agraf@suse.de, szabolcs.nagy@arm.com, geert@linux-m68k.org, Adam Borowski , manuel.montezelo@gmail.com, Chris Metcalf , Arnd Bergmann , Andrew Pinski , linyongting@huawei.com, klimov.linux@gmail.com, broonie@kernel.org, Bamvor Zhangjian , linux-arm-kernel@lists.infradead.org, Maxim Kuvyrkov , Nathan_Lynch@mentor.com, linux-kernel@vger.kernel.org, Ramana Radhakrishnan , schwidefsky@de.ibm.com, davem@davemloft.net, christoph.muellner@theobroma-systems.com Subject: Re: [PATCH v7 resend 00/20] ILP32 for ARM64 Message-ID: <20170411205234.GA26665@yury-N73SV> References: <1488395968-14313-1-git-send-email-ynorov@caviumnetworks.com> <20170410194740.GA28503@yury-N73SV> <20170411113334.GA27857@e104818-lin.cambridge.arm.com> <20170411183636.GB5091@yury-N73SV> <18edebeb-201e-a9d6-7e66-6e34f98a40df@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <18edebeb-201e-a9d6-7e66-6e34f98a40df@redhat.com> User-Agent: Mutt/1.5.24 (2015-08-30) X-Originating-IP: [217.118.90.189] X-ClientProxiedBy: VI1P194CA0020.EURP194.PROD.OUTLOOK.COM (10.175.178.30) To DM2PR0701MB1280.namprd07.prod.outlook.com (10.161.225.18) X-MS-Office365-Filtering-Correlation-Id: 4d6d9e4d-2627-4220-77c6-08d4811cb374 X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:(22001)(201703131423075)(201703031133081);SRVR:DM2PR0701MB1280; X-Microsoft-Exchange-Diagnostics: 1;DM2PR0701MB1280;3:cUkspxGrNmSu2EWFmLq1AnHcvluRwP2sYUDcpezH9DI6+jLS4RBm4JO6FjOyLaheztzk7a/uwgLdhMocnbvcLEQnb9k0C3RqPldyV3nJPBWfceiEHUaRZw5gaTjpEOQrpIE1jkDdyWHLJ2PCttKrTdtdCgvJoooVFGP03gR9m7XjFjKd42og0jjewrBxwb2ge2kdLB24fvc09iYyh3jTJ/QWNxeUebSoSgZDLppICsSNdX5aXo4HKeV86s/88H7sYIgLyZE6p183IIbPdXjZsjiKIrFg8cSD4kMA12JPOyxqi2sIKuGmivPd1z3S8ZDyfhP3LhIJbRfQ8S5FX55xfA==;25:g3tCg+b1S0033TR8PlJ6l8zjd+XoCmzDTNq1G3bmKWf489YdaPcPD++1ZoN7ICGPVkxtBwtM/z3X6fRhV+gfthwlL4wGUXjrBZn+7ge3q60W5zLJAqJxwc4haSDdsXk5WBj39f0dA4jrpP2WOIb1PeZCrGlg9HpnM3YbivrAP/m42R8Rg1d64EMM/bHXaMsqU2JtGxsIIEuCbNL+GkDKP/vf63mJXw1WjETIUqeBpV+27NRLdznfZVvphIDvgPHNcuBJZbMpyoHHOKt37mSD1FetsSb+HqvHgIOcughIfyby6CyT+1vGO0Fi0uMMTL0LBPnqrw8FkEJMW18w0t3blU+HtbpA/q3vJ+ig1pB6Ajn1kXsY5z5k5jT7ZAJhYrii+UEqFJjADp387xvDad6ReoxM2rqMLTsi7L+F3DF3Qti+nu7lHhqojamMu8tWAahGSKQE/wp5VkuYBdOnruE+9A== X-Microsoft-Exchange-Diagnostics: 1;DM2PR0701MB1280;31:tOqvvikfXQHRqNJkAxIvZLHzdxHBFvkplZyG73WAQa0nflFIBULERTQfjt2G3Y4WL6DWn7hN2eGzPd8PUhKRhMTqtOzWNFgpX0D129RBwJyhXEG6JesYRfQGw20IPeX5rk6CWPer5431JCfPXYSlCX5InCiz/QUU1t5DsJK5j76NTLwxOCZey7DwdmQTN2km0YrRkJrOaTA01+uIsnNQ1fvG/fg56ULfofsgN1EZO28=;20:9v/eC4yL6yD/aP3Y0OCSao0Dq7MXbZv5f9+1Vpo4xkUICmK5I8vn0VPQ3pTTapK923eY6FiOZkBtNR1aRSLxgVz7ZUHWEBpfHsmyFNAYh03H+4CgUUrpO1oK88RnCCxVCIy0oPzc5Sy8kGjsY/FpaPEHYhd2D7bEfmRSq8uOTSgNUOblBLHTTUyc8fTNlIIsBjDXO8oeW0sNYmsFnxqiUFrAiI4Hgb9s7NhYYEOsWt/dcPodo+nbqriPW0e7LrXUUeAZjfeFDy8Pt7n3Y3SY6HXS/VX4bdYZULRLV1DLlSx9rU/FaMoYQCGIfXtkc+3AWoXqZHS0f1eos8ZQ6D9kmMAt5dksj862I0esqoTgjE9D5O03t87zWgAgDXalTsyjJQk1WpapTm1iALhmzNq7wrMzrbXEtN7NgbGf1Nse6zkSKyEIbyyWSJXCKoP3bQmSR/IeNdi6umC7XPxpo/8X24tQOYty8MM57qLtwVHd81+n+WhAakVZRk6Z8AdmvdQySFdATljUgyjt4+vP88sM5ZdtH6M/oZk+4G3WL7yznHg9nVDucXqEHq5NFha90NrqOlqe290AOSt+i5m1z2lJpQt3istasOstV/Sn8pm7RF0= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(211936372134217)(21532816269658)(119230021023882); X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(6040450)(601004)(2401047)(8121501046)(5005006)(3002001)(10201501046)(93006095)(93001095)(6041248)(201703131423075)(201702281528075)(201703061421075)(20161123555025)(20161123562025)(20161123560025)(20161123564025)(6072148);SRVR:DM2PR0701MB1280;BCL:0;PCL:0;RULEID:;SRVR:DM2PR0701MB1280; X-Microsoft-Exchange-Diagnostics: 1;DM2PR0701MB1280;4:/NLPsUSsbpCSiR7IdkwBXs0IgGjs2D7kqWKuCMXxGgpGm+0Dq6aEiNyAzZmA/U+WZ26kyPeI52+iSY8AeqLJLki6KgRAWlK/kFitx6T5AeYPhR8jWumpk505GU4xYTk89pQEGomXbkcL6HfuuOPVIf95a1UuIXJ1b+F1zsDiNWVHCqjPNJAdtqUqQ7E5lexvqLX8IBDLWm/zipfzNMPO5qHgAhNhx6yxUuPU238LDa1LH2dr+Ris/Smwvg0mD/0EX8c61YN9PKn9LaDYSeWRWzvf8/TMDII2UYjAEAXveu5Mbfb2EnoIxNeI/Z47xd8cK5rueoxrBnLC81Skn7Si9kqox8SbMQFdmbQEfc18rNx6berhVFEpayHoUWiPj7JhXEp0Nt0e17jBLT7mcxSucktpuSkIlOMorReYfkqfhvT7ROEDA7p2LgALPUAL9flbVQCFOpkbWjvEuSjsTs8S3uoaJosUBei73D3in7jCSX+bCMTq7zCr74EKGoUQP2/RD82CHUKQSNQ4lUX66NPIDpf08dKcAWqRPVpbp9oOajOA+9qy4MicLJlK4pLuVsjmzUUv6ilShAPO2jC9C8XwQulDFgavzEmCUc7VSWL3HySbDMFdv4sn2xwiHrf7YUIkJejD2dAeZMV8ukeedc6+pg3HhXhHWLbaUkU5XiyFkLU2FEkW+HozTPNZg20I2/WNR3SrA4jlffrVcrK7uUTsEI91T3RQhS0/TdEOPY66zinBR9TZYvvnTBQVBhf62+DnyZxqlj2Ju72tPheU2xz7c2VhAeihM9hAHOG8NoOvHZQmEjKyJxD2FTD02GKPC9pBhnC126zX/D/D5XxRyDV6oQ== X-Forefront-PRVS: 0274272F87 X-Forefront-Antispam-Report: SFV:NSPM;SFS:(10009020)(4630300001)(6009001)(6069001)(39840400002)(39410400002)(39450400003)(39400400002)(39850400002)(52314003)(377454003)(24454002)(4001350100001)(50986999)(5660300001)(7736002)(7416002)(33656002)(305945005)(47776003)(76506005)(76176999)(50466002)(54356999)(42186005)(33716001)(575784001)(110136004)(93886004)(189998001)(1076002)(54906002)(6486002)(4326008)(229853002)(23726003)(38730400002)(9686003)(3846002)(83506001)(6306002)(6666003)(6116002)(25786009)(2950100002)(5002510100001)(66066001)(6496005)(2906002)(53936002)(81166006)(6916009)(8676002)(53546009)(6246003)(18370500001)(6606295002);DIR:OUT;SFP:1101;SCL:1;SRVR:DM2PR0701MB1280;H:localhost;FPR:;SPF:None;MLV:sfv;LANG:en; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1;DM2PR0701MB1280;23:zumkBc0kXzr/ct/o2hqqx5ZdNrdgtizgFDF9SLd?= =?us-ascii?Q?AuIKXy/h8l0hGOh2jgaNcX4+9ECPaxWqfZjMePZ6rYPtNnSQ6H2doTHKFUTP?= =?us-ascii?Q?0uZZE/wCZkh/h0B1x7Qk1KRq+2J8o0KnCTeb2oGiCbeZK4F+birfkz1RHRwK?= =?us-ascii?Q?dkrMw2+2CNXRoRG5HJdUPAl8cuOqDCoultvWj7iveJzFgvuDv7C6KcHvgfsB?= =?us-ascii?Q?6p70nle+G7e9XeLlwIy05vERCVoEdHuZN10+Sv8rbPZhxJ6XbffKx38tn/5z?= =?us-ascii?Q?29t/s9/hQ6rV+jIuSnJihlHxI5/tc4hLlRYnPr5jb80zFl7aVQzV5vsGko6I?= =?us-ascii?Q?rc2fuWDh8dX4vS1Wd+eMMeGvMOvc2DiR6A4kRAF4bUCwX/q9IYQ88drDTbiX?= =?us-ascii?Q?4P/1CD+YdPwHaod6VKLcOS10vVWIu/Luqm8bcoomgUFNS9bIZBxhsDE3X5Rl?= =?us-ascii?Q?6BgWR16qhuDL8UCgwW6zOXy++zSdBXzu1nf92pS5ztyzpUdWn0wZzGhF6aZH?= =?us-ascii?Q?B40ozKfCp9GJd0DbJRlYjl4B9n9nQb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Bru1orgT+PDQUNftnKsMbPTExQ6GsdqJ2DLGkq5eOjInljPEWdVrnozWxK3oFUSFt3tIr5fS+ixxZkNoMiNCcjSfqw== X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 11 Apr 2017 20:52:43.1270 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM2PR0701MB1280 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2197 Lines: 60 On Tue, Apr 11, 2017 at 08:42:24PM +0200, Florian Weimer wrote: > On 04/11/2017 08:36 PM, Yury Norov wrote: > >>Also, the latest benchmarks I've seen were mostly for user space > >>while I'm more concerned with the user-kernel interface > >>(https://marc.info/?l=linux-arm-kernel&m=148690490713310&w=2). > > > >>On the glibc testing side, have the regressions been identified/fixed? > > > >I run LTP for testing the ABI and kernel, and there is no failures in > >ltplite scenario. With glibc testsuite, there's only 3 failures > >comparing to lp64. (Steve, fix me if something changed.) This is > >slides on ilp32 from Linaro Connect, hope you'll find it useful. > > > >https://docs.google.com/presentation/d/1TKZqgH0XJUgMMGkw2fJA3Lzr57slht1sGKYJVBJTNM4/edit?usp=sharing > > The listed failures are: > > misc/tst-sync_file_range > nptl/tst-stack4 > malloc/tst-mallocstate > > If necessary, I will fix malloc/tst-mallocstate once there's support for a > new architecture in build-many-glibcs.py. The failure is > architecture-independent, it's related to the lack of a compat symbol and > the difficulty of checking for that at the Makefile or test level. > > nptl/tst-stack4 is also a generic failure, I think. That would be great, thanks. > misc/tst-sync_file_range is probably a real failure related to argument > passing. I think this system call was problematic on other architectures, > too. At first glance, it's pretty trivial, both on glibc and kernel side: GLIBC: int sync_file_range (int fd, __off64_t offset, __off64_t len, unsigned int flags) { #if defined (__NR_sync_file_range2) return SYSCALL_CANCEL (sync_file_range2, fd, flags, SYSCALL_LL64 (offset), SYSCALL_LL64 (len)); #elif defined (__NR_sync_file_range) return SYSCALL_CANCEL (sync_file_range, fd, __ALIGNMENT_ARG SYSCALL_LL64 (offset), SYSCALL_LL64 (len), flags); #endif } And kernel: ENTRY(compat_sys_sync_file_range2_wrapper) regs_to_64 x2, x2, x3 regs_to_64 x3, x4, x5 b sys_sync_file_range2 ENDPROC(compat_sys_sync_file_range2_wrapper) Anyway, I'll check everything and report here. Yury