Message ID | 1477081997-4770-19-git-send-email-ynorov@caviumnetworks.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org> 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 38A8B60762 for <patchwork-linux-arm@patchwork.kernel.org>; Fri, 21 Oct 2016 20:46:51 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 29AFF2A039 for <patchwork-linux-arm@patchwork.kernel.org>; Fri, 21 Oct 2016 20:46:51 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 1DDE62A049; Fri, 21 Oct 2016 20:46:51 +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 9867E2A051 for <patchwork-linux-arm@patchwork.kernel.org>; Fri, 21 Oct 2016 20:46:50 +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 1bxggu-0005rR-6Y; Fri, 21 Oct 2016 20:45:24 +0000 Received: from mail-co1nam03on0056.outbound.protection.outlook.com ([104.47.40.56] helo=NAM03-CO1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.85_2 #1 (Red Hat Linux)) id 1bxgYz-0005Fo-7n for linux-arm-kernel@lists.infradead.org; Fri, 21 Oct 2016 20:37:39 +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=dndCUr5fOvlhhVIc3mDUh5yTt1aHOkYL3xwLJcxEJgA=; b=kvDBlzugeCxZyuRjahJkEELdA4sLWJQtGvF6vIY7CcVrbacbZuCUeMCkBbRWDFuWzObvlnkqq7vbsg8YAfWdJpwfV17XVc9ucQsEREmiE1pDZg3LWcQYKGOW8ct9sNurLfMTdevie1vD3Gvabtz1Jle2sySg/sVGzR2BZdvFiy0= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Yuri.Norov@caviumnetworks.com; Received: from localhost (95.143.213.121) by SN1PR07MB2254.namprd07.prod.outlook.com (10.164.47.148) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.669.12; Fri, 21 Oct 2016 20:36:50 +0000 From: Yury Norov <ynorov@caviumnetworks.com> To: <arnd@arndb.de>, <catalin.marinas@arm.com>, <linux-arm-kernel@lists.infradead.org>, <linux-kernel@vger.kernel.org>, <linux-doc@vger.kernel.org>, <linux-arch@vger.kernel.org> Subject: [PATCH 18/18] arm64:ilp32: add ARM64_ILP32 to Kconfig Date: Fri, 21 Oct 2016 23:33:17 +0300 Message-ID: <1477081997-4770-19-git-send-email-ynorov@caviumnetworks.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1477081997-4770-1-git-send-email-ynorov@caviumnetworks.com> References: <1477081997-4770-1-git-send-email-ynorov@caviumnetworks.com> MIME-Version: 1.0 X-Originating-IP: [95.143.213.121] X-ClientProxiedBy: AM2PR03CA0022.eurprd03.prod.outlook.com (10.160.207.32) To SN1PR07MB2254.namprd07.prod.outlook.com (10.164.47.148) X-MS-Office365-Filtering-Correlation-Id: a5353439-ae8e-4df0-cab9-08d3f9f1fcb8 X-Microsoft-Exchange-Diagnostics: 1; SN1PR07MB2254; 2:62CoKc8pChViKHE6BAHZLhzmZxFKEkc345tHO0AEe2lGfFad4ZODdlNqs6N9KrpyhNUDCDA+zSTojpKZHfaGw1O98aI72QYCknJcl8YyxaTAQn4hKB6kYaxcp1n3mXDb8AtRTokEq/5TUDSgQHI0ruFgPzkxyMmshajR+Mr9ujPDxA0WDMxhfmCRFhOAuUhNFhDzz7KpSHmfdc8Q4xghSA==; 3:9RUrgsC7iA35gJWuL2CyQ+U08I+rKrlsuFOGIlsVedBN3vL6k/BEls7tHEpF3fDDOb8t0+wjWS9vXvrqdAUT0ZYu6FkHANsumCSflriucmR30NfSefpdGKVnaOjgb6dg/Qlnz3+v3EcaY7NNCwxoMg== X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:SN1PR07MB2254; X-Microsoft-Exchange-Diagnostics: 1; SN1PR07MB2254; 25:DpeOdu3b+Nm7fc/mPtTQrUVLWneGaO1nWhHXlNFy0o40GR975Yc+soCg70d0UlbmCs0UqAAqLoFDrN0zjEnhGG/OWNPZjT+6/AlBC7wyab16DpGfAaQ8NYEMzdOTqfIt0zKI0sTEfHmvioP5Rbj908lMOD4rROF03TqA08KpTyvZOtnybgxCRd0ym3LAXx81GKX91CdvVGO7FjKPAfynqEt6KBt9An0nRUo4C8pT0ys4e5EITgJSefZNDasmgyc0/tYIHv4lTg5Cy3P8vlJSXDEYdrBWkn/icPiPFnJu5X2o0thMIXWpbPT1keDPNuk5sGZvDY9NJ3zDlE837digXxxxh3r8FOnmVooC0ubBP0Mk7pSrPYIaA6YYbZ7KvNTblEaIcqaq+qHwn1UuroPNeJb3gLT1H2Fd5pCfgyByXTbiQ4t+NNbmA4r3mhhTml5XO/QyqyslAyZqMZk2Z3gFeKZ2iZB43d+0jWR4wwvsmmYTVD+P4t0b3MJ6VJxiCLTzzg0dytPdm9T3j2b2/qpGepdetSNDW9+kyFlUqB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qWIAjTeAFH1SHnwoD9A7NoH+CvR/L1/eZop4VoI91Rr4vio8fIwtSQXJ7iyGF7wbMlDI= X-Microsoft-Antispam-PRVS: <SN1PR07MB22541CC1CE05231898DC6653EED40@SN1PR07MB2254.namprd07.prod.outlook.com> X-Exchange-Antispam-Report-Test: UriScan:(278428928389397); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040176)(601004)(2401047)(8121501046)(5005006)(10201501046)(3002001); SRVR:SN1PR07MB2254; BCL:0; PCL:0; RULEID:; SRVR:SN1PR07MB2254; X-Microsoft-Exchange-Diagnostics: 1; SN1PR07MB2254; 4:RY5zDjqR88QbDOUWVy3tgMRsg2Ur2CngXPFPsqu5EZBZHQS82PA1Jbvkd8/S6fDp9+zr1dL4Ro2CkUyk9kHrGfqoAJK5W02hn4A78x+cDF0fMpXdCmXistkCY1l0OZwvE8kHVe6QlgfTisMlLpR0Dtuu1RJptwRtcCLxR5wAhb7LsPK/4KllzWUlVBEpv4OG9nvU9qg+u+sMXu87IRtyrTnz7kb6xL9YAmtgZd4/dLf9NFZtGBuIkvmAzPUYbUdnMgxe16wA6DoHkR5kAAQOkc5PQ3O4AmbShEvANOYe7OlR+QRPVLtyidEbjyRu33A+LaC2GfXVegprcv58TmO+xdHSvTsGQDsQlhnYZE7dqA9Aq7Gh553CTiUm8DY+s32UChxMxh6x1LMZllsNJyll3MQKoPWaZe6yptzAz3QwvhjVqMKfRl2BQS0ebMvSxQetslbsYoeNVgbgklxBYSKSFg== X-Forefront-PRVS: 01026E1310 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(4630300001)(6009001)(6069001)(7916002)(189002)(199003)(42186005)(6666003)(5660300001)(76176999)(36756003)(4001430100002)(76506005)(50986999)(105586002)(106356001)(2906002)(229853001)(47776003)(48376002)(50226002)(2950100002)(68736007)(33646002)(2201001)(81156014)(7736002)(101416001)(7416002)(3846002)(7846002)(19580395003)(92566002)(305945005)(8676002)(5003940100001)(97736004)(6116002)(19580405001)(189998001)(4326007)(107886002)(81166006)(77096005)(586003)(50466002)(5001770100001)(66066001)(2101003); DIR:OUT; SFP:1101; SCL:1; SRVR:SN1PR07MB2254; H:localhost; FPR:; SPF:None; PTR:InfoNoRecords; MX:1; A: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; SN1PR07MB2254; 23:tntmi2gaWFBevsn7kJwhuYLKUFkVUi8NNQB6Kafun?= =?us-ascii?Q?yzFVtvw1x0+9T/2fOeQ7j+TYAdnDi8joUqxErtPhut3n/N1aoOHL01W/ztTG?= =?us-ascii?Q?Q/6lMPK0yTLLllOzz8hDPWaDAvh+A4OoGogwQvrq9b0g52/lw4qgdAaqWsb0?= =?us-ascii?Q?Kud9nYG40idQfo5PwADs4MHFtLydKkDwWUh6c6mCus4xZoptvLZJVJvYi8YK?= =?us-ascii?Q?20JT8BEpqUCdZakqUQ4Zamk+CiZJzx2bbzB9fT5KS9/ExNO4zRaDyrAnS8dj?= =?us-ascii?Q?3C83pwXBTZDTecUvYha2umc2ET2KzVKR6jlSyMFaNBurGJvEnUbAgi5k9bTp?= =?us-ascii?Q?p7bwD+Em3EvVbmeutCHopmbdDQ12d9nAlHBDahi49io3nOws40OsieiSzUeo?= =?us-ascii?Q?RXFSMPdRz8UAWrznz4iAIF1wYphhsfGgSK3YJ1BhuYI3w+2CdWTwzyF/mvV8?= =?us-ascii?Q?zzUr9fxWqk46D4am3pAbgfgPtBAOf9eOLRqf8hQ0xxphWwnVQcu5vC6BoL6g?= =?us-ascii?Q?/aA9pf1mr7dALDF6VkkkNvpLleyiFYAtEJW9zbLGRMdKEwsA6Vv8P6oPttNZ?= =?us-ascii?Q?yUFZD6fCo1Mb9zN0Vr+TKBwK+Y7vjE+SMSsliKJJ9zpWXqLNJ0sgUpXZZvjk?= =?us-ascii?Q?6nSRiQ1ZTfV0HYFM6HLPFS3KUxBPrnEAgSZxA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xpeNjijBdc5+1tpmR7jz/MwYvbBhFQ8iHZ4SvHsSVa+VVaQjnmhQtnELV1CCM1Bls1ZsFK7KU/4R8t1iC+6t75J5zPJQKfZNxlLo4HcpRWk4cWsHZr5K1Y8s9wDZ+gcAvIaHcVlVMOsRQRpRPp2S69VBq6s=; 24:+y3+rLArjeaUwt/CqSp0ywdoNvqD0/8kbbLW1QGlyIG4AbcoAz4bJn/EKoam9UTovD4yfwnTmQQJ0mFB+hNTAMJeGp7Yqj0a9AkTk2GDlzc=; 7:c9CyIk6epghwaEUDOiQ6yyVzKffuqbv4WyR+6mljll9o1Dl1IsnHq0uDZFD9yUHVODvEONMufXkA48d45SCjrBFpVkmQ2+Q9p5fiIvuMY2FacTlFqAZ8fA87tlApDC1pErUiXJZdehG5gyLg60pW4n7oKUiHzip8fQIjJOVSiTtwNC4Udp30idzmmuNFAjs8d4UYZkUEyG7aAMnIjD31XuyJm5KVwmAtpgtcghdcqB4yNWpSc3soD7UgQ8yfcLfsjtsQs0ejCk/FF1oQq/elwZbo05WSWe4Q7NstxpL37X7VHz4EnO4QcrTKKwcK7mMwuJ0hmvM9Njlyun7yLNXpMHZbwDNh0fw9xjAE2tsAIVg= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 21 Oct 2016 20:36:50.8182 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN1PR07MB2254 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20161021_133714_306532_80E5555E X-CRM114-Status: UNSURE ( 8.67 ) 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: <linux-arm-kernel.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-arm-kernel/> List-Post: <mailto:linux-arm-kernel@lists.infradead.org> List-Help: <mailto:linux-arm-kernel-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=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 <Andrew.Pinski@caviumnetworks.com>, 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 <apinski@cavium.com>, schwidefsky@de.ibm.com, davem@davemloft.net, christoph.muellner@theobroma-systems.com Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" <linux-arm-kernel-bounces@lists.infradead.org> Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP |
diff --git a/arch/arm64/Kconfig b/arch/arm64/Kconfig index 9efa86a..07e177f 100644 --- a/arch/arm64/Kconfig +++ b/arch/arm64/Kconfig @@ -996,7 +996,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" @@ -1018,6 +1018,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