From patchwork Tue Dec 15 21:42:46 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yury Norov X-Patchwork-Id: 7857731 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 CBD4B9F349 for ; Tue, 15 Dec 2015 21:56:45 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id CD4FB203C2 for ; Tue, 15 Dec 2015 21:56:44 +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 F06E4203C0 for ; Tue, 15 Dec 2015 21:56:43 +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 1a8xZ2-00061V-RV; Tue, 15 Dec 2015 21:55:20 +0000 Received: from mail-bl2on0099.outbound.protection.outlook.com ([65.55.169.99] helo=na01-bl2-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1a8xW2-0001kf-KA for linux-arm-kernel@lists.infradead.org; Tue, 15 Dec 2015 21:52:24 +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.355.16; Tue, 15 Dec 2015 21:51:51 +0000 From: Yury Norov To: , , , Subject: [PATCH v6 20/20] arm64:ilp32: add ARM64_ILP32 to Kconfig Date: Wed, 16 Dec 2015 00:42:46 +0300 Message-ID: <1450215766-14765-21-git-send-email-ynorov@caviumnetworks.com> X-Mailer: git-send-email 2.5.0 In-Reply-To: <1450215766-14765-1-git-send-email-ynorov@caviumnetworks.com> References: <1450215766-14765-1-git-send-email-ynorov@caviumnetworks.com> MIME-Version: 1.0 X-Originating-IP: [95.143.213.121] X-ClientProxiedBy: AM3PR08CA0033.eurprd08.prod.outlook.com (25.160.207.171) To BY2PR07MB616.namprd07.prod.outlook.com (10.141.222.156) X-Microsoft-Exchange-Diagnostics: 1; BY2PR07MB616; 2:p/kFM5zgnpPHBFabAIKebMlGtYkktLJaiksEK6rmBrw4SRFH3HqUVXmklH6Njg3+gTjyvBdG+0YUvt4FbuL2clNMaEBhdSfTBqNLOsCI9m6Jlo8fjONoB7C1eksla4KczGnppuUpW/ZLorZfPoXeAw==; 3:pW/5aCfBR4XBMFKAQzRMBgp0f7fSPZwaQ6kj/6ffNAze7ndm+BlqD0WFA4uqTF4CMxJOLRZovJriaKwXekHT/mCt88kd+QXlEh7wCeGfhRuM+2BQZQ/F2bvjg7UoBRQQ; 25:5HlLDUQytOSe0bY8am4awkj8T5+Z2kHdp+nGRs5M/0otHqapJIfUhV6lKjt6X9OGiFVoGkqEIG5C59Ox/Pa+W5MrlPAIateZux/TetljUE54mtkns81PIG/fJkmjSWNE8QondG1U7hH2kz0U0GAiOYUgznAiWgd8+CHQwDv8hzS7GLNuYLAWCHW9tlS3Y+0bO6OUUUD89CH/qU5W+tCfXwaXcOV5iULTbuiSj6ydDW43HJavC071ENc+B/ICV8T1vj674zJPE6laYu27C2OafQ== X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:BY2PR07MB616; X-Microsoft-Exchange-Diagnostics: 1; BY2PR07MB616; 20:sXTQv6Misls12+mFHgFJshX50ycm7vwxFSsohQj+VC/1FiZ+5yGZ97Q9aeebgQ7oZsOFokMFbGdiAHONTWaRfIT6yrg1imGh7YFxLgsSqYIStFK5JBo/sOIli0o7g0Jx8TaKlDIaS/8k1JS+C0ZyqHLAQj2nsrs31t45U6EpCy7hvYrqaw8lb147U0audDwwOQyStd0+DU8mBplKpx7sFk4xA/d6plXg9re6lO13EpUEDVJIcsm8cnPp4y0btIAjcxngP+01fX37DNempu+QQGbsEkcaTOOuujslmfv3YPNqVoIkCuoJhQeeYDdRnEMO6PX3slvhv+VFWwGE+HDXT2yIl6r0qudE7j3YfXx8eZvTKoZdj67UTjpF2lfWmxV79AX1nISLONb/FImjicS7rVIeXWLCr9+QcMLtVlsMZKhI5qZioZ6gBzHfOaFA+/PqRWbAVjecI9yl5l2AVqtHfYMwdN5dP2u8K3YNWvTD9NuPrBzoCxNNzEdkBOO9WRSw2YEeLWCEE7N4haC+f5JeHs8nw4+rWFlkTBcaD0SOY2aXxmcIm3zKOvSlSjcWrK+EtPLKlwYvKiDenwiNRsi1BILL4v9EKnIjz+W2+HJ/EJM= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(236414709691187); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(601004)(2401047)(8121501046)(5005006)(520078)(10201501046)(3002001); SRVR:BY2PR07MB616; BCL:0; PCL:0; RULEID:; SRVR:BY2PR07MB616; X-Microsoft-Exchange-Diagnostics: 1; BY2PR07MB616; 4:nBywHDi9iDv04UwEdaudDMhJnVDcTYuVD/xFJj1QPgd8DUapVAmTSmT9KzGfZao+OiLBoUpC/abNh0E8GL2GJqyaPZK1LOa4+xVrJ7NkTK3anQrnCS4Qu1FB7h7ebkbNdp4ld+SXjp4wfQyFoULME/sbVVRSW204rgunrQZiw6NpYjFes49KVa17LJ+Lnuzq0cPTNmd/oJPbStefXCcNukJhSev7+iJBcb9w2QnWhPZbndYjkU8u77uWP81kdBb/5NLAPLnBUoYB98o4BAxNGFKbhdflkAuLSoerLVPWJAu9lY2nz+ujCq7dXUSJEnGZzxXF9RJ1C7xQezBFyQoH7WMvrb71DI750n1TResgtZLkRdpleUCEoqY+7aYBcWUVbff0eqSVM4w3z+Fo/UInAXqQa4Wmv8egJadOP/t1Nsqi50frADYQ484e5gY1Yls7 X-Forefront-PRVS: 07915F544A X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(6009001)(6069001)(199003)(189002)(1096002)(2950100001)(5008740100001)(101416001)(77096005)(3846002)(48376002)(6116002)(50226001)(4001430100002)(2201001)(33646002)(76176999)(47776003)(40100003)(5003940100001)(229853001)(50986999)(50466002)(586003)(66066001)(87976001)(42186005)(81156007)(36756003)(107886002)(5001770100001)(189998001)(105586002)(5004730100002)(76506005)(106356001)(122386002)(97736004)(19580405001)(19580395003)(5001960100002)(92566002)(2101003); DIR:OUT; SFP:1101; SCL:1; SRVR:BY2PR07MB616; 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; BY2PR07MB616; 23:3sbMVXd5RcxHB7CEIFcq4y+Pm5YSuhWGOezNkj8ujB?= =?us-ascii?Q?UokYqcB9Vunuhaeiba7wnKEJ/lmuIY2wI1oV56y0SSALCDB9CjLb4OQwitza?= =?us-ascii?Q?pRAQoZi6QC0nT/UsrS0LkRQAqpCzPCoZTJtwyvbdAF03VgrAGu4Wk3FtlgTA?= =?us-ascii?Q?6s8MyWx8+kjTCw0EKfH/kGQGdBcgcHb1NF1iOrDRsxwE9pxYpIcVuaT/w1Sj?= =?us-ascii?Q?j2Xmljz/W1CJRL1Bby4Xpe59/SoMzp1jDXC91V0Pl+xpXOr3GEtPnfsUWmr4?= =?us-ascii?Q?CHar6q2Ym2DsKibMyi0gQiq17XpssXh7KKRDRfqhmatZGvytx19JDiFJsSc6?= =?us-ascii?Q?zGPdzhjrQHd38HVb5vjYJdwxjXPo1c+uiDOtMwudn+lLyuo5YW21BGTBqXjD?= =?us-ascii?Q?zrwTbdWQWvUBt1RWHikcKLn5MP5fab4FXawAYVaFmAb6reMIqQHR7rIRtbE4?= =?us-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+Zs5b/m7wJ5qNnwH2F4dJ/N9RCZ3lT+M0IiGE24M1PIYW8hQsVSmDpRltq9b4hvp482m0u2etrNPK2sjzgLWycU= SpamDiagnosticOutput: 1:23 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 15 Dec 2015 21:51:51.1903 (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-20151215_135215_321003_590B1266 X-CRM114-Status: UNSURE ( 8.78 ) 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, T_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