From patchwork Wed Aug 17 11:46:43 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yury Norov X-Patchwork-Id: 9285705 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id C21F160459 for ; Wed, 17 Aug 2016 11:59:32 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id B87F5290BF for ; Wed, 17 Aug 2016 11:59:32 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id AC6C9290C3; Wed, 17 Aug 2016 11:59:32 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.1 required=2.0 tests=BAD_ENC_HEADER,BAYES_00, DKIM_SIGNED, RCVD_IN_DNSWL_MED, T_DKIM_INVALID autolearn=ham version=3.3.1 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.wl.linuxfoundation.org (Postfix) with ESMTPS id 321EA290BF for ; Wed, 17 Aug 2016 11:59:32 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.85_2 #1 (Red Hat Linux)) id 1bZzTk-0001v6-WF; Wed, 17 Aug 2016 11:57:53 +0000 Received: from mail-bn3nam01on0054.outbound.protection.outlook.com ([104.47.33.54] helo=NAM01-BN3-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.85_2 #1 (Red Hat Linux)) id 1bZzM6-0001CV-6P for linux-arm-kernel@lists.infradead.org; Wed, 17 Aug 2016 11:50:11 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=CAVIUMNETWORKS.onmicrosoft.com; s=selector1-caviumnetworks-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=p3/ugXKGba2o+tYt8o/L5/FYxpvlJQ1o8urguar6lAA=; b=Eiz4AvQc9SmAGfTerYVf+g24ycdQbMVC0hbKTVn+E5tyvBWBDR/BJjSKveiOtV1/9m8zo03aM1bSgnWPFqSw0N+HWLh5rOHVCz6Ds1Oxwh+WCrcrx0o7NdCH1duh63pKsmjC4opl5iDDtL6Tzf20itcCBykS+pNNTDm8W++j3vs= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Yuri.Norov@caviumnetworks.com; Received: from localhost (95.143.213.121) by BN4PR07MB2244.namprd07.prod.outlook.com (10.164.63.150) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA_P384) id 15.1.557.21; Wed, 17 Aug 2016 11:49:47 +0000 From: Yury Norov To: , , , , , , Subject: [PATCH 18/18] arm64:ilp32: add ARM64_ILP32 to Kconfig Date: Wed, 17 Aug 2016 14:46:43 +0300 Message-ID: <1471434403-25291-19-git-send-email-ynorov@caviumnetworks.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1471434403-25291-1-git-send-email-ynorov@caviumnetworks.com> References: <1471434403-25291-1-git-send-email-ynorov@caviumnetworks.com> MIME-Version: 1.0 X-Originating-IP: [95.143.213.121] X-ClientProxiedBy: AM3PR03CA030.eurprd03.prod.outlook.com (10.141.191.158) To BN4PR07MB2244.namprd07.prod.outlook.com (10.164.63.150) X-MS-Office365-Filtering-Correlation-Id: 3c73f6cc-497c-4631-643e-08d3c69496dc X-Microsoft-Exchange-Diagnostics: 1; BN4PR07MB2244; 2:qNpJU1qjqmRVVnc5b3jNWCCaF8oBRSxl1BfInpN047L6zchPAcMMCrTRwrLeyedZR5pFPqC0v0DUB/Zs7Tpy5WAqZx00Lf6IK0EHxQsMBVU+/scXZ3mG7usT4A4U+tuOybL6gy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cFRQJZJgfUnn4D8s/iN96/b7wTsCh9OexLAFZPwBxF2+LaS6jk2cbuZhGHwYDu8T9AdV7QL/+0KmqnyTJAS3l/rhvDmCVepJzkWn+55/hA3RAY2DvZxL1Av5qyzoAIaApn/jcZeO2ENRXm23h/sGN0cRb5TVPZb0mVy0zwef1OXIk8VMxY5WLAnfHmiJlEh5hf+XkmMKNqnNMOPLJ7Mn4SS+nSPd08OFFHowrp8+mQvUM7AbZRW4oNOvhf5po7Bb7U8Vp+rUPPxl8AOuiWKb1Z8Gq7NtJoPNaOAK+ZUVV4fjG5q7ePXITrRWfV0i0DgScmKla4NHE1bKpbItJ8c07N26RI85eeyxEwqk2Ov2o49s5K4kqcGAcemXTm0k+GGVgFoIJWjpI/UBzj8CHZ+gMtazdCsDmXU2+jIJPmU2ixN/Mbb5f8XHxqstURMZJS5MTOJZxem4CnrI68f4Alncx8ZvQe1QSoZZKVPK/on03/YWMdXYXE= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(278428928389397); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040176)(601004)(2401047)(8121501046)(5005006)(3002001)(10201501046); SRVR:BN4PR07MB2244; BCL:0; PCL:0; RULEID:; SRVR:BN4PR07MB2244; X-Microsoft-Exchange-Diagnostics: 1; BN4PR07MB2244; 4:dgswjVhJoDUj0KEZ7CWwZ0aQSyLsb9ywnMTJas3F4Vw9gPs9kTi6BecYgrTa1k1ITq4YlLL6xZCswhPp7PbLTl8413Lqz1iIAuMNSmV48s30FLs+jCskibZAkI4YsFaalLViIb8CGatOcQmKpqt8LTPoMDVJY9TEUlTOwg1pGrRKk5SW5wwJueFOX75u17FARECUEnEweVTGLYSwDLTJ+XD51sCWXewmXWXSyQoRHHpwBewKOjU1eeMybUBDvn7Fvn8EgoELwjso4JuAsryLlE5LmFqfMKpJfVejnqH9QcPUdz1Hk7/2bw9nqjCTAJNRwwmClFxXYvFTXWBPGB+0HoZMbx01PEABpXJEbCFNCRIUJspizx4RsMQHv1uE+3WoOPeRVjt+SzGSSPBOnbjv88G/VL7IGXJlyMXBkMR2ZPfLWKfiX7+cE+VE7s6TNHA6 X-Forefront-PRVS: 0037FD6480 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(4630300001)(6069001)(6009001)(7916002)(199003)(189002)(68736007)(4326007)(101416001)(2906002)(8676002)(81156014)(47776003)(66066001)(229853001)(5001770100001)(81166006)(97736004)(106356001)(107886002)(189998001)(105586002)(19580405001)(2201001)(77096005)(19580395003)(92566002)(2950100001)(50986999)(48376002)(76176999)(50466002)(33646002)(5003940100001)(50226002)(305945005)(4001430100002)(586003)(3846002)(36756003)(42186005)(76506005)(7846002)(6116002)(7416002)(7736002)(2101003); DIR:OUT; SFP:1101; SCL:1; SRVR:BN4PR07MB2244; 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; BN4PR07MB2244; 23:e5+rtHTGGTkYd2YpZNkmJnYbMCnu4uLVrJMT33oTk?= =?us-ascii?Q?4KREWn9u5T19hAztv2r/7jjEea52X3zyxdE+VwL+1Q8DLEy/jXtOYdZWAKCk?= =?us-ascii?Q?alacd6eRbTxhPFwFXRqBp9e5bO0THLBLNL8desyEArsn/s5Gad8NLC7dMy2a?= =?us-ascii?Q?3h0YHZl7YFSB6cBOmiXZtb7U90c/gBMpa2BNV2ZclFy4CVnh7kquhQ5l8Gf6?= =?us-ascii?Q?7id6tsnRyeS7yqZbmHe8HjRJ3vbopyQ+g+gutDzFTwwTaFWXV3JRPxCK8nqg?= =?us-ascii?Q?af6H92MNUYcZiJEGw29ezkIKotjGp4DAnND9hWIS42UiBRkw4eMXeRokDFoc?= =?us-ascii?Q?oLcF4rT8PjIfHNhiq7y+HULNPcF5MMVoOamL1kZiV+G0QHmHklsSR2DoYXqX?= =?us-ascii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jA9/ybzn0SPbzXVhpO6NIBoy2TWuQHDeBd7zSNeHeksWs6ffJBU3emYEZxQbg6OjIm2Q1hrQMpzy6Blk3msxm6zT4o1XTi5t2MrN3G9nSwvU5GSsq44VKfwtejZw5729XYJ7lLMXMgxN/kVXS8WByVSJXnfXoqVU03MYvEfAoTsWexaJyPNU0ouNVeY4kpNA/v1E0wY+WccnvXRUc+VQG/M6v6Daof9YTO3R/tL5Z9/w1pUVwvHKsWgSuU=; 5:3Hzifn7AnNUmfg37/yEfIyU8qUCUKhDIueO+BsGl9bDk0Wa5S6Wn14SdMHKsS49THJxIzXJC9vwdHH2crsJe/IblJ4xBu0ws9o5i5s0iwSBQb+lxuIuGinIZdvRIEYdRJ6w899zOTtY8Rx8wVFHHfQ==; 24:DstT9NfvbitZjRaUdN32DMFXiZvIJnrzz4BgLFEuwXh1qFqN24PtY90p1cD+MAfNiR7lZ5YEUXFZobaeUIMjECyebbdbzSgKvT3pJnm/xWM=; 7:VIzLZEUSBLZJ8jwayY6PC4KSohgDnLff1+Mx/RUeHDSJrExJRNLV/sJMrQgWPqF5e2dApNZatutaHsTdQ/qLBZCLAOZf7eDf8TQPzB41sgewS1R+qJ3AUIEDeI81QCDkxY6Swr83BzF2ZO3TEldgCepTkcZ/lQWvw6UuI9R91Yrs6ESEESYmjwVvZ1wzqFSt2yvoA/xoxt8xKvBXIbfVg2AHUO8SixOrHtbNPa9ZYMHw1aZqOWiuKr8Lf36URd8k SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 17 Aug 2016 11:49:47.5035 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN4PR07MB2244 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160817_044958_975590_F9F6B4A5 X-CRM114-Status: UNSURE ( 8.28 ) X-CRM114-Notice: Please train this message. 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: szabolcs.nagy@arm.com, heiko.carstens@de.ibm.com, cmetcalf@ezchip.com, ynorov@caviumnetworks.com, philipp.tomsich@theobroma-systems.com, joseph@codesourcery.com, zhouchengming1@huawei.com, Prasun.Kapoor@caviumnetworks.com, agraf@suse.de, Andrew Pinski , geert@linux-m68k.org, kilobyte@angband.pl, manuel.montezelo@gmail.com, pinskia@gmail.com, linyongting@huawei.com, klimov.linux@gmail.com, broonie@kernel.org, bamvor.zhangjian@huawei.com, maxim.kuvyrkov@linaro.org, Nathan_Lynch@mentor.com, Andrew Pinski , schwidefsky@de.ibm.com, davem@davemloft.net, 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-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 | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/arch/arm64/Kconfig b/arch/arm64/Kconfig index 3d46250..e4042a9 100644 --- a/arch/arm64/Kconfig +++ b/arch/arm64/Kconfig @@ -991,7 +991,7 @@ source "fs/Kconfig.binfmt" config COMPAT bool - depends on AARCH32_EL0 + depends on AARCH32_EL0 || ARM64_ILP32 config AARCH32_EL0 bool "Kernel support for 32-bit EL0" @@ -1013,6 +1013,14 @@ config AARCH32_EL0 If you want to execute 32-bit userspace applications, say Y. +config ARM64_ILP32 + bool "Kernel support for ILP32" + select COMPAT + 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. See Documentation/arm64/ilp32.txt for details. + config SYSVIPC_COMPAT def_bool y depends on COMPAT && SYSVIPC