Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753425AbdCAT0W (ORCPT ); Wed, 1 Mar 2017 14:26:22 -0500 Received: from mail-co1nam03on0049.outbound.protection.outlook.com ([104.47.40.49]:29984 "EHLO NAM03-CO1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752233AbdCATZz (ORCPT ); Wed, 1 Mar 2017 14:25:55 -0500 Authentication-Results: lists.infradead.org; dkim=none (message not signed) header.d=none;lists.infradead.org; dmarc=none action=none header.from=caviumnetworks.com; From: Yury Norov To: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-doc@vger.kernel.org, Arnd Bergmann , Catalin Marinas Cc: Yury Norov , Andrew Pinski , Andrew Pinski , Adam Borowski , Chris Metcalf , Steve Ellcey , Maxim Kuvyrkov , Ramana Radhakrishnan , Florian Weimer , Bamvor Zhangjian , Andreas Schwab , Chris Metcalf , Heiko Carstens , schwidefsky@de.ibm.com, broonie@kernel.org, Joseph Myers , christoph.muellner@theobroma-systems.com, szabolcs.nagy@arm.com, klimov.linux@gmail.com, Nathan_Lynch@mentor.com, agraf@suse.de, Prasun.Kapoor@caviumnetworks.com, geert@linux-m68k.org, philipp.tomsich@theobroma-systems.com, manuel.montezelo@gmail.com, linyongting@huawei.com, davem@davemloft.net, zhouchengming1@huawei.com, Andrew Pinski 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 Content-Type: text/plain 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/z9FgsPuWOcfXYOjh6SOSavuqEJC+LLxTzOgM1vzqW4vpkXyURYUgxZxu6o8frKYL4oYjEsoPO+r5c8W8vM3htfkWY9gbQ0EyAstk9oCwodB8j4EhmHmqtUL2oMzfaRQUhoFx9wETIN6WOchUsmTuBkgoNjAmRelRqpczKgunoSFU3oRoW8oiKhzJNkryHQlhq5P+3vRzS3qf7GED050+hOkGcubJv6hfLa4OeXBeVGGv7n/BwngYogXUcl/56/dum3ZhOUgrTXVhOTXCNqbPzY98N4ChqQPxY3k9QQEnzXDg== X-Microsoft-Exchange-Diagnostics: 1;CY1PR07MB2245;31:aPSjAr6NKfORcyW6mqxucDWzvkFAoTiJpJVnkDNCRnAQwQgJ7I+WfJF97T+3wW1ZIQcV1JKQsb9lhBVn9gD7jwYa6ntEd4w5s1IfGvkahhUmfS7TelfDcYziwjFmBPa6IFIp0xLuzOjysJ7OziiOc93N5SGi4mr/9TEDcnuHD3ax+kmRqeJjssMzjFd5RtcGe2401GdTJoo6MEPfAuOtaMUK7SIN6SZhDNiOdkSc+qis61hBxLouiaQF22M+3r05;20:mLEps8vfN0er+SMwVdCfQO7w9FtrpNfeSduZaK+lyxjYKqetXgVIWbM62a8xHRZrITI3Lqi2gz2fABjPnHOWkSWZtN85sOn26ufuUcc62434MXyf6eCNi7lTYJQsjyCgw9KPABtYXhAO0Krz+1BBhhJiI8DRo0/yTTvyJ8g4TurTaEKMUHjMI5lyjR+blZIQIexYjofMPLtrcib3VaqxPDvnhSqyiiEm7/hAq6+MS+TWXKvdMQFac7UwbP9FqqW+g+lAA2oL/ZLBEwAuA0fesQSdLvM5VlVGelSOaXBqU47EDKxQBJzFwYQTN4medzwbc1aKTX1wBwGMO839EwMeSNCktV9NK1r9y0hDL+jm7Uaep1n7LWCpEZsoY+pt7nzQ9FI9f1Wk4A3Buf7oduRusAycQPv1gBwSM5NH/PH+Jkk/wYUVcFWEt1Wz0fwh19XJJC4LvmgvPjAc4vBssZFtV5V+rrkneJu4kjSw8Yp+DgpQ1IDHcb9giGoq+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+0PkbW4ulJzl5m9EEEPo8TPDcMG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FOBanIi50XnyeKaLq/I40AhGIBdp9S8I7wVbhPOJ+ICFyLNvRanRxxgA?= =?us-ascii?Q?no=3D?= X-Microsoft-Exchange-Diagnostics: 1;CY1PR07MB2245;6:Kk4j8IjPwXFt3pme9s+x0JHY2EoeZTtcxYghnGvmpW7HGogK20lIVwzTlZIY+Whuo38Mu3Boq01GCBoQ7Bt2hr0ZujUSDNS0NQG25eZAMYqPzZL0sJgz2LMb299XH/EbQOHW3BJRaRw/YJgzr+/3PrpZtPP4UM5P0FETQq2h0yuL9JdSWd91u4a16k46pKkYfkpJQSiNNUkFVTwVv0LOJ9IcdOgDjIruyfRLsr35CEQmlfyP8+fTP64HIXraRVD+E4qd4gAVWu/0CkkA3EacBjsZ9FyLSt66FCHJUS4xXXE7G/Fg9DK6TT7dqH3+amjFtLJRlKXwtd9WkJ20L4G6BLRPfFSR7/zE16Ewi28GibpPj37gauq/V17/2sO6CwTTeRsit5hUdx9ucL7cy0YHKg==;5:JQwfduGJCgDJNTvPuassch08nx2hjik6OCgeRaF9rWquwwuvFbWPKtgKsIBRVr4LPJeJJsIN9KAmIQ4TFT7bmPuRsZvR4Ql6B8mgCnKnmuRQrTS1GOw7my87HsIHXhQG8SUOTpzTm1goAV8831X5NYoGpRYxslfdvQA9Js+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 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1258 Lines: 43 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 -- 2.7.4