Received: by 2002:ac0:a594:0:0:0:0:0 with SMTP id m20-v6csp1691695imm; Wed, 16 May 2018 01:25:13 -0700 (PDT) X-Google-Smtp-Source: AB8JxZpIWJY+ro7NVWQUylbw789If/68z6VhhappuocKqtxgRxZU0+4KMeIVoGXR+8LpOQaMWZnj X-Received: by 2002:a63:3104:: with SMTP id x4-v6mr15203731pgx.167.1526459113768; Wed, 16 May 2018 01:25:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1526459113; cv=none; d=google.com; s=arc-20160816; b=AD3cHdyt5TQj317FZepzaLXbroHCVv0yOdRJoX4EuK5eHHOdQ2q/6uwyTwo9jcNwEh 7VMZCJHzy8c20TwI52Ji7q5XDE1d2BeItRo67VYjXq7EQxgvRj1JvDDEJKlVy3nab/dF Tpjlg/NpxaBhBrg87zJ1QkyBiHF+ayy1hWCAKlGlgWlpaC3/WZutuAjOX6nX+tjT21EM lwBKnL9TQ7RHasY679nnguBp3yd8njqu1DTZDCsajz1hXs7bmcm0NXfpUU0lFZ/Yqied +N6uEbgAphwxTe7EDkOzDgrMYX+E1iyMn2ZnvPBCKNr8L9bTFTl2nvne/YRmuf27zCKr xiKg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:spamdiagnosticmetadata :spamdiagnosticoutput:mime-version:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature:arc-authentication-results; bh=9z/xbcScPTdvjZ9VDquJhcE+PIXGFhhKP8ekJ2uVLRg=; b=O1UNCmEOVMYDQLxNvInchh3hTjj53O4ifwm81m5SFEiveCieqv+HQrRhCxtXAkgqbf n89d3qqv2dEQI2F5IkMhTeIWyHxNkjOTwKm6OK0Hj4DPqxen8gZ1IAVgZjaBlPeIbOQM zN4pT2SsB/N9J255iWRJYHfu8fsD1tgD8SP//dulaFrIA/ZQsNllKeWYAvJgJqe6gxIn nE8SpRFnB3fKZA75OT46cMGuQ2quuyQxUk6eKMr48SLz7rP9Uj5HxHEV0wkTzIknY1IM UPUSYfYCU5+jZxG55jn080drPOtlk83gzMBOEuJ2ITLGCYeyqlqaDbp5/qV55aV67CKu iG3g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@CAVIUMNETWORKS.onmicrosoft.com header.s=selector1-cavium-com header.b=DF8Ra14C; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id r14-v6si2404304plj.341.2018.05.16.01.24.59; Wed, 16 May 2018 01:25:13 -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 header.s=selector1-cavium-com header.b=DF8Ra14C; 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 S1752729AbeEPIXw (ORCPT + 99 others); Wed, 16 May 2018 04:23:52 -0400 Received: from mail-sn1nam02on0070.outbound.protection.outlook.com ([104.47.36.70]:57117 "EHLO NAM02-SN1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752239AbeEPIXn (ORCPT ); Wed, 16 May 2018 04:23:43 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=CAVIUMNETWORKS.onmicrosoft.com; s=selector1-cavium-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=9z/xbcScPTdvjZ9VDquJhcE+PIXGFhhKP8ekJ2uVLRg=; b=DF8Ra14CxgztU2RuMKtRUoxWbR/9R8ZeNWF3JmlfDxysbzpbHQgfr+x4D2EDiOW+5LjM4iMM9eBd1vJ7ViBaGZWq4HVxNoM3gNj3sCk0YltMn1b1y4vY0fbJJz6DdnXc3As3wLVBJPkwwz5Zi7If3rRZ3J5a4Ez95bvItbd120w= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Yuri.Norov@cavium.com; Received: from localhost (176.59.36.13) by SN6PR07MB4383.namprd07.prod.outlook.com (2603:10b6:805:58::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.755.16; Wed, 16 May 2018 08:23:40 +0000 From: Yury Norov To: Catalin Marinas , Arnd Bergmann , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-doc@vger.kernel.org, linux-arch@vger.kernel.org, linux-api@vger.kernel.org Cc: Yury Norov , Adam Borowski , Alexander Graf , Alexey Klimov , Andreas Schwab , Andrew Pinski , Bamvor Zhangjian , Chris Metcalf , Christoph Muellner , Dave Martin , "David S . Miller" , Florian Weimer , Geert Uytterhoeven , Heiko Carstens , James Hogan , James Morse , Joseph Myers , Lin Yongting , Manuel Montezelo , Mark Brown , Martin Schwidefsky , Maxim Kuvyrkov , Nathan_Lynch , Philipp Tomsich , Prasun Kapoor , Ramana Radhakrishnan , Steve Ellcey , Szabolcs Nagy , Andrew Pinski , Andrew Pinski Subject: [PATCH 23/24] arm64:ilp32: add ARM64_ILP32 to Kconfig Date: Wed, 16 May 2018 11:19:08 +0300 Message-Id: <20180516081910.10067-24-ynorov@caviumnetworks.com> X-Mailer: git-send-email 2.17.0 In-Reply-To: <20180516081910.10067-1-ynorov@caviumnetworks.com> References: <20180516081910.10067-1-ynorov@caviumnetworks.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [176.59.36.13] X-ClientProxiedBy: VI1PR08CA0126.eurprd08.prod.outlook.com (2603:10a6:800:d4::28) To SN6PR07MB4383.namprd07.prod.outlook.com (2603:10b6:805:58::14) X-MS-PublicTrafficType: Email X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:(7020095)(4652020)(4534165)(4627221)(201703031133081)(201702281549075)(5600026)(2017052603328)(7153060)(7193020);SRVR:SN6PR07MB4383; X-Microsoft-Exchange-Diagnostics: 1;SN6PR07MB4383;3:vklxnesREWdhahI0VyEMGHPMFoNwrgFvuXNBvHodWclyN7yMPtkw0Hik7kGolfq/3XrjAR3NUUDrbxfEfcKo48fmtmFDmNx/q6i1IiV2YsmcMPJMr4ApqblrtEwYtFFlw7nlBREdfUdkFlK4Kzivd/A6Kmbx8U5i70irmB3MkFzZZTBTWuLrWKUWS/JEwY/3ac+NKDA4JoDx899gOmthtXEoV8/0UeZ3G1UN4zs41uuMi75R/njHdym8W6hcAVja;25:eCGrSIIJhL59PqA5v7VrYOGDIzbNTNe3e5CEjkaxbDabPZUH22e3W+rd1o8+sbiHRSuO2Q6I/lP7iwSqJ9BGWaRDj9z7zKMuMOH8Ifbbrir1VO5bCUcQAoiiuaW/5ycB8gWTibGteqYB9d1u//PZrRn25raDXPuILy6yhQ1enjPcIUPQVyaYx9LzDnk3EatPdfEF9kTOVux3PQ2YzAipesUFhrlkBYPH3bu1Ym6NnVQao4FyTFn0B6yE2NrkjvfQKeUMS3v3VWRM77H78zT+4DOB0w8Bo7NyaXzrLwD3CuTWvrya15pbZHxP0cqXncPWnPTyylXrJF/W4cdVACD+xQ==;31:iDLtIwNXXII6w5jlbWKfVoWWi0aWbyEmS6cMLa81aaBjjA9H2eERnf54vTEu+rbJcjOp3v7CvUMG0QhSk9L0kOek+7zrb17SJtTQEfI4vdrKlBe3SFJaqHKIyuT0q/a3U7QBUUc8H7r8dARVtX0gt3Sll8/i2sXYLDhax5kCN2XD9PoKTuO2slviM0UYrOQZTHB/kYf+ZteE78mQ6jwucrj3sfnFZsJJtyS/meqJkvs= X-MS-TrafficTypeDiagnostic: SN6PR07MB4383: X-Microsoft-Exchange-Diagnostics: 1;SN6PR07MB4383;20:wpz+c0d5VRVYQA415VK0jzdOZWyRFG1qIzUGRKjVlcf2McrMqzrJAQuW4CPRuSRr0wGZPfiesTehvhKOHH/5bJIPzmfg82fplcPMOVVe9UNxCLyg1bKYzejBfuTKn/9+VTugPmyX72vMiLjXsqB/d93GcpAjF2OJjWSJMFMpd80vdSPcNJcndcQ5fmlZjyl+l5dN4UI6vO+2rUsT3wIo12J7ukuKbeWoz0FXQkQaWIScmpeV2lcoTJhJGlA8/fj+mPlDV9+GndTa5X3+X26HedA2IE6VAfiQGePiI9Of8WVZy3gFLRHKvdOvc5fwH/j7SwAn9TvpYxcaIoxOon1jNGjHrA+QH06xAWcFrOlt5ETWGI9sC8jKJmGq8NbrmFAAVLQSWcMuhBQi2R/FI48tRud8snOwcTT9JVH4zPnHewkgrFHPMxw1765MU6ZFn8NmXJdtSV9Mw8FIJXHs3ew8A8dpHRNvT+1RC93teZYX/t+y8fVvj6z0l8d5renoFyTCkoeWMKAywJtLQrgi9cNbtMAS8cHgZ2bNfjihr3LoMtgWlX2wWunKtTIeP6Gtv3Oqb1kyu6NqeqDeXZYaxrlb57ncfvJOq6CHT4atExqDd1Q=;4:dPGTfed35g8qtLgcsweat7z2E/zi+UQUZSCzcnjXxk+aeFjn0YP/dGDXKpkhD3QqhHdH1rwkQ/ykP3Y7WDufMrLdGB4dKQ3w3B6dV/uG3A9zYnd0yLvn3fR0bHH03jOWy6wqaeNyLSeoLsAYDb8abJ/fSOgspOrwPzTSGviqlpAINUo8hJ3+zYdTnubWI1EmpNJTQVYJHxSK4Vc0zS97KBzc97ztVojARBTRhfQggiJEsuAeq+AV6hxM/pfssD+Pd1X+BGkNPoZBmF6qKOzrnWnKkZbwOT17/HpWuYJO4r2zjB7fK+r9H65tgddrkS// X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(278428928389397); X-MS-Exchange-SenderADCheck: 1 X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(8211001083)(6040522)(2401047)(5005006)(8121501046)(3231254)(944501410)(52105095)(93006095)(3002001)(10201501046)(149027)(150027)(6041310)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123558120)(20161123560045)(20161123564045)(20161123562045)(6072148)(201708071742011);SRVR:SN6PR07MB4383;BCL:0;PCL:0;RULEID:;SRVR:SN6PR07MB4383; X-Forefront-PRVS: 0674DC6DD3 X-Forefront-Antispam-Report: SFV:NSPM;SFS:(10009020)(6069001)(346002)(376002)(39860400002)(366004)(396003)(39380400002)(189003)(199004)(6496006)(72206003)(478600001)(446003)(39060400002)(2906002)(11346002)(486006)(3846002)(4326008)(956004)(2616005)(25786009)(6116002)(1076002)(42882007)(53936002)(50466002)(476003)(107886003)(48376002)(50226002)(66066001)(6666003)(47776003)(16586007)(36756003)(68736007)(110136005)(54906003)(8676002)(76506005)(81156014)(81166006)(106356001)(386003)(7416002)(8936002)(76176011)(305945005)(59450400001)(7736002)(5660300001)(97736004)(7406005)(26005)(16526019)(186003)(316002)(105586002)(6486002)(51416003)(52116002);DIR:OUT;SFP:1101;SCL:1;SRVR:SN6PR07MB4383;H:localhost;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;MX:1;A:1; Received-SPF: None (protection.outlook.com: cavium.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1;SN6PR07MB4383;23:KQwuG6L7oLAfKuwShUyCd6/graU3odcPifqhVqbW4?= =?us-ascii?Q?vBmwmP0ePCFe/B3yjMFCh+p7ibKUIiAqOkZZONbsQBZNkn3qqu8SRR7QhPd7?= =?us-ascii?Q?j55uQT1HkQZbNBYtxLBY3WpG+GBE09uNFG6n8Ihi72S97xiHr+2gwwZSy4rf?= =?us-ascii?Q?2wLfXKzQTGNRrijLJHvKZ3/bdu5e2HszvjHdjsX69rCwMWg4jux+LCtYsU/o?= =?us-ascii?Q?kB7ugPARSYn+cDnpEYodaZddpHnFLLBUBvogvSGJL9SuSeKDjjMrZNVox9BE?= =?us-ascii?Q?D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6VoKEhal6GuPJolpsaoOO1Xo9hg1JQLBdpkoa2TD6xg5AI3LqtQgITuGqjXyizdhCarhT0EmHEQrg94Qu4899KLiMRm4E=;24:F+KHwcsymeYaf5TVQP0cVs+r1EQeSX06j7Rk+2f91P+Y9dWNu7TS+KlSB1DjPERic1xAPMPEG6ScIUg6G8QY37MJqDU42gooLO4R0J1wOTQ= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1;SN6PR07MB4383;7:ar4lAM8UE9pQup7taC4D7LIXU3Y1dkrDGtr/Jzrb9vz8ADC9Uu4p3zKXpj9zcYjxozMRVOeHwzudJ0lCgHOjj9+GebN3+yHSBZW00nVWaT1maKZ7KhxT5PuGXYA8YPOJ1L7Lv/biCPzCYR6CSMP7gBaeRzAlKMWfqn8liEyr+lqshuOnVm34eEWuDrjmYSNHyvN/oA4sOtQZ+geyZ2Jh5BeZMWKGgYWAfRocBHEFgTR+tfnAuE1OhO4lstFCkx/G X-MS-Office365-Filtering-Correlation-Id: 68da309a-4acf-4bfc-777b-08d5bb0654b3 X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 16 May 2018 08:23:40.2882 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 68da309a-4acf-4bfc-777b-08d5bb0654b3 X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 711e4ccf-2e9b-4bcf-a551-4094005b6194 X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN6PR07MB4383 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 0685754a9f7b..a3134b8e3123 100644 --- a/arch/arm64/Kconfig +++ b/arch/arm64/Kconfig @@ -1226,7 +1226,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" @@ -1247,6 +1247,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 -- 2.17.0