From patchwork Thu Jan 7 23:34:39 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yury Norov X-Patchwork-Id: 7980781 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 00EF7BEEE5 for ; Thu, 7 Jan 2016 23:48:43 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 2D5502010E for ; Thu, 7 Jan 2016 23:48:42 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 0742D2017D for ; Thu, 7 Jan 2016 23:48:41 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1aHKGs-0003bv-7w; Thu, 07 Jan 2016 23:47:10 +0000 Received: from mail-by2on0098.outbound.protection.outlook.com ([207.46.100.98] helo=na01-by2-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1aHKBS-00052j-AD for linux-arm-kernel@lists.infradead.org; Thu, 07 Jan 2016 23:42:26 +0000 Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Yuri.Norov@caviumnetworks.com; Received: from localhost (95.143.213.121) by BY2PR07MB616.namprd07.prod.outlook.com (10.141.222.156) with Microsoft SMTP Server (TLS) id 15.1.361.13; Thu, 7 Jan 2016 23:41:13 +0000 From: Yury Norov To: , , , Subject: [PATCH v6 21/21] arm64:ilp32: add ARM64_ILP32 to Kconfig Date: Fri, 8 Jan 2016 02:34:39 +0300 Message-ID: <1452209679-19445-22-git-send-email-ynorov@caviumnetworks.com> X-Mailer: git-send-email 2.5.0 In-Reply-To: <1452209679-19445-1-git-send-email-ynorov@caviumnetworks.com> References: <1452209679-19445-1-git-send-email-ynorov@caviumnetworks.com> MIME-Version: 1.0 X-Originating-IP: [95.143.213.121] X-ClientProxiedBy: AM3PR01CA046.eurprd01.prod.exchangelabs.com (10.141.191.36) To BY2PR07MB616.namprd07.prod.outlook.com (10.141.222.156) X-Microsoft-Exchange-Diagnostics: 1; BY2PR07MB616; 2:ksO3bwy6R8CfvWs6kpblWSNzqxDsK87Ybr9Ax1R3Rd2AOGgdSs+hApLeHyMVY5JJ5Ik4o3zWHrzbn9zfKExr04G8qN+I2+x9wXjqvVg8zPO4IYrXfsbqscp/HC59kicXymAi2/+E/IDH7K+1t1ClsA==; 3:A2rmssL1+lEGY+d2iyQWyV116BVadhHkR6vujflb01RIHbaJiVx3CYVH7OeyqvwFD2Rh7CC8DwslcXngSRVvzgiZK9YqQpjiv4TkAbeLRMFRStZzdGAq75fF9iR70Nsm; 25:9PGvRUQfMCVVz8A7es/p1B7gyp/+lI4j/1Blg4lXtVMpsz0E/qXEjqqvgQro0sFfwArh1IXBqwWyd38mWVkJKdxotsHKWZdS+IFTAx8Q6Ri2IINL8mrJKiLitDU3T1te41z3KV9D8HkHYmDdwKtDRSgjxWqs/3QpF2biWmGVYwgEY6UzyYKj13eFH4Ye9i+L5IRvyvEdkouArKExSz7dWzHpEbxPxRkkJcTpgjsK2uKjDTLrHBLajWu5Uiqwdbl2 X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:BY2PR07MB616; X-MS-Office365-Filtering-Correlation-Id: 8609f2b9-28e0-4c8b-a12e-08d317bc0796 X-Microsoft-Exchange-Diagnostics: 1; BY2PR07MB616; 20:53EESimd1QJa4vHfajpGhPHE1gjl1mWT/QpfRnhUvsy40iB7s7TFhR8X+gDLfKkj847rMh2VrLct5MTP3EwE5xxq9eY3MZwSKXZAHWXYGPiYGBCubPtbVeHDTuMWJwH1CcqPfCVrzdb2t3QF4qjzypp9PccK2chZZf1K3OJFuPI1CC5jrN77fz3C+t/R6c+xSrjsh+xq8OjYv7JYGDVcBMeljcJlQ5Xp1d57kNolfqMbbPHutPvd1ss4Vckvtsfav00XBbywdJXrdlNa4UYtr+vkYHyHKNrd+X9AC7VOU4TcDDORMJ/nEndWJbV94YUriXTRaiTaCgUaNzCSFtOpQJgD4Xlw7P+YrjsMl53ldcIcWQ2Le16Y0ys4+SBqQACEN/WVbWFwBZfLnYk9fujJycH95+VYqZtrBOw/KnsNp7wEgvpj1LAH+rM24qUlPbsdb4fpiqbmBOpo1vF5F2S9eiKrqc48UFa/R6N7Q46c30K6To3bMpwRvA+r4b47Abj2rwbaqbMfhDMZXd/S6BEQj7Ck6ibpP3BYQiBzHwlWmUD2btgDjiMJTtcHgsmu106kpiU5GWnsql8qdg4iTwz9auSLyZzRTq5SfnDFrre8I/M= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(236414709691187); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(601004)(2401047)(5005006)(520078)(8121501046)(10201501046)(3002001); SRVR:BY2PR07MB616; BCL:0; PCL:0; RULEID:; SRVR:BY2PR07MB616; X-Microsoft-Exchange-Diagnostics: 1; BY2PR07MB616; 4:iia5mw4Dn2MIFA3py/SGqdF4jQH9+8dV0OwjL52K+JJxBKWF5gH7fmB60X9jEW/jWplOhC55eisimCVjddFUJCc9RN+noNqg1PPovw84In3d2tVq76IQG4x1KbURzOcCme2K9KNk+YC/EngrL233rb8QCQR0uMz3POQYK4oULk7XDz6Y7+9oqn0FJv8lwcflczVPNIiaSf0UTFDQxlRxMOsHBUy2m+GD1I0LiJNp0O2T8YzEpyEcOk14jDzQu227hhAVY6zlaxS2EB4E3Ke9FmygXJsauSbEEuIil8LlQ7yQWFA2idSZWDWwmvmD02mxnJtKdQajhvdhNYQhy7/JnLsI7VN0W515Eba1vTkYERSLTKjXPluH1g34VWHiECTtG0DtdOSzdNH1uq4fby+JN8+h+jBo4t81E+QW3gHBvOiKU4SN3j1R0mvNBMnjkOfG X-Forefront-PRVS: 0814A2C7A3 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(6069001)(6009001)(189002)(199003)(33646002)(586003)(42186005)(189998001)(47776003)(77096005)(2201001)(101416001)(1096002)(2950100001)(5008740100001)(76506005)(5001960100002)(5001770100001)(48376002)(2906002)(105586002)(107886002)(3846002)(92566002)(6116002)(50466002)(66066001)(36756003)(50226001)(87976001)(76176999)(106356001)(81156007)(229853001)(122386002)(97736004)(4326007)(19580395003)(40100003)(5003940100001)(19580405001)(50986999)(5004730100002)(4001430100002)(2101003); DIR:OUT; SFP:1101; SCL:1; SRVR:BY2PR07MB616; H:localhost; FPR:; SPF:None; PTR:InfoNoRecords; MX:1; A:1; LANG:en; Received-SPF: None (protection.outlook.com: caviumnetworks.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BY2PR07MB616; 23:Dj2cGvunQ23thUWAnXRB9kwZCzgkSxAGKbMkdl3P2U?= =?us-ascii?Q?m5r2zoqbtYcPVLpIU+Kz6gfvpRWMgEVzmNEO30jDp4ooDPRZbHwutwtXnVF7?= =?us-ascii?Q?FHjDERPRDx7hg6lmqdJpx4adnNBXm+4aTiuSS7ehS6kx8nXaLjOCm3gRH/Zc?= =?us-ascii?Q?MKKeo3KgQryu0TbQQf9rSX9x8cmkH4A5AwvemRJ8a5XsO96l8uYMAPhhbShc?= =?us-ascii?Q?7TNXFOQiTrEzf7INdOVGOV7hX2WQxT7GKqtqJAUFyuZSor9QLdTso5rpSAgH?= =?us-ascii?Q?VI5nnwbvNLxYzl9JlaZOjF/1vlhcXYxN6+j9F64KBGktfwkHQC/85zcqGPLT?= =?us-ascii?Q?Qa7A7wk6Vgst5Cn7wxv5KD3raGg3Lc5sbGg5aQuyI+MPum/aRMecFYkNE1x3?= =?us-ascii?Q?UDdhZUX2Pxx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ZusUswZzPxL9m38DyhIpFfz5P03t41Sa/IezhMij7yn482E9e5vjsjNY6uuIURnz55qGnkF0b3Iw==; 24:0DxGs+Bquk5tij6i3r1cJX/IhqvaVNVGpMrZLnplDKDhlMI4FhuT4TCfYkQhC2J4VF2TZFOo5O+OnWM+G62KCcgF08ubNDkSwiXaF8EbGU4= SpamDiagnosticOutput: 1:23 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 07 Jan 2016 23:41:13.3599 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY2PR07MB616 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160107_154135_258637_FE24CE13 X-CRM114-Status: UNSURE ( 8.96 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -1.9 (-) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: pinskia@gmail.com, Prasun.Kapoor@caviumnetworks.com, schwab@suse.de, broonie@kernel.org, Nathan_Lynch@mentor.com, agraf@suse.de, klimov.linux@gmail.com, Andrew Pinski , ynorov@caviumnetworks.com, jan.dakinevich@gmail.com, Andrew Pinski , ddaney.cavm@gmail.com, bamvor.zhangjian@huawei.com, philipp.tomsich@theobroma-systems.com, joseph@codesourcery.com, christoph.muellner@theobroma-systems.com Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-4.2 required=5.0 tests=BAD_ENC_HEADER,BAYES_00, RCVD_IN_DNSWL_MED, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP 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 | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/arch/arm64/Kconfig b/arch/arm64/Kconfig index 2c205a4..8606c15 100644 --- a/arch/arm64/Kconfig +++ b/arch/arm64/Kconfig @@ -763,7 +763,7 @@ source "fs/Kconfig.binfmt" config COMPAT def_bool y - depends on AARCH32_EL0 + depends on AARCH32_EL0 || ARM64_ILP32 config AARCH32_EL0 bool "Kernel support for 32-bit EL0" @@ -783,6 +783,13 @@ config AARCH32_EL0 If you want to execute 32-bit userspace applications, say Y. +config ARM64_ILP32 + bool "Kernel support for ILP32" + 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