From patchwork Tue Apr 5 22:08:32 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yury Norov X-Patchwork-Id: 65137 Delivered-To: patch@linaro.org Received: by 10.112.199.169 with SMTP id jl9csp715733lbc; Tue, 5 Apr 2016 15:11:45 -0700 (PDT) X-Received: by 10.66.142.132 with SMTP id rw4mr64411828pab.26.1459894299039; Tue, 05 Apr 2016 15:11:39 -0700 (PDT) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 25si8248138pfh.120.2016.04.05.15.11.38; Tue, 05 Apr 2016 15:11:39 -0700 (PDT) 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; dkim=pass header.i=@CAVIUMNETWORKS.onmicrosoft.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 S1760787AbcDEWLV (ORCPT + 29 others); Tue, 5 Apr 2016 18:11:21 -0400 Received: from mail-bn1on0090.outbound.protection.outlook.com ([157.56.110.90]:55181 "EHLO na01-bn1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1760515AbcDEWLR (ORCPT ); Tue, 5 Apr 2016 18:11:17 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=CAVIUMNETWORKS.onmicrosoft.com; s=selector1-caviumnetworks-com; h=From:To:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=UcwQ4yEcZKOYhn9p9nZV85jz5FfavxXyEzJgrxX05dI=; b=3K/nzpoh+eZQioQll3JMAS9LWIL4bxuIgiB8ZQY4LmbQNUxDzE3H2oOX1GH3pc0MKKnqV9sl0JJqKabd2/DKqKbuvKhyQS7vjZCdPyC1BQgqSWIn38WQt4IYc6vmK2x1uLEJ1bxV9f3rdkZ7+BaE0NvhqKGMR2vR7eXf72LF2BQ= Authentication-Results: arndb.de; dkim=none (message not signed) header.d=none;arndb.de; dmarc=none action=none header.from=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.447.15; Tue, 5 Apr 2016 22:11:12 +0000 From: Yury Norov To: , , , CC: , , , , , , , , , , , , , , , , Andrew Pinski , Andrew Pinski , Philipp Tomsich Subject: [PATCH 10/25] arm64: rename COMPAT to AARCH32_EL0 in Kconfig Date: Wed, 6 Apr 2016 01:08:32 +0300 Message-ID: <1459894127-17698-11-git-send-email-ynorov@caviumnetworks.com> X-Mailer: git-send-email 2.5.0 In-Reply-To: <1459894127-17698-1-git-send-email-ynorov@caviumnetworks.com> References: <1459894127-17698-1-git-send-email-ynorov@caviumnetworks.com> MIME-Version: 1.0 X-Originating-IP: [95.143.213.121] X-ClientProxiedBy: AM2PR03CA0022.eurprd03.prod.outlook.com (10.160.207.32) To BY2PR07MB616.namprd07.prod.outlook.com (10.141.222.156) X-MS-Office365-Filtering-Correlation-Id: 9b801acf-5253-4357-0aa1-08d35d9f334b X-Microsoft-Exchange-Diagnostics: 1; BY2PR07MB616; 2:tTPYbFCXH7294OvXdNwECCsUHxBDSxmmJL3xGFesHaCY1PB5WQd1Uums9oOZidGHeuyqYV5IekwvSA/8MounvEiRspyHiqdMQfI+mmUA4ZGlgo+eLjSlREXxr3k0WzJ7JRSSNTw1/0e+BshdUjJEl0Yh6VTDIF6qdoFgdoWS8v+ZHnlX8yXrLhAjMpJycsUY; 3:vhIlnX7zRGjD6PUtBBqrPJ+81tyTflBEVZ+MRKsopbCpY2OUiLIDG18nrXE3fdvUnufEtDQN4GqHI2a4QaSUxhzPpOQsKybtfGlunMkW4Igxb3/RXi0i1mCueiV+QIuW; 25:aAiI6FRV40+MYEi2V9/dv18zwh56G8sXV7JEgEFX0I5GEKy0uBD6p+QdJ8BkXBfE9YQE3Ucq+FhTTbunEYcEJJBmcKm6PlITM8p/C2PEeGNqM5P9/4JJifdj7s5z4m5wb8Q2m2EBRTYiWMJREuIhBLk3nSm/UiXMexpm/aZWJssuBFLlmJRog97BrAi/3GXnYr3gE38L6fuJmh6z9mB1RaUEqHotmzm7P8jhxxku5jqBDxr45nJGhtdwkZmAPHnsA37VGPfeP7nUOi4bhDHwZXrlxi031wGCgjqPkSMm1L1Z4amSB3t0BLK1YMb6Rm3RVIPWFQzQrcOQJVMy+dcxxLw2fmo89KRqr3kYhl0LwUg= X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:BY2PR07MB616; X-Microsoft-Exchange-Diagnostics: 1; BY2PR07MB616; 20:gYLazZkru8FbE7dEOzY3QBQ+6Aqz9DhOzenVBs5PQvttoOOT4JHZX6NMLYkNBOXN4X7YYg8F5wFUAhnyUJ7623rF0VZNHZ5VBUja6WAc5cS7HJYpUCdagjt0bBn9kWZAiJ0/vncEREyDYM8GcseVO9UUuLaUfu1vxxNhyKT8R0VhNHhzai1clxGVFD+37KzJMikUGaA4hULlfyp6BOtbABBcPLQfknC/lgOCvo47xskUPrusSbx9HF1IxVJB6949w/MPCwHGOc1vMJt24LnA+Lbzmu1rBPRiFCixmEZ42z//O3iS5jT160HlI5acFc761C17s7UpDIw97hfgdTfID0rNEYT+2HB0yI/9F3f8nAZNUG+fe8XcGgrouSWeI0AKX2/DFWR4evONGk3AT/DWzFqKOJdFteSC//bWvEGqqm3XCgyJcZsI4tqCb40cZdboJC+PDo9XDXjlOxIXmEPbWW7totKrsu2D/kR3T8zT/cXX49tVvblMYmphKc+bMZMXLzh4aeVXiEAS9dLti7dDKYkIF03TRkzPXTtDts52oNIDleud22EACmiv/vuaVnKYl2VBCsi9d/ZrlZD0q/KGYGPu7O3ciDXV9/mOh12y+DM= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(601004)(2401047)(5005006)(8121501046)(3002001)(10201501046); SRVR:BY2PR07MB616; BCL:0; PCL:0; RULEID:; SRVR:BY2PR07MB616; X-Microsoft-Exchange-Diagnostics: 1; BY2PR07MB616; 4:jtzNbJXVgjs3prGeWQ0JT6cjlWwXb7l3xFXN3C7KcFAkJTacFiJTKzQCYM5eFO69v0NBfsPjXrHkuSwGq3lifwptwJ1JWOmZYPtuj5FeEIZHdt/QHPSbi4hC7IZy233jBr4b8CP8hkTDaufdZEeh9I2q/vrf5W4WrqxHqr6//gCG0PFcF3s/8TrSQoUGbGL0N23jN4KqFt3gndYv4TPRBu61dBsZn2ui6AFozvbyvESzeSijMpX+fnj/qWDfWYG4yAMDULvJVzA8wcQUFXnjQ4T1HBSqRA73TblVcppIuq/7UiXMw+g9OgVW2e0OunfOSreUxdY4qKxdsECagh3Ij7CV9YxcJj2m7wGo9K+hOv4U1HgLL0QE9D/2uzj3CSiX X-Forefront-PRVS: 0903DD1D85 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(4630300001)(6069001)(6009001)(66066001)(48376002)(3846002)(6116002)(2950100001)(50226001)(47776003)(5003940100001)(586003)(50466002)(5004730100002)(33646002)(77096005)(81166005)(5001770100001)(19580405001)(229853001)(19580395003)(5008740100001)(36756003)(1096002)(92566002)(42186005)(4326007)(2201001)(2906002)(76176999)(50986999)(189998001)(76506005)(2101003); DIR:OUT; SFP:1101; SCL:1; SRVR:BY2PR07MB616; H:localhost; FPR:; SPF:None; MLV:sfv; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BY2PR07MB616; 23:558qEyw3/ULQ593t+5/smeYQ7JvtGydjTucYefXr/tAHxIIFT0MqYYiFF4f+/qcg8noVc1dDmuWB5NQZqexDlpIdLr/CQsD0SxdY8hoOA1zLoFYDS9AfjPHidzyjdAVHY7QlvEefS6xiNc5Ip7ysOEvFTC/QmVS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RW0s2nPgzc+kvK7egf7qlk= SpamDiagnosticOutput: 1:23 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 05 Apr 2016 22:11:12.6423 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY2PR07MB616 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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(+) -- 2.5.0 diff --git a/arch/arm64/Kconfig b/arch/arm64/Kconfig index 4f43622..f923687 100644 --- a/arch/arm64/Kconfig +++ b/arch/arm64/Kconfig @@ -925,6 +925,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