Message ID | 1452792198-10718-20-git-send-email-ynorov@caviumnetworks.com |
---|---|
State | Superseded |
Headers | show
Delivered-To: patch@linaro.org Received: by 10.112.130.2 with SMTP id oa2csp18791lbb; Thu, 14 Jan 2016 09:28:31 -0800 (PST) X-Received: by 10.98.86.8 with SMTP id k8mr7626687pfb.28.1452792510610; Thu, 14 Jan 2016 09:28:30 -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 m63si10529470pfi.23.2016.01.14.09.28.30; Thu, 14 Jan 2016 09:28:30 -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 S1756599AbcANR2Z (ORCPT <rfc822;mathieu.poirier@linaro.org> + 29 others); Thu, 14 Jan 2016 12:28:25 -0500 Received: from mail-by2on0086.outbound.protection.outlook.com ([207.46.100.86]:46118 "EHLO na01-by2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1753931AbcANR2T (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Thu, 14 Jan 2016 12:28:19 -0500 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.361.13; Thu, 14 Jan 2016 17:28:17 +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: <schwidefsky@de.ibm.com>, <heiko.carstens@de.ibm.com>, <ynorov@caviumnetworks.com>, <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>, <joseph@codesourcery.com>, <christoph.muellner@theobroma-systems.com>, Andrew Pinski <apinski@cavium.com>, Andrew Pinski <Andrew.Pinski@caviumnetworks.com>, Philipp Tomsich <philipp.tomsich@theobroma-systems.com> Subject: [PATCH v6 19/21] arm64:ilp32: add ARM64_ILP32 to Kconfig Date: Thu, 14 Jan 2016 20:23:16 +0300 Message-ID: <1452792198-10718-20-git-send-email-ynorov@caviumnetworks.com> X-Mailer: git-send-email 2.5.0 In-Reply-To: <1452792198-10718-1-git-send-email-ynorov@caviumnetworks.com> References: <1452792198-10718-1-git-send-email-ynorov@caviumnetworks.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [95.143.213.121] X-ClientProxiedBy: DB5PR02CA0010.eurprd02.prod.outlook.com (25.161.237.20) To BY2PR07MB616.namprd07.prod.outlook.com (10.141.222.156) X-Microsoft-Exchange-Diagnostics: 1; BY2PR07MB616; 2:fvFrwLfJI6RRmEVIFpzDTz/7g/fjukaUR+rw5UjZQ3XlTnWn8ZNyuc7z80GXrpowUmnvjBiY25BkUG8gClV6DyQiArfeHldUdIBZcvOoG1at7KXK82poXRVHuGeBgXkGlbt0MQsQQsdHb0UeL0ykGQ==; 3:BtYMzOPwywQBoEHhmdSxzXJudesjZGXnJFAdHTvpGgoCFIbRXfPJ1Ma9l14xn/f6vXNLchPxIr/kSyPrprNscPHzcdwEOKh8Xrdijy3hxDkOG+qA7K/7cicOUgdpuxd2; 25:efq3NU1LiiGmuZFSat5Sl/46qzl/rZPAsB0gT20bgW3udnxNxMxuBVbfmOkM+VtPng70hhWnUYRkNfw7lPVquu2WqOvqDLAUGDXmbnk9LrOa3J3pAnIy5ywl6tjAy3uxx/0RFC7sWFUMzKA8hIMDUkT16pAyYteATzHNVjcpP6q8QduXmZXBqTYtK0fgOaaS2PVqlKzKKZk4KBN9vRgWHaKZ/iIVZwsNOPzoWfGPFteDQUQUvdC8n980G2opDGO0 X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:BY2PR07MB616; X-MS-Office365-Filtering-Correlation-Id: fb0f64e2-9e53-4edf-0a9c-08d31d08176c X-Microsoft-Exchange-Diagnostics: 1; BY2PR07MB616; 20:pM5G1Tk3GDVdojKmmj7xkMxNGdTjHRh7vk/XG2xn/aXkLr3uvWRoBDOeYitCVrgV9h4FHoqkJfNvM9bF9GgX5xIdAc/tC0lLQUQ/+Op9q1mZMtTCDhhp2CG4XgW01yU9be/uSkusn2g1e0o7Cbpw5ryGi8QtcsUuf7Xc9scXjT5mpTA50GSM+9NKaS4BgCTSOppq1obEeJLXVCreyRmMCtLRxiLdrNhFX2PuU+IZBzoxkZsrmG6o8EAYBZZk9g4QmuIizc4tqLd/bnhMa2R1VexHr/9MpnWGqoFO4e2BUJb3w/NmKVpiQNntHtJx4hVgtcoNJPyTR1jjFJuHLW2QNAyc9FDaIM232QKhImd8jyS0OwpNI2O+Hh11YKQJyGyY+NCYaOOEVeMMgH/MvncySWot3GQGAB1rC4O2OQJXqln3fBUwo1QWg2CKXOTWetypyaU19xpZGVW74ZxGIL96vXJrUtfZzYWVpEAKB2xjQ7B4fDYchLWYxBGJnhCYY7snR/iKddmKOrZuADTI8PtL+0ob15JPYtOJCFgRijx3zxhIzpdSSKD2euZb5RLLr3nTsDrRYDlZrHaRp0NGKeLIE6yLBWZelzzaP3Ledc9ZeJQ= X-Microsoft-Antispam-PRVS: <BY2PR07MB616B492D0E95AA2C7E74C28EECC0@BY2PR07MB616.namprd07.prod.outlook.com> X-Exchange-Antispam-Report-Test: UriScan:(236414709691187); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(601004)(2401047)(520078)(8121501046)(5005006)(10201501046)(3002001); SRVR:BY2PR07MB616; BCL:0; PCL:0; RULEID:; SRVR:BY2PR07MB616; X-Microsoft-Exchange-Diagnostics: 1; BY2PR07MB616; 4:hma9leM+SRUcswRJke9aUE4TF/00RXWnCFdefvzIMcioCukzuZ8XMXa+zfnPsxmdYBTc4VDekQeSFM1XEPoA4avnyxd4zXi87t3bEW63/aQH0u1mhCxNcA1GZyPpBuwC3FeJ5EZKKjxUqeHExRCfOEg7uGd58WQ1qxzvboRVHvePrZQ0pmaIX+aG4yj2uwDaFLxxesJkgzxRTO+6QfW1ry4aERIQecF8kfSrPg9Xekd59506yShPkEVspcQ9C/YicrfIImMfNYPjbUOV+IHxbJ7nT+KbYeza+wSRIE+ijQgnx86VwPoVnwk2dt6qFptE3ZcE5+uvXZCl9+klUfqWGA/8wS81WD/vFwG9/ohd386iqudypLxNoBTekInd56IJsZwGRDOunZI6ya1b3YOqoPRrwU4IqpHZRln0bDy3bX2HpUrjMsThbQ9CdcBF46Ig X-Forefront-PRVS: 08213D42D3 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(6009001)(6069001)(199003)(189002)(36756003)(50466002)(33646002)(229853001)(2201001)(105586002)(5004730100002)(42186005)(76506005)(40100003)(5003940100001)(5008740100001)(19580405001)(2906002)(19580395003)(6116002)(4326007)(92566002)(81156007)(2950100001)(87976001)(5001960100002)(586003)(76176999)(50226001)(1096002)(97736004)(3846002)(47776003)(48376002)(5001770100001)(77096005)(66066001)(101416001)(122386002)(106356001)(189998001)(50986999)(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:+GuOmt7iTIF5tABVtEVuWfvWl7npcnsVv/b2vqVeqm?= =?us-ascii?Q?wWYl/3nDNStnwKhjR7yLr89EmOuGPwsT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=?us-ascii?Q?SgSZa9CCX6BRnIXtdEjITAqNZsvWuB4udJi7728+8JVbLk6gYKU5w2LW/9VI?= =?us-ascii?Q?XwFHcQEYXpei0Xf54o9C0FAo731Kgrcx34GotxP1hTDdNaviNTEDCdEHZrZh?= =?us-ascii?Q?p8m7sK6GITc39qRlkdMGtUvrh+G/sS73LhL+am4HyF/+YzC6v90yBWz/HzNB?= =?us-ascii?Q?duW/Qlsxg=3D?= X-Microsoft-Exchange-Diagnostics: 1; BY2PR07MB616; 5:5/v0K4Tkwy2E1F2034D9GxEj3qFD/OJ/11/q3jyG/OZuWC1zCLpzX32n8bUX7g5dpNHWnCBgVxnAGVQfpj8axPi/uLPOWTtM6NgegEQj5NOu00zw02AgdP3bOOBlTf0kPMnYep5ZX+aac3dry0bHmA==; 24:MFsk0uE7JvvfCDPGDbgA9fPJctxijbRNescEpvIcIuh+CB61JgZhki+euGpEpUkqn5kk50N92yIP+qtZmUd6ng5YLPDx3Z9QwXsY5MPWTQ4= SpamDiagnosticOutput: 1:23 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 14 Jan 2016 17:28:17.4584 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY2PR07MB616 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 2c205a4..8606c15 100644 --- a/arch/arm64/Kconfig +++ b/arch/arm64/Kconfig @@ -763,7 +763,7 @@ source "fs/Kconfig.binfmt" config COMPAT def_bool y - depends on AARCH32_EL0 + depends on AARCH32_EL0 || ARM64_ILP32 config AARCH32_EL0 bool "Kernel support for 32-bit EL0" @@ -783,6 +783,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