Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751451AbdFDMEy (ORCPT ); Sun, 4 Jun 2017 08:04:54 -0400 Received: from mail-sn1nam02on0076.outbound.protection.outlook.com ([104.47.36.76]:28473 "EHLO NAM02-SN1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751313AbdFDMEJ (ORCPT ); Sun, 4 Jun 2017 08:04:09 -0400 Authentication-Results: arm.com; dkim=none (message not signed) header.d=none;arm.com; dmarc=none action=none header.from=caviumnetworks.com; From: Yury Norov To: Catalin Marinas , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-doc@vger.kernel.org, Arnd Bergmann Cc: Yury Norov , Andrew Pinski , Andrew Pinski , Adam Borowski , Chris Metcalf , Steve Ellcey , Maxim Kuvyrkov , Ramana Radhakrishnan , Florian Weimer , Bamvor Zhangjian , Andreas Schwab , Chris Metcalf , Heiko Carstens , schwidefsky@de.ibm.com, broonie@kernel.org, Joseph Myers , christoph.muellner@theobroma-systems.com, szabolcs.nagy@arm.com, klimov.linux@gmail.com, Nathan_Lynch@mentor.com, agraf@suse.de, Prasun.Kapoor@caviumnetworks.com, geert@linux-m68k.org, philipp.tomsich@theobroma-systems.com, manuel.montezelo@gmail.com, linyongting@huawei.com, davem@davemloft.net, zhouchengming1@huawei.com, Andrew Pinski Subject: [PATCH 20/20] arm64:ilp32: add ARM64_ILP32 to Kconfig Date: Sun, 4 Jun 2017 15:00:09 +0300 Message-Id: <20170604120009.342-21-ynorov@caviumnetworks.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20170604120009.342-1-ynorov@caviumnetworks.com> References: <20170604120009.342-1-ynorov@caviumnetworks.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [176.59.55.28] X-ClientProxiedBy: DB6PR02CA0019.eurprd02.prod.outlook.com (10.170.218.160) To BN3PR0701MB1267.namprd07.prod.outlook.com (10.160.118.141) X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: BN3PR0701MB1267: X-MS-Office365-Filtering-Correlation-Id: c2af98f4-6d9d-4953-ae99-08d4ab41cda8 X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:(22001)(201703131423075)(201703031133081);SRVR:BN3PR0701MB1267; X-Microsoft-Exchange-Diagnostics: 1;BN3PR0701MB1267;3:jtXinoXBHs9i3Wch221aWcreMlUI5MxO8LgM6mRJV7PGC9/jGA6SiIeQs0QzQySr2j/4gGBiyqWr/JPxo9Epz23oVJNAx05bYUQI7+rzvb49IQPRrqMxrx4rAyL/3WfFiPfPJ+er0Ahs4a/pI5rMXIQ2QEHURsjWuRzUjwqcOtTOpHP+byJFP4pYvKHXJ/FiDxeKNaacfNj40NNZVjRO9YG1VM6uyhjrT3o/9I+IL+w9lkeH+RWYlEjuCTZGsx+JJJDhmtRcc0yvXU5FHiFHAHMwEi0qX9WRDKyUuTppj21Dxlz2qF6E0xQeTJ91j2eoeNcCNDBiLZg7G7MDfc5k6g==;25:L5avsQc0XbkxQa7R0RNy6GwaxH9lf1smwRw2B6zQnXdGHRXG5smlRrW0PKBTKj2aajI0MybzxrWeTel+yUW0mYh5VtbUyhxpaJRmpSA47n1F7OFTVkP7Tr0WxPqFkAHnzxZ3rKTtxiT8ZLw0hLmAAvYn73SU4rY7inl663gP2YG5HXgyAoXNuHguIQnbZTr2yuK0JQSD4AbYcyJSgp0uJbqhrwGOW2f00HMD/R6tqK4DUEUdU7t1TT5u5P/pVngtxkxgZ8tplcj0mpCY60t3PrxfatpMN4n+LEy6eJ2a1i+D22ED0sJKYQgL/KLo4HZMVOm0/tklOD9hX9EPMluf9L+VynJFpx6vjLlYnGCoVX8vOyM8vMtCX3EXa2r3H66KOWnYYj3ewApBJW9ZPVgzkl88bZCuyDwHneoAL1qBV91ORK63coc8n9ItNXAEyzL4hDIXlW8yrXjZJnlqSlEz0PJSUf79y++fVxFGRe4JgFE= X-Microsoft-Exchange-Diagnostics: 1;BN3PR0701MB1267;31:0evR3fIAS7c4SI3f5U6o3lefj4C8vKK04li5WW6R6IFkUwx8HX3rysTTVuJln0vfd2wTaabixk+UdJjccqyjYkRF72CxL9rhywglj7s29u1mtcJ25GSCeHVBWi/smkHkEASzAlltLfBk2/6WpBoM1XDRsdp+nqTOjrak5vT/yQUU059qodHF3k4WdmfK2g0B/uLur618LIPPVB9IDCb+rANMxlf7cQXWuawvS0g8v7Q=;20:ItmOHu8ypdycad2ucj6EJdf97NNCTA2cJZ+gvprfvNSn52yPDu9EU73ekmJT2OWfzXzDrhtfMowcxKqTYOwIJFJr0MaMOB76BWcnvRKVZDQbtkhz5gXSUxCVvzJF+kwuJw1y/nrzULYt3JBUEhFI9W0nTySSojwqhVh5sUhcQsMQvS+CszquV5+cVkywHb7599T6r5f/lfSebGP2kYddN+zmt4wLckkZtTdfBBVMdIGq8ms1hy6wqUAw4IGgwjcrpzEn0XVhVkzs+7zF3uwqaNQ4GuTCPYiPuVS2ftAHG/4ANADvAanMFSIgL8z15p831BtZ823U9zklBc5Xji8iqeYm/gCXEvTWB4qtNKwYsAE7LmlLw+qla+e0VhlGsedypDwBTUAe4mE2JZUnnvimYHsMELcMDMJSxrKTkRZTWxK2v5DLCo8mZ/k+I5Ui8eD7qzT2DLYD8M0GpkY74WrOY1dHYkflkyGstf4WKbrqNM9WgYwYpdnev8VrSI00Q/yedSL9QWd4QoGul0dqlF79Q0NKF/ldveuDb7jOwrju6doNzUGj+6YGZa16Nc/g86XkYd8Fs9+XTcHw6FLIVdsXp8nO/jmAIvrNni1VbePzON4= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(278428928389397); X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6040450)(601004)(2401047)(8121501046)(5005006)(100000703101)(100105400095)(93006095)(10201501046)(3002001)(6041248)(20161123558100)(20161123560025)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123555025)(20161123562025)(20161123564025)(6072148)(100000704101)(100105200095)(100000705101)(100105500095);SRVR:BN3PR0701MB1267;BCL:0;PCL:0;RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095);SRVR:BN3PR0701MB1267; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1;BN3PR0701MB1267;4:m1e8ZhHF/jn2+KEq33ddab9Rc2uZQc9JlPAfKO5t?= =?us-ascii?Q?2eJPIwdZeD2kZNMiUvaET5kJhf+NuIhKqwHDnSUUdRZd+sooNplparT4Rx9w?= =?us-ascii?Q?01ajL1VoGAMpkKZ7G2x9PH+0N8GeyKJIkCNmNgj26dgp3+PwmZW0OissT0AI?= =?us-ascii?Q?f7t3S6vwFaLfMpizf7nwhrrOo9KV5JOs4vnZtV2HjCScaic0NOwIARup9vQb?= =?us-ascii?Q?ErW3Yj5Q+Uvxqq5ZcWNqkJgWmUCDF1mmo82XkdeJd5asYOXjy3URDU/xWmEB?= =?us-ascii?Q?fGPAkeHzVJ6SebJVqn+cGNiCulPVLBhFd8evJjIP/n+ARVq5FZPE3s6/Fwvq?= =?us-ascii?Q?a6GUXWzB58M/fpXqcAeYQPkCzidpKqlqey/aLeSmBJwIQtgbn/UiYTxRGkxv?= =?us-ascii?Q?/F1bpuCCK3gEXbjHgxG0vwB0qQq0+figwwO+ursrWA2isZF3+gweOyUTW70e?= =?us-ascii?Q?3nSOW8N3NoDFHD9kqUccDEYOmpqwCevfVzDmMjVEF+IkR3lyMsoFMdin5I95?= =?us-ascii?Q?Gv94vJ4c/QZtfSyqsU+aa7AVIdop6g14csssCe79wYyRuVN7ARLHSGSDHw6e?= =?us-ascii?Q?IMrw8OQeBm9noCkJCnUjytPbjeTOHvEAvmqRMhf9AoGsoDp50M/rnqkp1dZg?= =?us-ascii?Q?bzCU8hkkq2XDYgKEvCsbs5jRx81N4CCmAh6TU/zLYg5yZStUEOAhgEJg51JZ?= =?us-ascii?Q?rIpTRE/mcyg64x8cGp1TIPcamcwC7EtljZfWWOymWezsdEnYEtaTEwdrddSR?= =?us-ascii?Q?tBz13c8sMxkUFbYBRAUKbvKBB13ampSm4oCnUytWHElpfvrqf7jk+tTs4lru?= =?us-ascii?Q?ACdi/LYeY7a3/fFpJB8SNsH1IfMZrshD1Kh87h138tKUjDnWZaKkZvbiKEJg?= =?us-ascii?Q?6zwL/1dFzMl+oNakYcVgEi0lvb0DDy7GD6WIjDFYYWO7JS21aXY4LOFpmy5T?= =?us-ascii?Q?U/5T7QGDIn8FFgk4+Ji0Q1FYDSJAFzIPQbJKOxuqh77b3JUw9xKPYLtugO+g?= =?us-ascii?Q?ccU9G+skMqkew3OsM4Yuq/2nxE0rcr0U5u6swlcly5bicGupHK3PqygLo1eE?= =?us-ascii?Q?8crl49S4ijgdRsKOLunyyX+vUmCu0bNto1AfSoMJz3xcTOqdQCreEKv+SwVK?= =?us-ascii?Q?uZI+PvIrl3gX9778PeosWe5g7aEF25aP6qA3itNLPmCD/Z3pDXtFdg=3D=3D?= X-Forefront-PRVS: 03283976A6 X-Forefront-Antispam-Report: SFV:NSPM;SFS:(10009020)(4630300001)(6069001)(6009001)(39400400002)(39850400002)(39410400002)(2906002)(72206003)(189998001)(2950100002)(42882006)(5003940100001)(478600001)(66066001)(6486002)(53936002)(54906002)(50986999)(76176999)(47776003)(38730400002)(107886003)(6496005)(48376002)(50466002)(5660300001)(7416002)(76506005)(8676002)(81166006)(36756003)(305945005)(42186005)(33646002)(4326008)(50226002)(25786009)(1076002)(6116002)(3846002);DIR:OUT;SFP:1101;SCL:1;SRVR:BN3PR0701MB1267;H:localhost;FPR:;SPF:None;MLV:sfv;LANG:en; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1;BN3PR0701MB1267;23:zWzjY7Q5sl9wetIHASCjmWVHCQ0kQX8WfhMngAA?= =?us-ascii?Q?OvN5zLQzX9Ty4q9fYCNws7t30S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2hTOvSY2QfyW7S43ebv2UA84B9/bAmvV9Z9DHp3PxCLBq9ECrRNBzKGyTjRLkmwO++69VqPs4H4IHJ4OYc7Gd0Er3zTTZvmXxVrgPBysMq7wrbAVI9Cf7/EX6HjHGJuYGPWXF8BuEzeou7lBgCAZcqBdLc1rk/Q3utfE;24:FGCsDR+F2Q+5Fo7dwl4iNJJvl9sReSsmm8o9fV8oBiF93d+FsWmJrnk0gXm0idmqAKAmscbXzVOpK0NAUemtmISc1P+CV/JQPJxKqVPQ4yE= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1;BN3PR0701MB1267;7:gxmBhwdLs/ZwSgDIPFEOybjNDEnXei3wKLezdLmTRMYCaAldSHxd11aPLDfiQqDcGIo5op7y44H9eDDa5rOa8YTgAb4FSGWjXBQJuzsrcD8umDduTDahU7Kl/amSDCm1fB3/NvrhrIdeHuB6PyMH1iUQhNQhJj2xM3zEA4t5pqo5MyTqvun3f7Yy1p7i14AC9VGnK7gaJIbWQVgWKe1S5vr2t6ma+cBInJ3Dw4wLxja1sxwNeFBbCdSmjfD++99qz0Y2tegVbHrbd6WIvhVRpvL4r7rX3vUmhJVXffuyTBBPSX7jM7qM55oflJyUskJ/yx40QLpaGO9EhFjEiIxKHg== X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 04 Jun 2017 12:04:07.3497 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN3PR0701MB1267 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1269 Lines: 43 From: Andrew Pinski This patch adds the config option for ILP32. Signed-off-by: Andrew Pinski Signed-off-by: Philipp Tomsich Signed-off-by: Christoph Muellner Signed-off-by: Yury Norov Reviewed-by: David Daney --- arch/arm64/Kconfig | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/arch/arm64/Kconfig b/arch/arm64/Kconfig index 2275db8dc7c9..c155e195e939 100644 --- a/arch/arm64/Kconfig +++ b/arch/arm64/Kconfig @@ -1063,7 +1063,7 @@ source "fs/Kconfig.binfmt" config COMPAT bool - depends on AARCH32_EL0 + depends on AARCH32_EL0 || ARM64_ILP32 config AARCH32_EL0 bool "Kernel support for 32-bit EL0" @@ -1085,6 +1085,14 @@ config AARCH32_EL0 If you want to execute 32-bit userspace applications, say Y. +config ARM64_ILP32 + bool "Kernel support for ILP32" + select COMPAT + 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. + config SYSVIPC_COMPAT def_bool y depends on COMPAT && SYSVIPC -- 2.11.0