From patchwork Fri Jun 17 23:54:28 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yury Norov X-Patchwork-Id: 9185245 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 243D0601C0 for ; Sat, 18 Jun 2016 00:05:51 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 0EE1827EE2 for ; Sat, 18 Jun 2016 00:05:51 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 0265C2833E; Sat, 18 Jun 2016 00:05:50 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.1 required=2.0 tests=BAD_ENC_HEADER,BAYES_00, DKIM_SIGNED, RCVD_IN_DNSWL_MED, T_DKIM_INVALID autolearn=ham version=3.3.1 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.wl.linuxfoundation.org (Postfix) with ESMTPS id 80E8A28327 for ; Sat, 18 Jun 2016 00:05:50 +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 1bE3k8-0004Jj-Na; Sat, 18 Jun 2016 00:04:08 +0000 Received: from mail-bl2on0070.outbound.protection.outlook.com ([65.55.169.70] helo=na01-bl2-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1bE3cc-00023o-9u for linux-arm-kernel@lists.infradead.org; Fri, 17 Jun 2016 23:56:28 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=CAVIUMNETWORKS.onmicrosoft.com; s=selector1-caviumnetworks-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=s/st8pHyVcq3o5CrH3+eYTYD1HuCyJusgWhfDFplDNM=; b=aV4p2WZQJomchcVM5LwvoOTPxCE1vb43yfHDu7cla/G0hgwwoRjBPaVg+TDAtZlFRQBDgZoRyUXRgUsRAssIF9Pbkcxmgu4LPmic7/lHmmbCAS0m29hDP9BAv5Wb0RW2786J5PQkU76WnhUSyoPvQo+GfQ33Fn9QFMEdy0GvNLc= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Yuri.Norov@caviumnetworks.com; Received: from localhost (50.233.148.158) by DM3PR07MB2250.namprd07.prod.outlook.com (10.164.33.148) with Microsoft SMTP Server (TLS) id 15.1.523.12; Fri, 17 Jun 2016 23:55:59 +0000 From: Yury Norov To: , , , , , , Subject: [PATCH 19/19] arm64:ilp32: add ARM64_ILP32 to Kconfig Date: Sat, 18 Jun 2016 02:54:28 +0300 Message-ID: <1466207668-10549-20-git-send-email-ynorov@caviumnetworks.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1466207668-10549-1-git-send-email-ynorov@caviumnetworks.com> References: <1466207668-10549-1-git-send-email-ynorov@caviumnetworks.com> MIME-Version: 1.0 X-Originating-IP: [50.233.148.158] X-ClientProxiedBy: CY1PR13CA0110.namprd13.prod.outlook.com (10.164.65.36) To DM3PR07MB2250.namprd07.prod.outlook.com (10.164.33.148) X-MS-Office365-Filtering-Correlation-Id: 17e74313-d5af-475a-f06c-08d3970aeea8 X-Microsoft-Exchange-Diagnostics: 1; DM3PR07MB2250; 2:bd2sX6R7RsawtQCQLwMcharoat5eypOoBrPBlw1SIIYveTBp27HQ+8MrGBPOYve7BDOUKk6mlyldJRowwRRc7HRjQXTT9gGGMmHywnaso3xIc14soVuMqkWB+pxHCGoQ5OFYnqTD4FHVazmBzQxOmzJwjVyjb7+MiTnJPnx8NjeiIPfSoo6uhTnmA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Zmrz3XCxqPVlgVOTKCIyRuGgsjjXb2lsmREarcciLy8OFY7bh1n67Fq7ZhISaok328gS/zll16HZoVtRxwtQwjnjBTr5OlGEGjkQs1aklkjsPDbQLTOTtyblSGYavbC6VVgOHbubgwtdlF8mNMSvbRXX+15FlZfKx0jkNeJKcgjkk+kzd0lVx9vBC5ZAGOZmtengYEAhRPFTtzjN1VI= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(278428928389397); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(601004)(2401047)(8121501046)(5005006)(10201501046)(3002001); SRVR:DM3PR07MB2250; BCL:0; PCL:0; RULEID:; SRVR:DM3PR07MB2250; X-Microsoft-Exchange-Diagnostics: 1; DM3PR07MB2250; 4:lpv8gM5va7GPwAc2Yq8Sv53Dn9bDo9LZV6gYLOleasN8M6IXJOlTgBVMqotIGttdHCKbimDrIu3C81zdjw9mH/3TJ05I/NUuQWGvdkIH3mnNsT13xJ8V9aWffRErtbqgdTcDeLiCxOZj4RJtL/ZK5FgGwR5/s/fSE41xiGFxihpg1qtxE/J/YMs0onNqWf7d6uSe/7IUvaCi8KAoMMZxOqVNxtrOhFjIXo2wpMquoK6Eb77D+LEX7acr2IyOe7DxDqp1VN+LrrnxmpgwhJZ0GCicPcH5YpJhSwUayx8DYauuF7sCQ5yZL2sB/SCBdLqrARUKM5UAphqiqkISvdPPLmNyYUCPKHa8nSQanj5vGLHMS0ccnzspb0B/VQ1vhEOGpkOxyTtyoNqhtZUAePkXYVhoWPk4zp5/BTzNQBT5fps= X-Forefront-PRVS: 09760A0505 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(4630300001)(6069001)(6009001)(7916002)(199003)(189002)(36756003)(106356001)(105586002)(4326007)(19580405001)(5001770100001)(97736004)(48376002)(81166006)(81156014)(19580395003)(50466002)(8676002)(101416001)(2201001)(92566002)(76176999)(50986999)(229853001)(2906002)(33646002)(2950100001)(4001430100002)(5003940100001)(5004730100002)(586003)(76506005)(66066001)(50226002)(68736007)(189998001)(107886002)(77096005)(42186005)(47776003)(3846002)(6116002)(7846002)(2101003); DIR:OUT; SFP:1101; SCL:1; SRVR:DM3PR07MB2250; 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; DM3PR07MB2250; 23:1OK7FqPEkNOrm4XS3kLBSWlrqLBwICOhSScL8NU3h?= =?us-ascii?Q?NZIQvuQMbcR5wP1dx1OUCxxetc+KL5CQRkQGNs738VXu2hhXTgcyIdDMK8us?= =?us-ascii?Q?BlmtxkO7WlCw/XTOozK8RzT9/c8Lmvqdszm2KbtQEr2WVJUbF6ODYcwOOBcj?= =?us-ascii?Q?JNljYzMY9vSGJ1pKpkKkS1a3rfT9r5C46F8XYjj/2/x9WghEqeHONqCEfJuM?= =?us-ascii?Q?h8zSuNgvd5Nf508npdgRJ+aYgkAKBRXmmA/Ph2tUQPJwZGdt+sH6VHtyAdy/?= =?us-ascii?Q?EUjXhWCZ0ES1CpaxODqIZzRG8jle5kqL5iBe4NCnUG2Md8LMixT57rFAVOam?= =?us-ascii?Q?miXjY5aWV7fNTsFU8tvFr/yjxjEqzlzTFsc+fKIjB/oAv5x534CNGBrr9KJy?= =?us-ascii?Q?4P3Zp8i7e9jPAZfPB1dOrDZKo8nl2JKFtFkTCiAa35yb24U5qwXJByYj/dUv?= =?us-ascii?Q?vSMpx7/KeduodiEupNreSuWj7q8Lc1yIjanvezbkZit+zydhmZbWWwU/qwEQ?= =?us-ascii?Q?Mlrd/TM5Ms2RAqra/g02zzLKGHg7O7JIxn9e7AZwdeU342iCkvLVWIonNa1y?= =?us-ascii?Q?gYN5H2LwV3F6fLdE5iWfuaHeNNZPoK/17h/eu557hMXpwVUUzi1hsrSFnR6y?= =?us-ascii?Q?zqeVwMwldvSwbXkh6W1FbJIXWHIol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yMl3JlMomUOPyWdbbc2pY+HBZpNvBzpQ==; 24:3QOnMBVD0lkCoVgcIGxG0TcnRA+Y1FsL8qBwnZ8sfSGsoqRyHAKujlTB1LT8AbUSGbZmwkyrkd3S4/JqdeIIh+4SMgFaf2gw0fLJzUYzXcY=; 7:2VQQsjh/BrEMvcBLgF/FtKY/6xCQX0aCPiuVEQ0dOBLVO/+D/dxCUNXTLWXWKORrawCdZP361pvKyS69DyOPvQQF+o0tq+F3YllYg384T/3R7KoGokh6eKweEWSydL+kTnj1LKvsZRgiL0amuRbe/u2uWMq+xoLZ8WneqLn6HiYZl3Xxf+PD8RZpuy7zBTR0L253FeknBEdRsyo6J9MHnytqlw45h9ogoCgW5pO9p02NyuJDA/6we13apIvzcu+n SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 17 Jun 2016 23:55:59.7246 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM3PR07MB2250 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160617_165623_035930_E344E474 X-CRM114-Status: UNSURE ( 8.79 ) X-CRM114-Notice: Please train this message. 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: szabolcs.nagy@arm.com, heiko.carstens@de.ibm.com, ynorov@caviumnetworks.com, philipp.tomsich@theobroma-systems.com, joseph@codesourcery.com, Prasun.Kapoor@caviumnetworks.com, agraf@suse.de, Andrew Pinski , geert@linux-m68k.org, kilobyte@angband.pl, manuel.montezelo@gmail.com, pinskia@gmail.com, linyongting@huawei.com, klimov.linux@gmail.com, broonie@kernel.org, bamvor.zhangjian@huawei.com, maxim.kuvyrkov@linaro.org, Nathan_Lynch@mentor.com, Andrew Pinski , schwidefsky@de.ibm.com, davem@davemloft.net, 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-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 | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/arch/arm64/Kconfig b/arch/arm64/Kconfig index f5735ec..2897648 100644 --- a/arch/arm64/Kconfig +++ b/arch/arm64/Kconfig @@ -972,7 +972,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" @@ -994,6 +994,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