Message ID | 1464048292-30136-24-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 D16CE607D3 for <patchwork-linux-arm@patchwork.kernel.org>; Tue, 24 May 2016 00:20:16 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id C5B2528237 for <patchwork-linux-arm@patchwork.kernel.org>; Tue, 24 May 2016 00:20:16 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id BA4EF28252; Tue, 24 May 2016 00:20:16 +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=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 4AE5028237 for <patchwork-linux-arm@patchwork.kernel.org>; Tue, 24 May 2016 00:20:16 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1b5044-00022r-As; Tue, 24 May 2016 00:19:16 +0000 Received: from mail-bl2on0095.outbound.protection.outlook.com ([65.55.169.95] helo=na01-bl2-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1b4zs6-00068p-SI for linux-arm-kernel@lists.infradead.org; Tue, 24 May 2016 00:06:57 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=CAVIUMNETWORKS.onmicrosoft.com; s=selector1-caviumnetworks-com; h=From:To:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=O4jrSHAV7DjXmr44XZ6xszjYOYp376dp8kXbznNJFv4=; b=0pFPGddHBQJPWgsZ9SeHlU1AIdNKYlCiqaLvKSzfjq06aGqDK+fACkDIWsl8/U2vBcvju61VsYp3Cjobfb41T6Aykua6QsX9sF/v2428mynkavyBLQpL9/nZjwLDvD6446vU6rzGaEzLnSl1mRlqgAkXSpi3aCmZnviE/bwwhCk= Authentication-Results: arndb.de; dkim=none (message not signed) header.d=none;arndb.de; dmarc=none action=none header.from=caviumnetworks.com; Received: from localhost (50.233.148.158) by SN1PR07MB2238.namprd07.prod.outlook.com (10.164.47.144) with Microsoft SMTP Server (TLS) id 15.1.497.12; Tue, 24 May 2016 00:06:31 +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>, <linux-s390@vger.kernel.org>, <libc-alpha@sourceware.org> Subject: [PATCH 23/23] arm64:ilp32: add ARM64_ILP32 to Kconfig Date: Tue, 24 May 2016 03:04:52 +0300 Message-ID: <1464048292-30136-24-git-send-email-ynorov@caviumnetworks.com> X-Mailer: git-send-email 2.5.0 In-Reply-To: <1464048292-30136-1-git-send-email-ynorov@caviumnetworks.com> References: <1464048292-30136-1-git-send-email-ynorov@caviumnetworks.com> MIME-Version: 1.0 X-Originating-IP: [50.233.148.158] X-ClientProxiedBy: DM2PR0501CA0025.namprd05.prod.outlook.com (10.162.29.163) To SN1PR07MB2238.namprd07.prod.outlook.com (10.164.47.144) X-MS-Office365-Filtering-Correlation-Id: dccca33c-bf02-4352-cecf-08d383674337 X-Microsoft-Exchange-Diagnostics: 1; SN1PR07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pttkaTnaXzGnTbusHzE1adUuIhQ6w0Wr2VubC0HrtIIkeiEC7JEIeY938/7xpnpOTLpw2WezDYID99z0oC0ZjVdKFVAdqbCE2wyUF5jmPgvwVsR9CkX+1v0 X-Microsoft-Exchange-Diagnostics: 1; SN1PR07MB2238; 20:TUz38RSHydaPiqmqKnuUgPLBqgNJr5Tb5+BZW00bJVkpLjY7C4uAXzFmRPWR7Auw7amctaqYC0/twsd1Lx0ulays7u8CFRU5BptC7nYrMKMIof1tx+te7QitM4nvWTJUT1Aogeug5U+Sm+bMiSpCsrT0FqOr2Gksu/uXWIosREnKftAyBy5la/HF6rMNcmvLk9t3FFKzfINu77FOk7u13FP6glz1N/i5raycIIvV++2YD9nMk4hSoNlbSocOk7RYr1ISz5VpmPnUrHPHicP2bKOSkHz5q4Dhsiyah/r3RrqhxfKgl2k3GrSawjHSsnHnCWiZueqi3qNLFRZTHV0AR0vm2VdykDhc3+TxdEUSrHfASclFG6yNnM4KlnO/A0gG3plv4bQiYCA2Ha+iXoKRe/lzjCf5w1umX7ioVMom7LG7cTbyybGKuQ3dj4M6iZu+BPeF/foo/JsZ1p7uFKd08KNzOQ8B4oA+j2xKQa/4ML1cC6pmbP73W0oMnS0u6Qnggqb2kD2eozMCgZ1iVV+DxgSgBSPUXwBTbIFLANc8ozv83pp1SqDTcoJ70MVwK9tA1qyjSW/+WHFhsQukOzK2OxYJvT0165hhfRkGn05oSTs= X-Microsoft-Antispam-PRVS: <SN1PR07MB2238C3631088B3307515994CEE4F0@SN1PR07MB2238.namprd07.prod.outlook.com> X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(601004)(2401047)(8121501046)(5005006)(3002001)(10201501046); SRVR:SN1PR07MB2238; BCL:0; PCL:0; RULEID:; SRVR:SN1PR07MB2238; X-Microsoft-Exchange-Diagnostics: 1; SN1PR07MB2238; 4:FUHk+JEz9WMQBep0G1KWjjh7beLkxvQ0gc9lsEUW617mBFmImUiv+0uFSS0j1etm4kngb/wK7LDlJ4AFalfxEPc/b9T8re9hP8tfsNTLncT+B6tiCu0h80ryEfcxptEfeSIKxRT6MHauNuSyzulkht3XBgd24Pq9LVwOar57wkBlYBd0b8r+keh7+P5RtPaqimbLL6qegHGiyynxV855A3ZvK9q44cqONgUSluzU66QL8sQPt7haD03g3kbQujafT+IyHqzqTQ0J8AVI4Wl7aHO5NH28DAz3OkuRfL0qurJirgYxJQ2qRWib9oMI1Z9b91FT3hebYKWh976002Aa7Ct1KSjpKhnTLroWQxUf28tVwwZFmdPXqBmLfsc0UjZv X-Forefront-PRVS: 09525C61DB X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(4630300001)(6009001)(47776003)(66066001)(92566002)(5008740100001)(77096005)(76506005)(8676002)(229853001)(107886002)(4001430100002)(2950100001)(189998001)(5004730100002)(5001770100001)(33646002)(6116002)(2906002)(42186005)(586003)(19580405001)(81166006)(5003940100001)(48376002)(2201001)(50226002)(50986999)(50466002)(36756003)(76176999)(4326007)(19580395003)(2101003); DIR:OUT; SFP:1101; SCL:1; SRVR:SN1PR07MB2238; H:localhost; FPR:; SPF:None; MLV:sfv; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; SN1PR07MB2238; 23:8tae51i2Sxnl/JMHRbicqZt90jP/1eBmQWhSrzAiCJe2KuHOokk1lYS0kqN5FHPDPskWXL/Up8Hn24n7/xom/GjRSwH7aZkapvpNSd5aFmz6vky1tzImwIkSW+Mql7t6J1452dJpkmDBLpuILx1W5NhlQYYWTs11fgsohn8Z10xtJRxSjUwvT81wM6DIPJKw300WduKPESEYvh4qQBwsByIXmeawLlLNqIvrXbMVQLWAQvQG/+G1SCcA5M2hVYjZFki3o8n8dqYjGhXGwqAVvUDDDYgogcX+gW+ksKbe0yITCi3wMkD5tdCMp+jfA4RaWYBY2D22DNVrNNHBGQvxi6Y8w0y1aPBMZOyTgpT86zCFvoe7j+KiBo1qgBW5BdFuECQ7rmm6F+pAx9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pamDiagnosticOutput: 1:23 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 24 May 2016 00:06:31.9941 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN1PR07MB2238 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160523_170655_711034_C862F837 X-CRM114-Status: UNSURE ( 8.60 ) 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: kilobyte@angband.pl, pinskia@gmail.com, szabolcs.nagy@arm.com, Nathan_Lynch@mentor.com, heiko.carstens@de.ibm.com, agraf@suse.de, geert@linux-m68k.org, Prasun.Kapoor@caviumnetworks.com, klimov.linux@gmail.com, Andrew Pinski <Andrew.Pinski@caviumnetworks.com>, broonie@kernel.org, ynorov@caviumnetworks.com, Andrew Pinski <apinski@cavium.com>, schwidefsky@de.ibm.com, bamvor.zhangjian@huawei.com, philipp.tomsich@theobroma-systems.com, joseph@codesourcery.com, 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 0bb7adc..765d7c2 100644 --- a/arch/arm64/Kconfig +++ b/arch/arm64/Kconfig @@ -926,12 +926,13 @@ 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" def_bool y depends on ARM64_4K_PAGES || EXPERT + select COMPAT select HAVE_UID16 select OLD_SIGSUSPEND3 select COMPAT_OLD_SIGACTION @@ -947,6 +948,15 @@ config AARCH32_EL0 If you want to execute 32-bit userspace applications, say Y. +config ARM64_ILP32 + bool "Kernel support for ILP32" + select COMPAT + select COMPAT_WRAPPER + 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