Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933880AbbLOVv4 (ORCPT ); Tue, 15 Dec 2015 16:51:56 -0500 Received: from mail-bl2on0070.outbound.protection.outlook.com ([65.55.169.70]:13225 "EHLO na01-bl2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S932469AbbLOVvy (ORCPT ); Tue, 15 Dec 2015 16:51:54 -0500 Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Yuri.Norov@caviumnetworks.com; From: Yury Norov To: , , , CC: , , , , , , , , , , , , , , Andrew Pinski , Andrew Pinski 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 Content-Type: text/plain 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; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1;BY2PR07MB616;23:3sbMVXd5RcxHB7CEIFcq4y+Pm5YSuhWGOezNkj8ujB?= =?us-ascii?Q?UokYqcB9Vunuhaeiba7wnKEJ/lmuIY2wI1oV56y0SSALCDB9CjLb4OQwitza?= =?us-ascii?Q?pRAQoZi6QC0nT/UsrS0LkRQAqpCzPCoZTJtwyvbdAF03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6OxB1e1Fk8X4dkehUNPRaY9VbTsSKXS24Rh59N1lrAqGwXFGFMm2LBskif?= =?us-ascii?Q?o1s/SAHXt3GPWpyGktAW5uQ+X4dEcv5hSHTNSvD+ATP76V0L+tX/G0Hrqb14?= =?us-ascii?Q?29BXK+MWpwY8bxF/Z6PtgOKh/JxC1W?= X-Microsoft-Exchange-Diagnostics: 1;BY2PR07MB616;5:L6S0hJdKsP0XkM3ZlnTs0vxg+J8OWrOugnDAotKmqug1LAYDiydfFBZZ9Ho6c8P1wEnBNP/p0dw+vN32slzuStUY7frD98NPYNj6Hxc+HFEg/u1q4fINU7vEHPz5zsk1QwfOIolkM7Nz+6YSIqFeRA==;24:G5iJxr60uyvd1+k6GFcs+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 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1477 Lines: 48 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 -- 2.5.0 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/