From patchwork Thu Jan 7 23:34:21 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yury Norov X-Patchwork-Id: 7980491 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 B6393BEEE5 for ; Thu, 7 Jan 2016 23:39:32 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id DDD5920149 for ; Thu, 7 Jan 2016 23:39:31 +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 06AB02013D for ; Thu, 7 Jan 2016 23:39:31 +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 1aHK87-00019e-Kq; Thu, 07 Jan 2016 23:38:07 +0000 Received: from mail-by2on0077.outbound.protection.outlook.com ([207.46.100.77] helo=na01-by2-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1aHK82-0000zu-UN for linux-arm-kernel@lists.infradead.org; Thu, 07 Jan 2016 23:38:04 +0000 Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Yuri.Norov@caviumnetworks.com; Received: from localhost (95.143.213.121) by BLUPR07MB609.namprd07.prod.outlook.com (10.141.207.12) with Microsoft SMTP Server (TLS) id 15.1.365.19; Thu, 7 Jan 2016 23:37:39 +0000 From: Yury Norov To: , , , Subject: [PATCH v6 03/21] arm64: rename COMPAT to AARCH32_EL0 in Kconfig Date: Fri, 8 Jan 2016 02:34:21 +0300 Message-ID: <1452209679-19445-4-git-send-email-ynorov@caviumnetworks.com> X-Mailer: git-send-email 2.5.0 In-Reply-To: <1452209679-19445-1-git-send-email-ynorov@caviumnetworks.com> References: <1452209679-19445-1-git-send-email-ynorov@caviumnetworks.com> MIME-Version: 1.0 X-Originating-IP: [95.143.213.121] X-ClientProxiedBy: AM2PR09CA0026.eurprd09.prod.outlook.com (25.161.22.164) To BLUPR07MB609.namprd07.prod.outlook.com (10.141.207.12) X-Microsoft-Exchange-Diagnostics: 1; BLUPR07MB609; 2:PGE6gPvcR3kO76Nxd99z1CkTyxCt9jdOszIpTwyQx/Jch0zvFsl/hR4iNymlwslWpR3cvo3UyHszIqgzQug7vY70gJte5hfkmZDZhjGVR39pyanfRjkYvbUyIi04Ld51wYCIxTtw0YYsQwnl6EWhjw==; 3:d9ODWmKflQUooG4/0DJGaL338Xvl2WJmsqgfgu81t9698+ndiszSwh9xzkZvkRaB3KSI32fxWl/iMnjgvEMLoQW15vNFaZw5CgnytPxBjddcpi8eR1txqozWmUuMMQQq; 25:3Spc9gHGmoT/hRjU0kh5q76sQt+0swCkH2IgbvTo06UBHwkyilXQVhjm8FUmlMXdE09R90did1k5d+dnLlzZaAGE+KNVrcdnMDR2V4cU4O3VFziygh79+qqLVoQFRS/67JFNU7bG+UJD6NXDcuFLJxG9MdXZpvytxAzpyu2oobd6E/0eBgXgP1kmOJ2HZ/ft5foP/TkPtqTe5q5zHENbrJqftvRMYfqf4mAlox0Xir9/4k/D8yk2MDp+WTKPHrzN X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:BLUPR07MB609; X-MS-Office365-Filtering-Correlation-Id: 0529cae6-8979-4cc1-2011-08d317bb8803 X-Microsoft-Exchange-Diagnostics: 1; BLUPR07MB609; 20:yd8Us3bZhbZmxuJovncqb00/j2umP7CHWI7fox0Of8mlDRii00QR6lrlYkfqb8rE1au+2JEVZ+Y/7lZLq/yfMXZO8bAGUdHUPVEy8KD7PHEPqs2v2w4Sbkz6O6Cm79oAN46fSExWtcPy8Yq6nWPwmu73wBwE3XylAGpuJ95o3H/LkV1LcgubqSWH4Z9zquZwr88iriEKB4Z5DoPxo5fGvsXiVKEZ9bAVCRoXKbXPsSLSwotgjums7xVd22enOY3qFJDlKLN+o6NY7Fhw8MEhwyr4dveYdKLVlOGFCM4vT3XuYHBFXubvSL5aveXsejVrkxuny658/zl4b8n+I6hflSy2x+4Ir2WkS1KVhfbKH7whTtjU3TH1k7dYH2TgddMbQAw+QL12DiWh4BFE5hxl/0lJx8NgGvXVPjXNynSHR+hdGVqKQgN2cIrYdMPt00tjtK28YLXNdCcPQ20qu14aiu0mi4TYMdzFjcDNQAcRycbvKka36bA/zcmclAMMrJDSrft1hvNBMVX77vqEEZ/pFJlKk2xiTXPeIfyjTsM306+APASiFAKpyFhwb2S1dFjwmKgNQdX1SQV8gBLkjMZnXABJp5Yt7qjoObZfuuuZkzk= X-Microsoft-Antispam-PRVS: 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:BLUPR07MB609; BCL:0; PCL:0; RULEID:; SRVR:BLUPR07MB609; X-Microsoft-Exchange-Diagnostics: 1; BLUPR07MB609; 4:yY5rQEeVwMQExeZ0eaWuQfisEi9yUZSGfzcipiB/CHSXxqtWBB0kkuOY+176Vx1QQSCrdehLvVAG5us82r2o7RaRZbCJtMHSTmdZx5aPG5ommHGRga3sdsoE9nlLk8WFF+CWootirBpIUvxS0WBbBc5DbjX8jWMs4007Xw97CkXMRQVPYRVhfJT6J+d/udtCyBlpKDDw3S/k22SkzeGuYkUYitLrGFicJMVUSsWLvE2tXn+hNUtyhmPfUDmcE7hGrZEa46EVzmOgkgS9w4+M9PnlIsJjB9FY0JeU8u+6U434/Edlx1b4HhlguxrMsv3zYH+yu1GOXpC5PgSdo/CGRpI320vzHtxFKNp8NE7sOKquehhEEQmxD+v6qOFGsSC6PH4izjHASvOXu66Ov+3TPBGNBcENgrs8Pda3RuLML/GnU4yqorhD56CzZQB4D5DW X-Forefront-PRVS: 0814A2C7A3 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(6009001)(6069001)(199003)(189002)(47776003)(77096005)(189998001)(122386002)(19580405001)(19580395003)(5001960100002)(107886002)(2201001)(229853001)(33646002)(5001770100001)(40100003)(5004730100002)(97736004)(50986999)(42186005)(76176999)(76506005)(81156007)(50466002)(101416001)(2906002)(48376002)(66066001)(87976001)(106356001)(5003940100001)(105586002)(36756003)(1096002)(4326007)(4001430100002)(2950100001)(50226001)(6116002)(586003)(3846002)(5008740100001)(92566002)(2101003); DIR:OUT; SFP:1101; SCL:1; SRVR:BLUPR07MB609; 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; BLUPR07MB609; 23:JmE+SU8umzntqNdIt8ugsKOO0uG3xWubYxutc9rjAl?= =?us-ascii?Q?oxqBV+8FMHZxC3bddg2yIKvoxe+3z7LihwVkjZzvpelqPKC//8Vkp9KSGElV?= =?us-ascii?Q?ZErjxFh99aOEZPdJhCjks/Rm6EWVhgS69kTsSYd//dlXaMheMZv9/i67GVNg?= =?us-ascii?Q?WNJh8yymIDTOmUHrD2W8DULxaYcKm67WtUZ8EjOLtlIFGWhOvGzdl77nrgDi?= =?us-ascii?Q?whB9RhEAmOGElDCOwSI3eBYEep0K7TeQvS1fX2LClJPTKKkxv48/ibiK7aFd?= =?us-ascii?Q?MPcTqiNZukbZ2/3jGifW2o1Mq5EVRD6X0SGB8fRvMUag8f85QasGZuPx8zuC?= =?us-ascii?Q?x6HgfGTT+tDbEPzqMt5JwTy0b5EBnffDGakZIFJi5W4/2U/pmVohmScUsTPu?= =?us-ascii?Q?4QydAtZlNCFv14dsYnCds+5Vq4fGW5pobEGJ3H0/LsySd12IC4mHyP1O8AFG?= =?us-ascii?Q?Dbr9Tk/ncqj7CRI3tJXM5mnTbMaWUQSIrk/zF0T9FVjlUoEvAPUOdIuZuotG?= =?us-ascii?Q?+MKJwFQnJtwOab7zcV9SpoY+JHSXKWksAMkyC0JFgkHDoengoJOHS1CToH2Y?= =?us-ascii?Q?dlLI89Xok4dQWtn2H0FYJL8ZXFCtlD5Pr0dhWrnUvpgSz35Re2jgsW+2OI7V?= =?us-ascii?Q?KzskTGwjVqa+/17xPePJNLJjacfnZ7+KGHnltlHcnYkXFnnqM/+GHSiB/rDo?= =?us-ascii?Q?w69FZdrP4JUGiPv+QyWgVJgHyBt8oPQtCWDGQCKJg6oVCxAiPgBdcjNAWQkQ?= =?us-ascii?Q?lt3P50MDYpQ9eA9a7KoRUXjlet4JztgvrteZlI6ms4VV0TQw/kTXallhyoDA?= =?us-ascii?Q?BJcm0a+/g+sO6Xqjari9S53JSTwjSm1ZYXm9hiVTerrhRCKgsZOl28kwRq1w?= =?us-ascii?Q?WmSaQUv20hIJBCEnANElrikPSdNPzeFdeuKRlieRCpPWkmb/TV7bEwmHSS+t?= =?us-ascii?Q?TV4xeHltO/WnqQYn4MVjSCMvJOci6GmymFy0woK+2c10tXiryE8v924CuqWq?= =?us-ascii?Q?4Rf/VfwLBPC9ACSOC6DncvsI144PGRRP3Sr0ZsGbOs0tIH+98NJCZildCjnj?= =?us-ascii?Q?UrEu8vjTGhDY/7CKnMygKXe8eOkQ4/8pgQiUbym1KIqB6ys82an7q2nucpID?= =?us-ascii?Q?8cmAr0igMRqHVcx6gXab5+aPtHnQIhbeYfItO4mD55LzJ3/EJiisU+mONHSE?= =?us-ascii?Q?vF6AWb+3EqgiM=3D?= X-Microsoft-Exchange-Diagnostics: 1; BLUPR07MB609; 5:tP86i5Hd2mYD503IQc31jSiDuUws0jJ4f05fnjiXh73Y9lxieSgGXDZvF+9wbxGnmKcw2Ppfw4B0VoZhMU6M/yL6Q+b6f5tOWm2dWUi9zAZuaEQi08MSDStEJFyQZKL7+aiCdMs+hRbpuz8lboez1g==; 24:TwkwRpKPWKPWP+lWyiDw3B1NIJcdhxA9cIoGiaDPSYVRbMCEzDZTi/OB/pGukPR05G9NV42p+/rVUPpeL6SWa+CxHzoy98CYRd8vwFaB6Cw= SpamDiagnosticOutput: 1:23 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 07 Jan 2016 23:37:39.4945 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: BLUPR07MB609 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160107_153803_215718_B2A74781 X-CRM114-Status: UNSURE ( 6.80 ) 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, Nathan_Lynch@mentor.com, agraf@suse.de, klimov.linux@gmail.com, Andrew Pinski , ynorov@caviumnetworks.com, jan.dakinevich@gmail.com, Andrew Pinski , ddaney.cavm@gmail.com, bamvor.zhangjian@huawei.com, philipp.tomsich@theobroma-systems.com, 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