Message ID | 1447795019-30176-20-git-send-email-ynorov@caviumnetworks.com |
---|---|
State | Superseded |
Headers | show
Delivered-To: patch@linaro.org Received: by 10.112.155.196 with SMTP id vy4csp2185557lbb; Tue, 17 Nov 2015 13:22:35 -0800 (PST) X-Received: by 10.68.69.81 with SMTP id c17mr48333100pbu.132.1447795355227; Tue, 17 Nov 2015 13:22:35 -0800 (PST) Return-Path: <linux-kernel-owner@vger.kernel.org> Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id xy7si39795156pab.6.2015.11.17.13.22.34; Tue, 17 Nov 2015 13:22:35 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932383AbbKQVWc (ORCPT <rfc822;pingbo.wen@linaro.org> + 28 others); Tue, 17 Nov 2015 16:22:32 -0500 Received: from mail-by2on0080.outbound.protection.outlook.com ([207.46.100.80]:57698 "EHLO na01-by2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1754859AbbKQVW3 (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Tue, 17 Nov 2015 16:22:29 -0500 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 <ynorov@caviumnetworks.com> To: <arnd@arndb.de>, <catalin.marinas@arm.com>, <linux-arm-kernel@lists.infradead.org>, <linux-kernel@vger.kernel.org> CC: <pinskia@gmail.com>, <ddaney.cavm@gmail.com>, <jan.dakinevich@gmail.com>, <Prasun.Kapoor@caviumnetworks.com>, <christoph.muellner@theobroma-systems.com>, <philipp.tomsich@theobroma-systems.com>, <broonie@kernel.org>, <andrey.konovalov@linaro.org>, <Nathan_Lynch@mentor.com>, <agraf@suse.de>, <bamvor.zhangjian@huawei.com>, <klimov.linux@gmail.com>, <joseph@codesourcery.com>, <schwab@suse.de>, Yury Norov <ynorov@caviumnetworks.com> 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 Content-Type: text/plain 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: <DM2PR07MB621B999F7C6A358671643E0EE1D0@DM2PR07MB621.namprd07.prod.outlook.com> 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?Onk5C0LsXPSiPvtA7Df6QKv1qpcmMkAH0Z8KzrND9YzY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Bhy5wV7SpYT927VOno2ZtCaN2/g8JfiqZoUztb1jjvBb6Lxit?= =?us-ascii?Q?xypzxZ1DjkPvujcXqzLKaARCnc0SVMcrDDZKCso0vizOHfNicw5qpx8IzGga?= =?us-ascii?Q?x3UVBdmcE=3D?= X-Microsoft-Exchange-Diagnostics: 1; DM2PR07MB621; 5:TXronmQEBTNO2cNmnAvLfpqEXi6nCPZUdzOMlCMC2gp/z3B7dKv1SgpwSiRdJ3FP3iOXSnZJGp0nWZhC4kZ5+Feb1g813pQxyFA2k2WmN+T922HSy39rp308YKVJbJozKOVWwSGhv4ADygEgxoKh8Q==; 24:FZHiEe7Ztxjs1wla6I4qYg2bCBFL1ba1BCu2N4gF0qph2cu1OHFscUeHMZLRuN3X3vlTcWL4lX7Q13tZyo6ARfCYmvWKo0Eq6kVXWAaVVjE=; 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 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org |
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