From patchwork Wed Mar 1 19:19:28 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yury Norov X-Patchwork-Id: 9599039 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 C616460453 for ; Wed, 1 Mar 2017 19:31:25 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id B2CF92857B for ; Wed, 1 Mar 2017 19:31:25 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id B0C852858A; Wed, 1 Mar 2017 19:31:25 +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=-1.9 required=2.0 tests=BAD_ENC_HEADER,BAYES_00, DKIM_SIGNED,DKIM_VALID autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 670ED2857D for ; Wed, 1 Mar 2017 19:31:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=02tY9+HdyFBrTg34OgxRe5CyOLgEY79F1s/Zx6Fn7cg=; b=WkZpvTewvLL7as 777AFre2pzSJydZWAb1TFx+PrvHlXAfcqS3s20eq+m+zmjMAYjjIXe3QjR/vHjpPw6Znofs265w4M XvAZieR8WNgH7rt+8A+0sV9wiJVnL6WXZULhFsO+9tKWneLeRI4WFLI7WoBhoYk+x+s4BuVQwEUJ/ O3RjROeAEKEU473iDHJHvMNBIJRpGZoZ2SvG52yGBaw3MW3D9J5GVLGe5hhw4zrZiJg5EwDbvoWXV U+OGL5hq3/jXN/6gx4VsfQV8Gv14urvvCm5Uw8eAKbLF1bTMftJavxFw5yffa8+MJsi7CWZqK+xW7 n1a7+9MOYn9bLz7UF3MA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1cj9y6-0003i5-NC; Wed, 01 Mar 2017 19:31:22 +0000 Received: from mail-co1nam03on0072.outbound.protection.outlook.com ([104.47.40.72] helo=NAM03-CO1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1cj9qy-0003cD-9h for linux-arm-kernel@lists.infradead.org; Wed, 01 Mar 2017 19:24:57 +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=QACty4lnXDXoWdryqfYzHXb+V0aeds9v8RXT/rWhZbM=; b=RUd7XeKMb3+WSB9BCqnH3A69J60C4JWOoo9uuXsc+eemnNRkkfjRgohhgkFTzdlWMFcKJIQemFGcos8NBh1qoS8jDw+ZFRciJPW2LZCCZqRsnlDKnjzk0x4eh1etzbpEI/KJxDGA5/rvCo5Er++x8iCNBchXX65vgst5qTdavus= Authentication-Results: lists.infradead.org; dkim=none (message not signed) header.d=none; lists.infradead.org; dmarc=none action=none header.from=caviumnetworks.com; Received: from localhost (27.97.135.110) by CY1PR07MB2245.namprd07.prod.outlook.com (10.164.112.147) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.933.12; Wed, 1 Mar 2017 19:23:37 +0000 From: Yury Norov To: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-doc@vger.kernel.org, Arnd Bergmann , Catalin Marinas Subject: [PATCH 20/20] arm64:ilp32: add ARM64_ILP32 to Kconfig Date: Thu, 2 Mar 2017 00:49:28 +0530 Message-Id: <1488395968-14313-21-git-send-email-ynorov@caviumnetworks.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1488395968-14313-1-git-send-email-ynorov@caviumnetworks.com> References: <1488395968-14313-1-git-send-email-ynorov@caviumnetworks.com> MIME-Version: 1.0 X-Originating-IP: [27.97.135.110] X-ClientProxiedBy: AM4PR02CA0021.eurprd02.prod.outlook.com (10.165.239.159) To CY1PR07MB2245.namprd07.prod.outlook.com (10.164.112.147) X-MS-Office365-Filtering-Correlation-Id: fb831399-4415-4fcb-d302-08d460d87694 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001); SRVR:CY1PR07MB2245; X-Microsoft-Exchange-Diagnostics: 1; CY1PR07MB2245; 3:5/Ygea4sq8gjK152rdBR/jYuPzjciWZw/pd/pSrej4xup0yuqk+j5oc85eBJVpTYmp31ozmrflwE4jVoJgeWI+PBZf7vr3Yfhm5yc4XcTLtqx3YaiDZqvR9G9lpkXUFyEiharnQciJCh6kz2Xbk9FzLypU+bQ0YVuyTZty+ad9/g7r1wh4MN+pLqgxF9boCuItysVfUAZRbbLz8qikKI3Afmdiyhjp+qaOas7M41hoLbVe+1OMPQ3nLfhZ0YHQQYra7w5wwcsPrdfVi5QFZdFA==; 25:wkAkdRPMRGg1vPoCI//9QL3wBliBjRFO5BmwZG7YIeopsAZnRP6IvwbEAn9ja8wSGenXI5P4OycAKAgNSeWUJIm1GjwpFBaEVss9kVVsAYv1MPo99sAZxzns9A8+BAmrIYDHyXOgQT20UKOQFg/4BSjArgh/Pk6THL96kPhYS/z9FgsPuWOcfXY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cb9giGoq+ZKeVA9qGCajCCsAD+TZ2E8VZG5QqgvBZY7rH3J5J5SmvzxmXZyAxMULb3o1d2r9TCdhd9TmezEbUqDZ7Xew1DqDdsPtEIGl4X8l3zQGmhaN932xlQM= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(278428928389397); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040375)(601004)(2401047)(8121501046)(5005006)(3002001)(10201501046)(6041248)(20161123562025)(20161123555025)(20161123564025)(20161123560025)(20161123558025)(6072148); SRVR:CY1PR07MB2245; BCL:0; PCL:0; RULEID:; SRVR:CY1PR07MB2245; X-Microsoft-Exchange-Diagnostics: 1; CY1PR07MB2245; 4:d70+5jEPWVLhkeRmcq4tGwU/K33EMQcpGqk+1bYellyndqVP+M/D+vwadkGlS1Vfin/vGEbqxylvVzdZ8rgf2qqKC41RZGwBUypMouwD/i7XYFXGYomDqqkn6J039JYvP0ex8sBk0EabUzQa/nCB+JZUkx6zWIv3TI/oK3CLmMal9IdSNAhQ2R5FCYT1+CnidvWx+La3aRNOKq2DlRhc2vhZ92i66wFIIzxbQcGWh4FJgdqCoIugaleGuhHuh9h0/zCFv5xPhnLluttlZ/sHUrV4p9pEA0u8mRgI6/rYl5OiAbz8rjmZhOfapzBbXQcCTw4dcAKrPxGaecSNI7zHzAZD8/2oJ0Wg+I9rTfoNafPcq1MjFEs047Pbtet/4NBeAKIE6+L3bim5o4bXZc78EDUu72sm6yfb0Z/32EC122Cq//mJGIpbzlTT+ur79IC52J4qWhThdVcmG00jIi3pP0RYVfu+iUY59N7lPnBys+Fm2r/yXPPBmhmvxnyG0tR30YLndfSiHQ+3MN+fd5tkBMGvCpg1sDKPWmY3pwjzaWy5GQfmkrNrgT8afIPfKttsQsyAuQyNHjKZGK+tkvWScTaqsMQD0H9sQ1QKjH//VXA/bOOjBeNdY4oYuEleXJRCCm0Nf4kdPBnlYzaSNnmGIA== X-Forefront-PRVS: 0233768B38 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(4630300001)(6009001)(6069001)(7916002)(39450400003)(76176999)(5009440100003)(50226002)(33646002)(66066001)(2906002)(2950100002)(81166006)(47776003)(50986999)(8676002)(53936002)(76506005)(4326008)(305945005)(7736002)(7416002)(25786008)(5660300001)(6116002)(6496005)(6486002)(3846002)(5003940100001)(189998001)(48376002)(50466002)(6666003)(36756003)(38730400002)(107886003)(42186005)(92566002)(54906002); DIR:OUT; SFP:1101; SCL:1; SRVR:CY1PR07MB2245; H:localhost; FPR:; SPF:None; MLV:sfv; LANG:en; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; CY1PR07MB2245; 23:TvStpBWecVgX+7eKIAax23F5ueQ5iM/P/uwtS7FYU?= =?us-ascii?Q?Zb7Tb9i+0PkbW4ulJzl5m9EEEPo8TPDcMGvozk0pD5XE+A9j6s1dpJM8dYMa?= =?us-ascii?Q?ayBsD5QuzNAFeU5ssKrmFgLwQNICEwf47Mx1NW3//FphyImEsXkvVtz+9pH6?= =?us-ascii?Q?R6+H8TEW2YVEGSyo/dz+stkg8MCPAlCHyd8+Re5ZeB3z97kn41kmsTOKX3qA?= =?us-ascii?Q?AWwSGkOGjb6pQk8M5lL230Iv3ZR0ix+aNbEanIBLCeTLkz4ke2fEASKqyQr4?= =?us-ascii?Q?DLZfqVLXpbsQlmtZ46OyXJaFwGaYNOI5HPdPTtc3c6yC6EXgnRnj0DqMWwSA?= =?us-ascii?Q?1CfmbJAljI7xxmO12QTVPks0qopU7PfoyuSR3ofJNKHTUA+3FEqn/S9Y4kT2?= =?us-ascii?Q?V+EFZqistMzQukNQk+Gosjecp5nhX7AtYBxEAO0QxU5p4Cs+gesf9gkC1r0t?= =?us-ascii?Q?JVkmU9YWSDoOeI4LO1M5/NhypC5854yvyfLfvWQAT8u7ckZIhJ27PJnPEyqP?= =?us-ascii?Q?4/8nOKlfTY9ABaDCba42boEwpkwCM1lhUcpbsVINu0HRk6pBaE3r25nycUZy?=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4Ql6B8mgCnKnmuRQrTS1GOw7my87HsIHXhQG8SUOTpzTm1goAV8831X5NYoGpRYxslfdvQA9Js+VPGA=; 24:W4WQPFtdQyShg9z1HsJU/r15ZsyxVPwWj/GNkz51alcfgfYTYSQMBJxenykwOuRe0yCPJBX5TapMYU68m3SdBWpt7v39Jj89GBYrhq8VJpQ= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; CY1PR07MB2245; 7:b1XxrBQ15lahGIL5YuAoE4FDHBC82SwIyDMzJrR/YKQR1ra3AHgls7itZYWeVBwUwPNbN1DFsrmxRoT8qzybkXSEjFPjY72Bnbix+k2tfZ/ej3A4iO+ltyPz04K5UMTqvJAq/FYxmCZvndHZ+74PuWmsd5nYwPSdYYLj7x9DWt1W0r+GNDLjxmUZ3P1i7h+USXjsNXHLY9WtQjHQUcESJoa45fBKRYjs1MHfIx4aPdAdsQ+N+NdUjoHCmg0zBDqTlh3jRJl3M/ZM8RmnrLidlhjZGNVa2ABuQB8BEbYrdsRShJ+kUwLDpvZbz3nNNRoAmw2JryZrSP1sMqMNRX8hig== X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 01 Mar 2017 19:23:37.6624 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY1PR07MB2245 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170301_112401_153091_AF6B99A0 X-CRM114-Status: UNSURE ( 7.83 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Andrew Pinski , Heiko Carstens , Chris Metcalf , Yury Norov , philipp.tomsich@theobroma-systems.com, Joseph Myers , zhouchengming1@huawei.com, Steve Ellcey , Prasun.Kapoor@caviumnetworks.com, Andreas Schwab , agraf@suse.de, szabolcs.nagy@arm.com, geert@linux-m68k.org, Adam Borowski , manuel.montezelo@gmail.com, Chris Metcalf , Andrew Pinski , linyongting@huawei.com, klimov.linux@gmail.com, broonie@kernel.org, Bamvor Zhangjian , Maxim Kuvyrkov , Florian Weimer , Nathan_Lynch@mentor.com, Andrew Pinski , Ramana Radhakrishnan , 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 d059063..887f391 100644 --- a/arch/arm64/Kconfig +++ b/arch/arm64/Kconfig @@ -1043,7 +1043,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" @@ -1065,6 +1065,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. + config SYSVIPC_COMPAT def_bool y depends on COMPAT && SYSVIPC