From patchwork Thu Jan 14 17:23:16 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yury Norov X-Patchwork-Id: 8034661 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 63672BEEE5 for ; Thu, 14 Jan 2016 17:34:01 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 85DB52044B for ; Thu, 14 Jan 2016 17:34:00 +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 9FB5E20430 for ; Thu, 14 Jan 2016 17:33:59 +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 1aJllE-0003Mw-Fb; Thu, 14 Jan 2016 17:32:36 +0000 Received: from mail-by2on0065.outbound.protection.outlook.com ([207.46.100.65] helo=na01-by2-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1aJlhQ-0007Ct-5g for linux-arm-kernel@lists.infradead.org; Thu, 14 Jan 2016 17:28:59 +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.361.13; Thu, 14 Jan 2016 17:28:17 +0000 From: Yury Norov To: , , , 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 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: 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/3nDNStnwKhjR7yLr89EmOuGPwsTl0SHasR2H9aWGWszmBStHptchF0f?= =?us-ascii?Q?FJ9Si6Fz5lZj5W05ofSxNVZnGrcSFyC3pE5eLDO84R10JWvkcmKg8sOpSuAq?= =?us-ascii?Q?f5xEz3eHa8J1C1YkfgYrE1cHS+QrRtvfCA5sYs0nfNP4/IcKNnFhXqCBwtA4?= =?us-ascii?Q?c1l/nsVl/+3Gy1C12T3qg6kA4bH7PcBT4a/8ouEkNf7Tnj5oaC3rYonSbAMh?= =?us-ascii?Q?zQYfdeUyAkyypGmxHJsub69ucwp3iBomiw2Qsr5olvOfWt1yFDOCzJ0qpYYE?= =?us-ascii?Q?3AMqiynjw7E/JPdGQnynzX8x2ktW+v8B+0pFC4GMTbQZ75djZ4T1aO4CgvI9?= =?us-ascii?Q?WZ7ceWiSpZ0W5r9c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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 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160114_092840_610524_DE3271A2 X-CRM114-Status: UNSURE ( 8.64 ) 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, heiko.carstens@de.ibm.com, agraf@suse.de, klimov.linux@gmail.com, Andrew Pinski , ynorov@caviumnetworks.com, jan.dakinevich@gmail.com, Andrew Pinski , schwidefsky@de.ibm.com, Nathan_Lynch@mentor.com, Philipp Tomsich , 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, 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. 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 | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) 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