Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934268AbcJUUvX (ORCPT ); Fri, 21 Oct 2016 16:51:23 -0400 Received: from mail-bn3nam01on0059.outbound.protection.outlook.com ([104.47.33.59]:36960 "EHLO NAM01-BN3-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1755666AbcJUUvP (ORCPT ); Fri, 21 Oct 2016 16:51:15 -0400 Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Yuri.Norov@caviumnetworks.com; From: Yury Norov To: , , , , , CC: , , , , , , , , , , , , , , , , , , , , , , Andrew Pinski , Andrew Pinski 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 Content-Type: text/plain 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+wjW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ZHzLMjJDb+lV5Fvh1S1uojYRfsrqKqhWMPjA2gr9nx9UxKMRbGMoaSX6O+sEO9PGu0HtQiEG0GfTy2W4/HOkfD1Z2mh64Wnmu8OnVKenFRQCy7XwgNwLxddO+UScrBsEjAGzNgWRTQDx2EDRuvasBRRIiAJes0H;20:wqiA0gDM8xQymgpWSUTZ81mxljjA2u1ureaJx0bLfj5+cZbG//h1AXGdOXH6HV2KlG6NLiAuiBzOHgkFIKvSBsZlmJz9v8H9lozBd+Jco0SE9SwO+GgJRPQWtMQSYBV54LN4tLnGCKbuFHSR7ZMs3g+6P/inMVBA2d+HnsfWnK7/MQAXfy5OX33pre2vC+j//PQW13o/OQqxXA8ig0s5t3UkbYs/rQNbcx0X8Z0DdzxM0QT2tvjLcLLVkGaNTkFikqO2Cv86vY/QSE0IwiDSHgs7vI7OpNC4c5qCgxfrA4xIg7VMLSlG6ka3DqZb+EkFrKoLUG4VuCWf5zXmaKBLONgBFY9zBBybkxHDOI681vySsevobX6kUmiBz8E3uhquyuqzV9D+CsS9ZzsEBtYfx3kX3AmrNP/x2+v1dDbBZu6m59/DBt7K2CwP65HtF+brIkdJcYj0LelPrDbDHOwaiUNcQgSVO6SrUqoTDR0C/m6CHHPRgACIyT/LQMfDCKRgTyf9skRG599f3Dcmb8xsRWirjHSvGOWtfrf+MPHqWIAjTeAFH1SHnwoD9A7NoH+CvR/L1/eZop4VoI91Rr4vio8fIwtSQXJ7iyGF7wbMlDI= X-Microsoft-Antispam-PRVS: 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; 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?Kud9nYG40idQfo5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30idzmmuNFAjs8d4UYZkUEyG7aAMnIjD31XuyJm5KVwmAtpgtcghdcqB4yNWpSc3soD7UgQ8yfcLfsjtsQs0ejCk/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 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1256 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 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 -- 2.7.4