Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753939AbdFSPy0 (ORCPT ); Mon, 19 Jun 2017 11:54:26 -0400 Received: from mail-sn1nam02on0088.outbound.protection.outlook.com ([104.47.36.88]:43584 "EHLO NAM02-SN1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751108AbdFSPyS (ORCPT ); Mon, 19 Jun 2017 11:54:18 -0400 Authentication-Results: arm.com; dkim=none (message not signed) header.d=none;arm.com; dmarc=none action=none header.from=caviumnetworks.com; From: Yury Norov To: Catalin Marinas , Arnd Bergmann , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-doc@vger.kernel.org Cc: Yury Norov , Adam Borowski , Andreas Schwab , Andrew Pinski , Bamvor Zhangjian , Chris Metcalf , Chris Metcalf , Florian Weimer , Heiko Carstens , James Hogan , James Morse , Joseph Myers , Maxim Kuvyrkov , Nathan_Lynch@mentor.com, Prasun.Kapoor@caviumnetworks.com, Ramana Radhakrishnan , Steve Ellcey , Alexander Graf , Mark Brown , christoph.muellner@theobroma-systems.com, davem@davemloft.net, Geert Uytterhoeven , Alexey Klimov , linyongting@huawei.com, manuel.montezelo@gmail.com, philipp.tomsich@theobroma-systems.com, schwidefsky@de.ibm.com, szabolcs.nagy@arm.com, zhouchengming1@huawei.com, Andrew Pinski , Andrew Pinski Subject: [PATCH 20/20] arm64:ilp32: add ARM64_ILP32 to Kconfig Date: Mon, 19 Jun 2017 18:50:03 +0300 Message-Id: <20170619155003.13218-21-ynorov@caviumnetworks.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20170619155003.13218-1-ynorov@caviumnetworks.com> References: <20170619155003.13218-1-ynorov@caviumnetworks.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [85.253.137.34] X-ClientProxiedBy: VI1P190CA0018.EURP190.PROD.OUTLOOK.COM (10.165.188.159) To CY1PR0701MB1867.namprd07.prod.outlook.com (10.163.42.21) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 052852ed-f60e-4968-085a-08d4b72b6867 X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:(22001)(201703131423075)(201703031133081);SRVR:CY1PR0701MB1867; X-Microsoft-Exchange-Diagnostics: 1;CY1PR0701MB1867;3:98Sz83IumWa+i5RFB88JUoO+n9uHFA431XKMQN9GQL7c/eV4Luf9ckSXbqKXdecYhVtJWv8mXCckNzt2hu+TRaN0JF6biL4D5egpRq2lJNyBM8Iv4QOfGcB3WqI21DVgu3xPVu+ymNQDZN4CD23FxKiv8fLMSZvgR4qfJboNOtMxTfk4axkQ8VhITNCCobIZh2/5vlhCFVPZlSrcM5kmg94w/BnwM637kaApWlFcClWDYJc42b7EsVaZkDJezKcA+h+xVdu43TeTe6XGHED0rQzlcXNXVpYwdWG6slXUy4XegXo9FnU61I3qjgeXQu7peUTRkNpypC1NBK43friLZA==;25:c0zQBrxUboleQtoHMbxc+mkANHe2JqYuNAcX4qXjH5FSOXtcNwjL3ofXy3VaEnT/f2Z07F7bIvzSonhN7ONN6Q9KZ8NMnrbtgP9wCMrrRn/msAf9rl/2OEokncLXTZVE+NK7eEI3B4Smr6FNemDyKD13S3FoKVoDiIDGeZk9qW2eTVyg/1OVDuiJJdjoVIIlkIXSh3yYEfznna+HNRKAPlvoheUXnneX3T6HyMMPGR26rQuTBCI0qxoCf5h94bTpqPQKKrZoiiLhAwcOuWmHpyCdhl/ND+ydXQjuvK4t+TGG4nc02uolhfetOD5A6FB3t2h63YJ84xh9xgDO43xwosKoPflB5LH2FF99wCFal4pvwBr/igwjZTWv3rolGHx2Uwrp8hsXvjXLwyiSENChXBp3Dm1YXoE5z+bKsU8IIjswjLEY4/tqXx/9Dd0078m0KDHgLZ7i9u3Hs6cxXsDrEWHmcds26gj+JTDeosuYu38= X-MS-TrafficTypeDiagnostic: CY1PR0701MB1867: X-Microsoft-Exchange-Diagnostics: 1;CY1PR0701MB1867;31:y0NA7OWp/YqdrwlZVc8bNjHbIVfxE33NGECCc/sLRVkMRY2oEhCOwVodQlu1kCyXLxJBN3Vb0z2ecEu4M+bImFHF/mfv4s4M8t6f2u+IF39IBiw4+qb1sDKbNAi3W2kvofpZSs4t2h5E1XALYMzWpTMR0C+ZqPyKpn7162Cjv7InJExFA2qP+68hIi7kYSGLFiFoizAh4vFryvYmi6JPHUPXKCCjMIwvVtkJ3liPQu8=;20:OL4NNf6qh+jENbHfgVisY0emlXui7RklbzsFYcr9gEcORzaqz+LSdn3+g+ueQH/G1Q44/CboOTSP1yAjsg+KVdiONsfZKQTmRD4s5eU/RCOQC1Jo6awLwYj/JsWYSQ0cl4r9Rg928gusNfUggP54h8SisJsFFlmTIGEcFBFJ6GD4xRTZhIvUbR128k2SLsR9AmKBMLw2GC8tBbQPmYwUNrnKfDnN9xf1v6pwW0aDSPLYYkYhrweWYZ1vpXrxy34Qfg9UH8C4vCk160ClisfWcqHi34cVpfLN2vRAr30I90otXNAH7wKCcgG/Fasmrn+fpxuxmtvgLwYe5+W+VtAPlNK3j4Ttqk9gdx5cA6eZ6Klz+To6Ur0WDyvm5x9W532GcEJEB5nZU1iV52BzacP2DnvrrLPIiKP9NL8Y81T4yWldIczoYCguFsTS6aYIK1c7iMOZOF6/35qW6zRt5AT2SX1WNwLgZc59N69K4DyU5NWet3PU5PRcDie9ka81MUdEHCueTlHFlwi0yJJDWRYlS2BaWRBL3shf3jz5t7Ag3GzWxIm1uoB93DD1hZiBukRM9uoRToPk24pUevQg+mX1oOYTH8peJ3kj/5x5FJxN1t0= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(278428928389397); X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6040450)(601004)(2401047)(8121501046)(5005006)(93006095)(3002001)(10201501046)(100000703101)(100105400095)(6041248)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123558100)(20161123555025)(20161123564025)(20161123560025)(20161123562025)(6072148)(100000704101)(100105200095)(100000705101)(100105500095);SRVR:CY1PR0701MB1867;BCL:0;PCL:0;RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095);SRVR:CY1PR0701MB1867; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1;CY1PR0701MB1867;4:OFtiIq6CuAQVfQLFmyoBepIIY2NiHAMnsMI64lEm?= =?us-ascii?Q?CjBuMtJOjprF9x84Y1lpYc0zGLRKAcrORapdWwBihjmqJ12zJiXyV78zaoJy?= =?us-ascii?Q?t4GEjXuoOIYPbNPcNjiBMAdL0OWliSJt1yPFXErOVvoBDEA16gV+2HE5Bi6s?= =?us-ascii?Q?UIVnwx3XDSp+9hDawZ7FhCzVlrMqwsS2PODnr8liiLOfxVWiZjVbDqZonKs5?= =?us-ascii?Q?Q6GlkhpWGgzVkNeipEOSsIioXROrpgBmG9BitZSPkxYp327Tsn/ns7ZXF8fA?= =?us-ascii?Q?bMltmZ7LJ/H6rd6vRHZgtkPW3j6HDYxlITmosnnplZcDkXGz99ztKnSiY+No?= =?us-ascii?Q?vWb5rpl/6qV14EDV4qTfoefkD9n8HoBAj34QIIS4h+yMpnt39T23emA/RG34?= =?us-ascii?Q?Y8lFfDunCYbGZj3lQd1BW19+WqwgHCfnjWES1fNxPlXceUuAiOE9ROY2HZoJ?= =?us-ascii?Q?oRsTlVhXzOKroywcUJHBo+ucth5Oaq3wPlXGtY0NzstooJrMT08amufiYla7?= =?us-ascii?Q?smM3Yygs8R3HdODNXYpqlKgrYjQApke7m51yn2CZWtqqyUGGRiibDbLcM6mr?= =?us-ascii?Q?QdS6I1GZAGabxIaR/8V1EVm/lBwR1XiHYI5D/Uu2MmPpizbQ0zPGWRiQs08k?= =?us-ascii?Q?JYDBmcmZy6NacPEPO0qEvDs0mCKhPxmkmwLQypLhiSZE8Elo85/9k4aLchpU?= =?us-ascii?Q?fDnnASL0ucz7FVHEs8nwQK17PhzFRraub3N27oOuqV+za/5nJfMyiJh0SyMn?= =?us-ascii?Q?IK80cL94tnxXRvIWcXCTRui9GSyMgg4Yn7TXhqIT9QIGmeDM1KqtmAAYhLjX?= =?us-ascii?Q?jbREvICj+vKz/JfvJUSw6n0N7o8jhF3U3xXdy8ZP+3lBj6K9xGuQeRE5x8Q8?= =?us-ascii?Q?ugvUR4Sr2YWCTi3bGMEmBR7f8Z0wxTLmfkTnsFk5via4HpGPOF/oiO3XI9GC?= =?us-ascii?Q?k7q/v8JGG9wrT/jcu+BupyoLt805GD+PwzSJkGTJFl8eY6K74H2g4hMC0Dlr?= =?us-ascii?Q?0HBCVfwzrcxuCGVVupbI7NYYsSrOM3mdGPLkKliu4THQNRvjx6C0j3XorPpd?= =?us-ascii?Q?zW4A72Qk/LM1dM4p0cHgbIuqA3yhtV16mfldNL5OAuU3MIy4EzYXBL4UJwcZ?= =?us-ascii?Q?Pf6N/JPSKE2rgz0KQVe8M+K3dWuV5Q5xuG8DLAXfPpCVUXdq7oAytA=3D=3D?= X-Forefront-PRVS: 0343AC1D30 X-Forefront-Antispam-Report: SFV:NSPM;SFS:(10009020)(4630300001)(6009001)(6069001)(39400400002)(39850400002)(39410400002)(39840400002)(39450400003)(42882006)(33646002)(2950100002)(36756003)(72206003)(81166006)(8676002)(189998001)(305945005)(6486002)(478600001)(48376002)(76176999)(47776003)(50466002)(50986999)(54906002)(66066001)(6116002)(3846002)(1076002)(76506005)(42186005)(25786009)(7406005)(2906002)(7416002)(5660300001)(38730400002)(6496005)(107886003)(5003940100001)(53936002)(50226002)(7736002);DIR:OUT;SFP:1101;SCL:1;SRVR:CY1PR0701MB1867;H:localhost;FPR:;SPF:None;MLV:sfv;LANG:en; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1;CY1PR0701MB1867;23:YRCenJD+0jibuymB7eGgbzqEBluSD/uW8BonbjK?= =?us-ascii?Q?arD4EMuS6+f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xmz5NIWtFp8yN7ZTOstpRsJLJo7hLpHE+wV0G8UP6lxXVvJvl2KgJ71QTSI= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1;CY1PR0701MB1867;7:wvlgeR7tHvCQLcz2HrekMByINOK+Vq3ExeDrNAIyeZBznMFHlAlljH85HEUoQdkTtVuYvAaPw85FuE/o+qsE9DFH+6r/4k/i9rNJUDtIGg50JRv2idLbe9lJiJl2+bqttyjvFSG3E/nNJaw965Pjx5g6h4t29npftY5fdKxOxgrU5Gdhh0fnIWSwUOX7K+na0vFhO9zvMS45JDCl8xfmLuStvv0PFME0jNws182O81JCohL+V2asKAdW3r5ktcXxZEEvXn63xBYVYiMQVEQ/iM04mEROyFI2ugkjhyjma2tRqa2s/pRE3omyRKnCV59D4MPAJQTExzbKEkrXBCWIU1+6w6fZeC6OgTTYqiyv9Ny6L8CZI3+ijMp/W3FcPkcq7dmedmT7OoS/3Xq685lmOCIJwJxnvHqY7rrDlH3IsgIzFQTHHMomZCUF6GlURYcZruPYBC132nbskzXUwH6aJhRuFwmywzottmpflwGUgbCXmLLniZiWzqknU1/CAcEf5QqbKUbHnd6AEDvMJDyA8x0ozE/EEan8lmjkXKvVy3hz7IJ3Yf75yNAZwOta2Ww+ebqJHG2akeelq+PZ1ksRlhq4mDl8JxAyMGbW7iJ64fFUFRWS5xXajQYMRhFU3N7f6Exs5jYUjzE3bqkKS3DhxxK4qD1rDudv843O3qpyIlmmpRzfpM2NFpLTPrW4VY07Tg7mwjaKAAA4LwlOmg2dZ2MtoQa9CA678fQsgzBOjZajpDXonL/CvirHFpS8/eLA7JmlvG1667g4Ktr4PH+PqWS/W6087njHdLM+X27q5ic= X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 19 Jun 2017 15:54:02.3980 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY1PR0701MB1867 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1257 Lines: 42 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 168ab2cc426b..242771c764a5 100644 --- a/arch/arm64/Kconfig +++ b/arch/arm64/Kconfig @@ -1079,7 +1079,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" @@ -1100,6 +1100,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.11.0