From patchwork Tue Nov 17 21:16:59 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yury Norov X-Patchwork-Id: 7642411 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 3875B9F2EC for ; Tue, 17 Nov 2015 21:27:50 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 5EB8920429 for ; Tue, 17 Nov 2015 21:27:49 +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 DCE7520416 for ; Tue, 17 Nov 2015 21:27:47 +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 1Zynl5-0006Jw-Kn; Tue, 17 Nov 2015 21:25:47 +0000 Received: from mail-by2on0074.outbound.protection.outlook.com ([207.46.100.74] helo=na01-by2-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1ZyniD-0002Oe-Mo for linux-arm-kernel@lists.infradead.org; Tue, 17 Nov 2015 21:23:05 +0000 Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Yuri.Norov@caviumnetworks.com; Received: from localhost (95.143.213.120) by DM2PR07MB621.namprd07.prod.outlook.com (10.141.177.140) with Microsoft SMTP Server (TLS) id 15.1.325.17; Tue, 17 Nov 2015 21:22:27 +0000 From: Yury Norov To: , , , Subject: [PATCH v6 19/19] arm64:ilp32: add ARM64_ILP32 to Kconfig Date: Wed, 18 Nov 2015 00:16:59 +0300 Message-ID: <1447795019-30176-20-git-send-email-ynorov@caviumnetworks.com> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1447795019-30176-1-git-send-email-ynorov@caviumnetworks.com> References: <1447795019-30176-1-git-send-email-ynorov@caviumnetworks.com> MIME-Version: 1.0 X-Originating-IP: [95.143.213.120] X-ClientProxiedBy: AM3PR01CA053.eurprd01.prod.exchangelabs.com (10.141.191.43) To DM2PR07MB621.namprd07.prod.outlook.com (10.141.177.140) X-Microsoft-Exchange-Diagnostics: 1; DM2PR07MB621; 2:i/hPBx1g1g0I8yGdtI5a2XjJTz6q7zRZXowsT1Ju/bQi9qDtW0tHDbX0M+E400+WSTgmnxyFGuBvinG3IuZhcmr11ExnvBwt4KeUITuDQWy3fsV0Rv9iAV9QMIFjsJWWOrOyi4qWN2SBEXAvckI1QUisWE67GHVRHCEc0mdn4U0=; 3:fACzLBp5Qy56Rn1ZJj1MaEE4i3RRInS3bR8s+MMRsvlwbxuOlVNHed/m8L2RQ8NL9WGMyCLj2iR/ibs6YeBN9kbYniO1+QGHyqAFpBY8jC6WEDwrXoTPOOS0S4R18U+/coN3jKNge6m0XMExsuc5/Q==; 25:4uuacE9u+ooYHFWKNv1qDSCHPzvYazL4JCVGLquzvoB0VZS97ObfnEXU7QwURQG1oAw3OLzeo0KRFc35GfQ8dmfHifcVaYTMesyBzDNrGpsjvkObA0DIhW3s4Ukp245B24dMr5sU7NA4uqXAz84Vqa2arKq1m66R0dY5Z5d6hFJO0wMbzSAGJuYDvIretKAG6hPW3nXBn1JeCD7ortjvWC1H3D4VIUlj9e5NvxRAK1sbBFPGR4qRkcbRnQiRquR0TOAhqZLkTuGwO7y/XY3T1w== X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:DM2PR07MB621; X-Microsoft-Exchange-Diagnostics: 1; DM2PR07MB621; 20:LnmztY6UbWUkeSI2nqa8k7y3WSynfvH5FQUU03HQpngOvC+3ORWn/7MI22TXjTzlW74ZRLXE31EAnKiqMRsltRfAboHiGhdCMoXj2PPCLOYzsu1NbgBu6m4gh3P/gJ1aerlbfkufBVvBI6RdduNCNumbAT01r/zGBixKzcT9pS8bAuGAD8Sjk43zveHq8nIF3XUSji7ZaY+xyh9/1OmFsstLMS8h/0cWuqdpwlkWj62GlgGtEWzGTisSuoUFYFQ0++pz3aJGvP58Noa7psfzxW7gdpMjg1IW8kLsgBwFJ0bt2+8cMp2fG5nX1iXWTdBPKSb8N92BVgcbVTGtWHvDP+y2acB0+VdS33Zcu7ZQWT6eDdjG/xpzQwXOv0e5TonU7Db/mTypkgBl5UNogH3t6BnY8LTjhOPSdBfyWDCUMLOQ5VvpBg6pMtIftBMFKzCrI6d8cliue9nB7phm9kpcVeCqqjxogTJUF+f9sW3T4UQJ1Yj2WzwMzHMu7J+EK6TBtmDBvDwOKcuh5zzBi0jr6cIDCIEawIQ/5arkmvbO9HxogdsgyiiXW4ccN6idnG35psq/JHdxNH70EonQwYXrvTSrUjG7qBfrQk80ArJyr/U= 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)(3002001)(10201501046); SRVR:DM2PR07MB621; BCL:0; PCL:0; RULEID:; SRVR:DM2PR07MB621; X-Microsoft-Exchange-Diagnostics: 1; DM2PR07MB621; 4:rGF6Nbo7oAKTJWRoQxI9txSb84RNDVbVSwkNSqwK8yArWPmc/AtEFa71TmqUp3te8cLNeIIpd4S2oeHuJfs9eLw2SBT3yH9QwaCbYOfISKHqzjXX+veac17Ovq2bcbTAIZ5BxH7Dyqvo0NJ7Ow/QfMRfAcexyGjHZcY871RROt+le1jMkGM0C/Ble326w90YzT8FSfq0GQLOSw5XXW9psr9U4kjxJhe94oe5gOhUy9rICjjp1xTYvsATr9qRl1xteYVFJuaGTClKwT3ALfEyu4XIHJK3OszQEDkp0JgU410kKhWgAyiM330fjpCunGUB8OjONuQGsFNqxGXNqBDJFbnmpOP5GiFRMg6KsJ++cNsOKC9Bgq/QHjXt9NqFjfm5 X-Forefront-PRVS: 07630F72AD X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(6069001)(6009001)(199003)(189002)(87976001)(5008740100001)(101416001)(5001960100002)(5007970100001)(47776003)(97736004)(76176999)(122386002)(189998001)(66066001)(107886002)(5004730100002)(50986999)(5001770100001)(2201001)(77096005)(106356001)(19580405001)(19580395003)(48376002)(50466002)(4001430100002)(5003940100001)(42186005)(229853001)(50226001)(81156007)(33646002)(76506005)(40100003)(586003)(36756003)(2950100001)(105586002)(92566002)(2101003); DIR:OUT; SFP:1101; SCL:1; SRVR:DM2PR07MB621; H:localhost; FPR:; SPF:None; PTR:InfoNoRecords; A:1; MX: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; DM2PR07MB621; 23:+OLbqq3cSCqGzMyiLx75jx0EdNJnUtlHbzargiBxFH?= =?us-ascii?Q?N9YDcFSwuMpDyiq6qrNGehfZE6dTF2nwzymRAxM9KAvzmyf8Iww/3R9JQjiM?= =?us-ascii?Q?Onk5C0LsXPSiPvtA7Df6QKv1qpcmMkAH0Z8KzrND9YzYogFJXGmUduufUNH/?= =?us-ascii?Q?Q6fOPtGHEeD1S+Ni1DIYe+DyYuAKx2x90ORLjyZzKT1mXlozSmOvcNgrwlxS?= =?us-ascii?Q?UGpDqJTiq8fyqkX6nm+rxW98b4aYmjs2NWHH9XLfN1VBeIMmBraNxPDB6itX?= =?us-ascii?Q?vEQyKMQYbExfCH7naFPfon0+AML+GFrfEj1VC9ZhymZN/eMN/8Buj2W+yb2p?= =?us-ascii?Q?JzPmkSg04+Qm7jKcSnUUzf1J1tSsjLK3hDxWUERWQUC7AGM/UgZLeMoT3WOO?= =?us-ascii?Q?QVR3Vmr9itUe90ptYNf+mK29Px/QEiS5r2vKTa1doK8LJob9T0HGtcuB2jUg?= =?us-ascii?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MZLRuN3X3vlTcWL4lX7Q13tZyo6ARfCYmvWKo0Eq6kVXWAaVVjE=; 20:yC/OoiqFnozD8iy6Lj+ZiLdgTP0b6YhuHgNve3fr9x5XnuyD9LtwhA8djuvARiuBW9s/L4VII6erp2PrSVnppw== SpamDiagnosticOutput: 1:23 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 17 Nov 2015 21:22:27.1465 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM2PR07MB621 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20151117_132250_364683_8B1D82A5 X-CRM114-Status: UNSURE ( 9.10 ) 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, Nathan_Lynch@mentor.com, agraf@suse.de, klimov.linux@gmail.com, broonie@kernel.org, jan.dakinevich@gmail.com, Yury Norov , ddaney.cavm@gmail.com, bamvor.zhangjian@huawei.com, philipp.tomsich@theobroma-systems.com, andrey.konovalov@linaro.org, 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.8 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. Reviewed-by: David Daney Signed-off-by: Philipp Tomsich Signed-off-by: Christoph Muellner Signed-off-by: Yury Norov Signed-off-by: Andrew Pinski --- arch/arm64/Kconfig | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/arch/arm64/Kconfig b/arch/arm64/Kconfig index 4753d435..deec37a 100644 --- a/arch/arm64/Kconfig +++ b/arch/arm64/Kconfig @@ -680,7 +680,7 @@ source "fs/Kconfig.binfmt" config COMPAT def_bool y - depends on AARCH32_EL0 + depends on AARCH32_EL0 || ARM64_ILP32 select COMPAT_BINFMT_ELF config AARCH32_EL0 @@ -702,6 +702,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