Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752348AbcK3FCt (ORCPT ); Wed, 30 Nov 2016 00:02:49 -0500 Received: from mail-by2nam01on0061.outbound.protection.outlook.com ([104.47.34.61]:7312 "EHLO NAM01-BY2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1750700AbcK3FCj (ORCPT ); Wed, 30 Nov 2016 00:02:39 -0500 Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Yuri.Norov@caviumnetworks.com; Date: Wed, 30 Nov 2016 10:32:09 +0530 From: Yury Norov To: , , , , , CC: , , , , , , , , , , , , , , , , , , , , Subject: Re: [RFC3 nowrap: PATCH v7 00/18] ILP32 for ARM64 Message-ID: <20161130050209.GB18796@yury-N73SV> References: <1477081997-4770-1-git-send-email-ynorov@caviumnetworks.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: <1477081997-4770-1-git-send-email-ynorov@caviumnetworks.com> User-Agent: Mutt/1.5.24 (2015-08-30) X-Originating-IP: [1.187.50.140] X-ClientProxiedBy: VI1P194CA0023.EURP194.PROD.OUTLOOK.COM (10.175.178.33) To DM3PR07MB2249.namprd07.prod.outlook.com (10.164.33.147) X-Microsoft-Exchange-Diagnostics: 1;DM3PR07MB2249;2:Z/aOQUjE9bc1ucpYq8Jxx3QUIRPd+MZ9fipyKtAn1Gg+kQGz82s+woFAvdyTZKqCq3CA4zpBREv1pBHuSreosMMlc8uvnoweHItoDon7DXWqen/ZSDeICEEyPKThOSTl0b82U1pN5WOosYFEWBVbkhhIgIf8iAxR9DpEqlGpiPw=;3:Ew9Rg96Tr3f8ddwtcCfx7LMjxMMN9jzK5w9+M5BySpHVC2Sa4rWODUfF6al0Sob5vJygZrNW16Rij7s/Ewtxb2FkYkFeeJOYinY6CalkC/ysYYj855xF0piZMUoaN/B+dI3ZwGfeG0OiDJQHomUIcgvTRSM3vJKWwn4kgPM+aAc=;25:r0RexlpyRz1skhiTBkLTgoG0l+EwHVQWAU7zQPghbwJz8A2iuFKRGCNJWlFBOihKTGGZ0eSuTBG2kc+Y9C7daiq/B0oqyFWY/AQkS75r8yAQyFgK34oGOlccrk3bVCMS0VyiQ4XeJlaJ2osbPxQx0BFAMZEz3kWpUIhYB97GjPRLK8FzcAaDYW6etiNLlb7YSqcAsaRJ/ZXIvaxq8M7Rc7mTGey2spnQGP32kBDTdUNdvGL3bna7HPyhlKxnnS5dgdSPSnHWbojk2yRColOug2pfEK9jTb0Ujqcm1pwHuD6o6i/3yjsxBfkI1Hz18QSWlWemf3wnH374APas7lSa48oPbpxFEnKWL8LdiJXWaW1MgvOX5vQCEWPtyL7zVm9qS5VMq1OjxVOhiTw+qqIA2qk9BpzUnbovvbFBGfovxeHevDYGIdr3S/SwgcJ7oEMwYnuTKVgFcmW+3uAHUVY2SA== X-MS-Office365-Filtering-Correlation-Id: 2b468587-bacc-4696-7d5e-08d418de1aae X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:(22001);SRVR:DM3PR07MB2249; X-Microsoft-Exchange-Diagnostics: 1;DM3PR07MB2249;31:mpjq5unETcqWodyEgfrkPkfsYaC6x0rNTxIYTHMSZBI4tR/LsmAGtxi+DNT3WdKVIwr3zg/X3MI+eKilnF5SnJQlghOb7O8rJaDy0KROj5S5UAiXav8QAg0c2ZpQYFH6eKDW1Odyi3KoSREAaA+zecCFwcNgLOL0N58oSSybX1skP2dxWXMecPlAGCWC5Xjh5iGtMRYPxLGnVKwCTdvYP1Qr2j4vYHytvHUgxKML+1PRgB55dF9bgoSnYDz8ymIAUgJw6ebjZNdytwJB8cHCjQ==;20:cxZAIzfoDtANeLQIONy+kNCIRANlxB6I9847ulGMDh5Y4Uh9y0El4YEGDhozFTxOBp4nXtoR8nVmVc81n+oylTzDoTT6POE60RUU1ZFxRjJKfAZRe1tzUw5Vd+e9TgyKcNR23YpQLsyGlSKjxMyqAHHpnkZx9pAa/bSvO09naXQY2m9B69uMQO0+NZhU/SvcTZ+M3W11fHILJQq1zMFRpCW29OmoY6n3pNx3xRAIbL674fP/M2VrbJZW8WqIe1+B542eHkYKP652Jcnix8emU7twifMZr8kj8KwcaIb3uDQKXEcZ9A10PI+vMSw+5pdPQMZN4f2Wsvu1SxCqkqK66wWWRgnRP5f2hHIaZ2axHxJxQ4OgoA7K5usoxLGCU0Tg3ovTr21/FpnoMcBRPNlE03MwHRoUuWrornwV/c5TQJ/rnLTK3hzCnSzUFF93QWJ/HzZvZDODUTr6ru0ZyG2rkNzIOTkanwimt3nr9UnadVAo1rr6OabT1c5Lz467QFCyjyvGYSV8wEyOVl3czJ/eMwshY7kXH++VUkqxwQFGYs7tbBA9iOV+jvbo+Swm6vlbT7ljSjEeHWElbiY8hhEJbQTA+chyhQ8oBrdJWh+jcAE= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(6040375)(601004)(2401047)(5005006)(8121501046)(10201501046)(3002001)(6041248)(20161123564025)(20161123555025)(20161123562025)(20161123560025)(6072148);SRVR:DM3PR07MB2249;BCL:0;PCL:0;RULEID:;SRVR:DM3PR07MB2249; X-Microsoft-Exchange-Diagnostics: 1;DM3PR07MB2249;4:Q4xZWjzGXlCOYEQHggyRwL2ZxfBnPsOZfQNmeVEn58oxy+tHEkvXrsgoHqUQmdNFKImKYJgHL5VRRmA7Mf+F6LtZozlA704OdZaQAzpCGtjdAOzrhCkcAg7C/1dsMJ8gj4VWWvW9MgXTr2T02Q1jAfIDY09tfYeMFtBTPL32TSvlXn64Bx2nhHvn5UKB5zwIMsc21pXWvQggYptrEHxNKNwFqkjv7vhfN++qC2OIikbxR7H/VcRo3gPLLjp3QatL2sBDuYbi1NA8GPhxLwVTSWEQ63JoOA4AI/ulurxOaayUdJNQPZ2IQlc1Q1IkAyl/KoLZBOxBAtNYFyLG7tKhBkoVgSI+fNULhtFCaG9hfpBEzQ3VFBy9LHZDky5EVkldKwfBFTdwzoKplQzd1tnzfBau+vfud0AoK9ACHHNcFCRqzw9klGt7x0VW+CrkWimZKwl5OZwti8Ah+RxxZlU33F3PFvQOtb5GjOrac458whbSVd6CnJBMo1Kz+5E4En+/PBD1gWT5/bZxoZGSUSSKk5COTcW9eY0QXVw3E/SLbQvhwkejYZPB8MHF/CBT18RUVVwDxB25J94A2lElU9RdFQ== X-Forefront-PRVS: 0142F22657 X-Forefront-Antispam-Report: SFV:NSPM;SFS:(10009020)(4630300001)(6069001)(6009001)(7916002)(24454002)(189002)(53754006)(199003)(4001350100001)(76506005)(68736007)(3846002)(6116002)(50986999)(76176999)(23726003)(54356999)(189998001)(42186005)(1076002)(97736004)(2201001)(7416002)(97756001)(5660300001)(7736002)(305945005)(106356001)(7846002)(66066001)(105586002)(5001770100001)(6666003)(92566002)(47776003)(101416001)(2950100002)(33716001)(81156014)(81166006)(50466002)(38730400001)(39060400001)(33656002)(6496003)(39410400001)(6486002)(2906002)(8676002)(9686002)(39450400002)(733004)(229853002)(4326007)(83506001)(5009440100003)(46406003)(18370500001)(36456003)(2101003);DIR:OUT;SFP:1101;SCL:1;SRVR:DM3PR07MB2249;H:localhost;FPR:;SPF:None;PTR:InfoNoRecords;MX:1;A:1;LANG:en; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1;DM3PR07MB2249;23:NkNEx5dwpFqWNDiv0Z63Epg5n8WWT1cSVow7ME3Au?= =?us-ascii?Q?KqG1HQV6SK8yhrVKbOliPOmXQ9BR9CaRQ5TyjA/4s+USSHOBI21t/EI0aJRB?= =?us-ascii?Q?IQkyAg/4E2O2gSZYGV2IFxo2ufdB8b5/tER6MmUfxbazogj7uWgwIF3XJs/R?= =?us-ascii?Q?uf4v7FJXcwz7mzy+B/n9Cg3bXzS46389oP0CEvp0aZRY5F2zBrkySFPkkRAR?= =?us-ascii?Q?OxCTOrzarkIZOU+YBH1Jsl8+ll21nZz0xRiejJ0iWbd01cAz1nq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8EehYdrcN3fC+Q2eae6sQlewA= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1;DM3PR07MB2249;7:awkhRuFi9luHW97d5ZDvv8EaHx/7yTAmUx5t2JD0XUmAFgAeO9i0ACbGw9VsQV0j+wkgHuN9u6jxoiCjywBkDYlhZ2JoSP/nAu8nCelfvgkTgXu691AjZKijWganwP22xqo3LNNDWklJEwqzoGKSLMm6UBN4204wPVmwlEz1QW+qkLsRqqTlBB5a3ykPDJBMH8xMjCsfgeZAO+lVG/KEoFj5TvIAf+qXiNF95QF8+o1WjUB3m/HhXkaIe5KLdZ7GdQB68y2uB6akrwBn2UiTf/LKCXYW65LKk6QuSUtvxsjB/j+F6yXgYzyn/kd59LgjjeqopSveaPF4p+r/AwLEmHdYj67PA/ueCWs6uwoW3sk= X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 30 Nov 2016 05:02:34.4066 (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: 1429 Lines: 34 On Fri, Oct 21, 2016 at 11:32:59PM +0300, Yury Norov wrote: > This series enables aarch64 with ilp32 mode, and as supporting work, > introduces ARCH_32BIT_OFF_T configuration option that is enabled for > existing 32-bit architectures but disabled for new arches (so 64-bit > off_t is is used by new userspace). > > This version is based on kernel v4.9-rc1. It works with glibc-2.24, > and tested with LTP. > > This version contains ABI changes, and should be used with new glibc > version. See links below. > > This is RFC because there is still no solid understanding what type > of registers top-halves delousing we prefer and it affects ABI. In > this patchset, w0-w7 are cleared for each syscall in assembler entry. > > The alternative approach is in introducing compat wrappers which is > little faster for natively routed syscalls (~2.6% for syscall with > no payload) but much more complicated. Hi all, Steve Ellcey submitted glibc patches for ILP32: https://www.sourceware.org/ml/libc-alpha/2016-11/msg01071.html It implicitly assumes that kernel clears top halves of registers for all syscalls in assembly entry. That patches are going to be taken. It it happens, we will have no choice on kernel side how to clear top halves anymore. For me current version is OK, and I see no problems with it. I just write this email to remind that it's still RFC, and this is the last chance to get back to wrappers. Yury.