From patchwork Thu Jan 14 17:23:00 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yury Norov X-Patchwork-Id: 8034411 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 89A62BEEE5 for ; Thu, 14 Jan 2016 17:26:11 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id AD23B20499 for ; Thu, 14 Jan 2016 17:26:10 +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 50E882049C for ; Thu, 14 Jan 2016 17:26:09 +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 1aJldf-0002SF-KF; Thu, 14 Jan 2016 17:24:47 +0000 Received: from mail-bn1on0065.outbound.protection.outlook.com ([157.56.110.65] helo=na01-bn1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1aJldX-00020r-B1 for linux-arm-kernel@lists.infradead.org; Thu, 14 Jan 2016 17:24:42 +0000 Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Yuri.Norov@caviumnetworks.com; Received: from localhost (95.143.213.121) by BY2PR07MB615.namprd07.prod.outlook.com (10.141.222.150) with Microsoft SMTP Server (TLS) id 15.1.361.13; Thu, 14 Jan 2016 17:24:15 +0000 From: Yury Norov To: , , , Subject: [PATCH v6 03/21] arm64: rename COMPAT to AARCH32_EL0 in Kconfig Date: Thu, 14 Jan 2016 20:23:00 +0300 Message-ID: <1452792198-10718-4-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: VI1PR05CA0017.eurprd05.prod.outlook.com (25.162.33.155) To BY2PR07MB615.namprd07.prod.outlook.com (10.141.222.150) X-Microsoft-Exchange-Diagnostics: 1; BY2PR07MB615; 2:rZqdpzPPGoJZ4N7GuyleWcxtQV3Ku+/IuSnNukSkpfeRRYiYdp79gKRrUBkfdzllvZYj8PnhMwmB3XF3gLsalqw3p5RbNd7+ncyFxtUPFRM1abcz/A0SMteop5GADlOW3scRmWweFgK+mw6pPGGDZw==; 3:bUz/0sFnaniHV6pj7RGNLfhdc5vuwtGmHjN/lwObK2PTBXhJE8UlVEYtKlq3DdnQCXFiNwC0ET1V8zX4dFIUZjvg2MRGVB1lvU6HuMZpVE4Ci8Mielom24QbbjOgKWFd; 25:DdhvIDL8YA91Gqxrui2IrbbOhYJ6W9YPatlgFQrL7/vkWp0MHRo25HLhfYX2EU1feqkqiHWJfr0M5qyb133J4celWAru92drvZwp+5E+7s10I+RTQWEPOTXx5OUgZsJZX7lVYnH9QKZ4dI20qa0Ca/09kBmqwKKSpe2j7hkvNGTYxVTkMVLeejbvIBEBO0uEeNIMeDxjL1upuAph6miUmzmkmnEmRppZ69rvNUrqUXucDkm3u3qvRwpc3TqQn8IL X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:BY2PR07MB615; X-MS-Office365-Filtering-Correlation-Id: 9f4b1a6a-8c9e-4b4c-d5b7-08d31d078731 X-Microsoft-Exchange-Diagnostics: 1; BY2PR07MB615; 20:zghCCOWinsZJrECZCzCnim+nf9TGYM9p3tCyk4CB5yAty6xzSP0DD5hVvSGamZZg1yGqBjVEReZMYM58NOEgZnQZzSTsUF5OevWTzZ+IwsIfakIyd/yJqLXOHdwTufpDpuX2N1b4ui0OOV9ycjQibuKo9dgNMeGw5bd+J0TIU49MpSoWzesXwEkAGTFZPf/IrtVhtuafwfWPqLrGXOBl8nnOIRNyJiLITZdMTad28qzy/40yh5oDKwL9XMZYmKwwf6q/sjxLLQfPnnWDLvBPF63g7Cka6neuXT7qoDbb7TLLhHk9enpaqZ/VbpLIobjcrW63Nfk/ac7lEYh0a99SJIe4Ifhu6tnPbXC9vghgwNlw17FAuyKhsS5EchEI/PN9+j7Hbc8+Quudrby5Ib/u7zIB1ORm0tQMrIqIeOpYqze6/elg4m/sdNWCHDsURwM4iSj8nsr/2lMS+cK7wDcQN49fPCJ09tD1quNnts89vM1rbpZbGSCSYvIEvFzX8u5c+0wYJ5aXL9svtYTfYDSn1Aeufk4eNNcD+9f9GNN4Ioz6VQBLrktHXTqYSg9UM989lSohN5rbriGe0F4pvjpMpA9kwxomSsUIv17I+k196wI= 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:BY2PR07MB615; BCL:0; PCL:0; RULEID:; SRVR:BY2PR07MB615; X-Microsoft-Exchange-Diagnostics: 1; BY2PR07MB615; 4:Z94HqTwJ8vzr7E0dCkmF+3ScXmjwY5t7/UVDs5CJVKK0wE6i/2qGs+2/85UkM9KtE+rkgR+r0MU/2+gJGytBzKa8BBUUMtGEa/RWabWw8CAxUN5gIByMAv5N5IBT35MiO8S8mljEpWD9nu0mPzkfsFhNWcEC1CuzqfX4QQZUx36ZuwJClj9Q3kMW+Vp1bSDwvvQxyvyJ4UDcrMtj6YWYqBYd5t08tQgFl3MHPpNrDRaw8JMXEdMBJBlYhJLESeWVpGfrE380Z/E+9zGYVWtMhU6U20A7oqQ4t6J4ily0ljjGbMG37UAM1YX5z2Ye+vOinzaPW9y5zUP0Yi3MtEKmWCbtl3PObF9RcKgd6Of9OV9nr76u/9cEqLofSJMIOQhgvEYvZXvG0S9YLekEC1ubCg2Nn15ZeY3OonJX36bq9kCW2dk4s8CrJeQLHO6kw5SX X-Forefront-PRVS: 08213D42D3 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(6069001)(6009001)(199003)(189002)(33646002)(77096005)(101416001)(229853001)(87976001)(189998001)(48376002)(50466002)(42186005)(2201001)(5004730100002)(106356001)(92566002)(105586002)(76506005)(5003940100001)(40100003)(81156007)(97736004)(50986999)(47776003)(4326007)(122386002)(19580405001)(3846002)(2950100001)(586003)(6116002)(19580395003)(1096002)(5001770100001)(76176999)(66066001)(5008740100001)(50226001)(5001960100002)(36756003)(2906002)(2101003); DIR:OUT; SFP:1101; SCL:1; SRVR:BY2PR07MB615; 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; BY2PR07MB615; 23:1VbGZ/upGPEQjeurAUgvGEMw0ypWneHTFqqkttd2xM?= =?us-ascii?Q?4IkA98nnsbFCQRixslYxZlQQN3LcYVZhxcZaPB4p6OohRD4LzalS2rm6kNaA?= =?us-ascii?Q?gPEBfRQ9f0YmwCRnwwS2qu5dxj/oxwSCJcUd6TpcVfWjxfcw1rvpvNf4Si0q?= =?us-ascii?Q?1WixK4B+zpMXB06Zi91s9OyV+paXj+gOXLwV37rfXUX/IvmvM9gjqMMovF3P?= =?us-ascii?Q?f8py0OIspuhFWWFwO0KsqsDYJpVUnBDe7hzpSUNsd3M4naRc/w6RAntoiq75?= =?us-ascii?Q?bEIDjt8p7GQlMJKKVHNufmjgo7802Utjrl3ur8SVd/HXRCyPqkWrJkUYaITk?= =?us-ascii?Q?7hH4gyB7wIQ9QEQ05ZQpRY28qwuRc2FwSx1lKzruuL723e8mXd4nVWjV8oc0?= =?us-ascii?Q?2Z0WM4aSFUDBzyCvkkv94y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IuZXfK5MxxN+gFtq911zXZoUDZ3VIBL8UQg1Krb9O1X1getqQV5uZKOQp6x3lyhuiCoibAiAYziFOTt5GDHM1yhpDQZbvc0MA= SpamDiagnosticOutput: 1:23 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 14 Jan 2016 17:24:15.3600 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY2PR07MB615 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160114_092440_009825_F2E134D0 X-CRM114-Status: UNSURE ( 6.01 ) 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 In this patchset ILP32 ABI support is added. Additionally to AARCH32, which is binary-compatible with ARM, ILP32 is (mostly) ABI-compatible. From now, AARCH32_EL0 (former COMPAT) config option means the support of AARCH32 userspace, ARM64_ILP32 - support of ILP32 ABI (see next patches), and COMPAT indicates that one of them, or both, is enabled. 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 | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/arch/arm64/Kconfig b/arch/arm64/Kconfig index 871f217..09d7b7e 100644 --- a/arch/arm64/Kconfig +++ b/arch/arm64/Kconfig @@ -762,6 +762,10 @@ menu "Userspace binary formats" source "fs/Kconfig.binfmt" config COMPAT + def_bool y + depends on AARCH32_EL0 + +config AARCH32_EL0 bool "Kernel support for 32-bit EL0" depends on ARM64_4K_PAGES || EXPERT select COMPAT_BINFMT_ELF