Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753481AbcD2QJm (ORCPT ); Fri, 29 Apr 2016 12:09:42 -0400 Received: from mail-bn1on0087.outbound.protection.outlook.com ([157.56.110.87]:17685 "EHLO na01-bn1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1753023AbcD2QJj (ORCPT ); Fri, 29 Apr 2016 12:09:39 -0400 Authentication-Results: arm.com; dkim=none (message not signed) header.d=none;arm.com; dmarc=none action=none header.from=caviumnetworks.com; Date: Fri, 29 Apr 2016 19:08:55 +0300 From: Yury Norov To: Catalin Marinas CC: , , , , , , , , , , , , , Andrew Pinski , , Andrew Pinski , , , Philipp Tomsich , , Subject: Re: [PATCH 25/25] arm64:ilp32: add ARM64_ILP32 to Kconfig Message-ID: <20160429160855.GA16451@yury-N73SV> References: <1459894127-17698-1-git-send-email-ynorov@caviumnetworks.com> <1459894127-17698-26-git-send-email-ynorov@caviumnetworks.com> <20160429160334.GD30316@e104818-lin.cambridge.arm.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: <20160429160334.GD30316@e104818-lin.cambridge.arm.com> User-Agent: Mutt/1.5.23 (2014-03-12) X-Originating-IP: [95.143.213.121] X-ClientProxiedBy: VI1PR06CA0028.eurprd06.prod.outlook.com (10.162.116.166) To DM3PR07MB2234.namprd07.prod.outlook.com (10.164.33.144) X-MS-Office365-Filtering-Correlation-Id: 28e01982-81ed-4b1a-1f7f-08d37048a512 X-Microsoft-Exchange-Diagnostics: 1;DM3PR07MB2234;2:taUj5Z08AOjBWy5Q1FL5Q3pfeeL+zu7Lwrw9rpbXw4dik6A5TS1Murj/Cx2lLWmd4qmf3h6mIaiqD6PY1FAn0XDpCOZZZ8sFWK7EdLg9df514C2zNKy/QBUZp9sqgxmsZ5LuSR+ebzTMNfFnk/1GU++JwCPuL11Echu/rGSYhZ3u86DSz8Hh75EsWmR4+o79;3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4YSI8USn79ciHHvjariDnmsQzklvMl/ak9+iqCM/8LK9E3i5GpZVlHE5LiuehL5TblSkz/gRL4tTz8YPBG+cDwknZtE3ZwbsYWEqLefqxcsuN0997IelGB+D+IoTSkWsgDBzmpUm6TNEXvP2Iaw0UPmXefMkRyNur7J9L0wnaiQ7x+aeUdTLk+btHX2eZ5ggTtcdBeLvqbppKO7aLYz/vThL8zAoaOOGBa5QEFOlfgaWqj8Kpriu89HloeunRoLQRVrqcBGyW/dgd9WiDCvWwPSLNrsPG5DpxB5fuaMhOgHSrSIg5pYwEPUT7wReDQ82TTpMjqwilfNzySGa/B83VOfxbJ5Aj/qwRdElBy9nXQoLJjsLrjCCLOLyL1zzeAFPA1IGteVLUOJxnVUW7BBEomeySTr3QQkuQVvGMF6ymifqi6mOHhbBbmC4Fjj8p7St8qwCmT5KhHq0TCgizY4SPD65jAo+6V+vpYcRA9XIEN0fO4h903Y= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(9101521072)(601004)(2401047)(8121501046)(5005006)(3002001)(10201501046);SRVR:DM3PR07MB2234;BCL:0;PCL:0;RULEID:;SRVR:DM3PR07MB2234; X-Microsoft-Exchange-Diagnostics: 1;DM3PR07MB2234;4:leBT9IzI3aCnQYvV8QnbhQS/hAp/bDmswypyDZswDcl50dFOe7I+WsCKWsoNb3M0j3dw+C4A+OSxaZqXj+ohN2lT5KbKlzsxQCvlIgVQGc/dZeR0j2MeIPdbu9uZS2o65EWC8nU+PFyKwTfIupDT+H8GziYRe0N6JnuhhVmb6TDh2UuZiw3mAqTyuzoLiOuHmg434sAk0P/2cjuVBTorLSJnnqTiYgPGbWBWXZsX43jN6jQkUKrrum1AhQVzwQQKFwt/syMuvU9t8yamdHHYArZvYLbD116a6edfUkkiM9czzw+urVzz9z5fIoqewVoLJ6jeLwoBTB/WrJf1j2qQ86dZ9nZZoI1Me14glEJXVsdb/PDYikyP/9OHiw9PFgAHxWD2o3/OqumiYuQRFsBUtw== X-Forefront-PRVS: 0927AA37C7 X-Forefront-Antispam-Report: SFV:NSPM;SFS:(10009020)(4630300001)(6009001)(6069001)(24454002)(33656002)(76506005)(77096005)(110136002)(5008740100001)(81166005)(50466002)(189998001)(50986999)(76176999)(33716001)(54356999)(83506001)(5004730100002)(46406003)(2950100001)(3846002)(92566002)(4326007)(66066001)(23726003)(1076002)(6116002)(1096002)(2906002)(586003)(9686002)(4001350100001)(47776003)(42186005)(97756001);DIR:OUT;SFP:1101;SCL:1;SRVR:DM3PR07MB2234;H:localhost;FPR:;SPF:None;MLV:sfv;LANG:en; X-Microsoft-Exchange-Diagnostics: 1;DM3PR07MB2234;23:vgfrcqISwAsAUdQNP1WsjtxpaRrwMHPTbPw3Z3yNVlOMiSdBLkR9wunp2wgl+zwluO5eTEJIH2kR098XkQztQ31j1QZa/pLwvt53Ly+UDwkk60lPekISycREUV5UO/oTpk8bcGG0YZprBJ3gB4f/mE1qngcFSISz+LsPESxQwa70sWd4/XoDzaa/ZgJSYH/x9fEXaxgfzXq2WRbz6Gm3cTF5QjPODTjL8K1J387qIJzBgHEBz63VN2cA6E0IbNAKTG5Bc1sA/kc2TWyEtsagJdsgVy6K7bTJ1ZWFKf9Qi4YpDkAJ7T7/kgywKgfKvDPHvH6nP8XPCQyeyLRcHPfeHmQshRbmnS/WpIXif4POpzilcw/P12Gdf6ovM0D9Iai4otojFAg5sBiuBSEbP+t9LkPYWySwaekn/KJGGfT01w0ztA4o5O4maEIkg/Q4jwGHTbV/J/d+H4POXZWxW/G9l0Ezcw24ue2E+BR3MuVdMdqN4zSoLAwjmfW5S6v6+f8lO/9e6p9CQnbfJ02ZVPz8sbdfqMD2UWj6Ki2DwzfCTYcDm47NoYNTSkRGdujCjGn4+IRpUOtLzsKrdTQH6aS3STsTP8W9yAE6LUsh939PviLy2b8frZg/YAxghZ9cOVL8CF/U/wtcgSIqjkABQlT3y+rPiGzNVp0z341lzaJrJb7i/0dLt+Fcsy6KrkMfYXp5pnM0NzKg5xBOPr1syHUyMAiseFGgM3DceMlVOgDmZAkRKrAVMdQaE2ZqpOshQ4mWrity9n0tOCw57yoo0B8i+GbNLBV4m+X8/FEl40vq3qd0CCOK1EuPK2FMr1hxGrBRaNmp534gbNtHvDCigyPWXkyGppCc+cLG+QP/Dio6v+Jfz7KAoGZ/XmJ9mhItGdBoKt5tJRtMEb4J7bBa5ziCLd5nTGkFJskOwO4BDyNUw7WL0ra/8LW1f0U6KRaZRaYE X-Microsoft-Exchange-Diagnostics: 1;DM3PR07MB2234;5:TAvHzogLf4GT+EFBnMA9JAs+fPvj69auuta/rTXZ3S6KuRFan74CHjKij/kyvJiL2qD/KPUAPNVs/nymFs4hC8jAvBChWeqxU66RHX6DaQaIvu0Kq5FdTDEENvgIxL/3kCW3F3pDTlJKXpysWGWdlg==;24:6sEyKrmc9h/186zQ3J0RjqUWKIfb+bAMEchWAzMQd3a7BaY3Slw2P1TbLCjwvk7544SAGx4waxUNucMi1d6W9S5Nmg0yhDHE7EZI+IdzXD4=;7:xS+kJ7O2HYImqlET9T8I3hlrBFPF0ccpYgpMhLi3G9RBZN9lC6HbqGs8mDLpWjcGJxPIFA8zje7OYdIfqJBm579w4x6eesPOj+MAYjecX2+IqvH5hKpxGM1qjpN+qH5h2g5vHaFGzsLk42VmIvXfmCKlwUVuhr5ROZclQWhuLc3U3dO3396B2DDbKHJiWJZo SpamDiagnosticOutput: 1:23 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 29 Apr 2016 16:09:29.5006 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM3PR07MB2234 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 636 Lines: 17 On Fri, Apr 29, 2016 at 05:03:34PM +0100, Catalin Marinas wrote: > On Wed, Apr 06, 2016 at 01:08:47AM +0300, Yury Norov wrote: > > +config ARM64_ILP32 > > + bool "Kernel support for ILP32" > > + select COMPAT_WRAPPER > > + help > > + This option enables support for AArch64 ILP32 user space. ILP32 > > + is an ABI where long and pointers are 32bits but it uses the AARCH64 > > + instruction set. > > Is there any penalty for AArch32 tasks when selecting COMPAT_WRAPPER? > > -- > Catalin No. AARCH32 doesn't define __SC_WRAP and so __SYSCALL macro is used, which fills syscall table with sys_xxx versions, not compat_sys_xxx.