From patchwork Tue Sep 29 22:14:20 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yury Norov X-Patchwork-Id: 54274 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-wi0-f200.google.com (mail-wi0-f200.google.com [209.85.212.200]) by patches.linaro.org (Postfix) with ESMTPS id 8DF7222B1E for ; Tue, 29 Sep 2015 22:19:52 +0000 (UTC) Received: by wicgb1 with SMTP id gb1sf12895050wic.3 for ; Tue, 29 Sep 2015 15:19:51 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to:from:to:cc:subject:date:message-id :in-reply-to:references:mime-version:content-type :spamdiagnosticoutput:spamdiagnosticmetadata:sender:precedence :list-id:x-original-sender:x-original-authentication-results :mailing-list:list-post:list-help:list-archive:list-unsubscribe; bh=B0827YXf9YLVy2VtdjhM8024WluSWPii27Ks2J33w3Q=; b=L/SZ5z4RQJwKTrEYkoTTvr3CQokkj2KmqRmSAQ0bopP01Z94WKTpTJUxJfvE/+UIUn XLsoR+++8xGeWHhkTO/A6CpHFJPk4e70/36nwV3MiCvHr3qotckPqoVaD+SfHPLxn4Tv 8CdWg7h3JJQPt3DXZ/1WrNxSXxLHmzBPvzSk59hAxNMS4yV/d/at2aTl9LI2yqEIDeQe nBBN/eE2pBhJba3QVlBIIPib/h52b3/07NogE1jwxD48ey0JymmCfJ9UwDvU9+G4MYuW GJQXR8E48sRKAaXZvdvXrQxjJrneG0SMWV/LrPuu63RukZNn4fDk+VNAH5knJ4HQB+bG Lt3A== X-Gm-Message-State: ALoCoQkGup1ezu1ssUu/ubIqQzUeQdpJ4cSTRX567MLkTb9EJLXoLyDiFbtDBohfCQ26ZEn4SVdY X-Received: by 10.112.144.99 with SMTP id sl3mr46674lbb.12.1443565191786; Tue, 29 Sep 2015 15:19:51 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.4.161 with SMTP id l1ls5117lal.57.gmail; Tue, 29 Sep 2015 15:19:51 -0700 (PDT) X-Received: by 10.152.26.41 with SMTP id i9mr113704lag.36.1443565191506; Tue, 29 Sep 2015 15:19:51 -0700 (PDT) Received: from mail-la0-f42.google.com (mail-la0-f42.google.com. [209.85.215.42]) by mx.google.com with ESMTPS id tn8si11939069lbb.170.2015.09.29.15.19.51 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 29 Sep 2015 15:19:51 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.42 as permitted sender) client-ip=209.85.215.42; Received: by lahh2 with SMTP id h2so25549219lah.0 for ; Tue, 29 Sep 2015 15:19:51 -0700 (PDT) X-Received: by 10.112.199.137 with SMTP id jk9mr111983lbc.86.1443565191069; Tue, 29 Sep 2015 15:19:51 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.112.59.35 with SMTP id w3csp2398336lbq; Tue, 29 Sep 2015 15:19:50 -0700 (PDT) X-Received: by 10.68.202.9 with SMTP id ke9mr439411pbc.85.1443565189719; Tue, 29 Sep 2015 15:19:49 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id ge4si4342065pbb.3.2015.09.29.15.19.48; Tue, 29 Sep 2015 15:19:49 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756945AbbI2WTp (ORCPT + 30 others); Tue, 29 Sep 2015 18:19:45 -0400 Received: from mail-by2on0066.outbound.protection.outlook.com ([207.46.100.66]:29666 "EHLO na01-by2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S933085AbbI2WTL (ORCPT ); Tue, 29 Sep 2015 18:19:11 -0400 Received: from localhost (91.78.158.8) by CO2PR07MB617.namprd07.prod.outlook.com (10.141.228.143) with Microsoft SMTP Server (TLS) id 15.1.274.16; Tue, 29 Sep 2015 22:19:08 +0000 From: Yury Norov To: , , , , , CC: , , , , , Yury Norov Subject: [PATCH v5 23/23] arm64:ilp32: add ARM64_ILP32 to Kconfig Date: Wed, 30 Sep 2015 01:14:20 +0300 Message-ID: <1443564860-31208-24-git-send-email-ynorov@caviumnetworks.com> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1443564860-31208-1-git-send-email-ynorov@caviumnetworks.com> References: <1443564860-31208-1-git-send-email-ynorov@caviumnetworks.com> MIME-Version: 1.0 X-Originating-IP: [91.78.158.8] X-ClientProxiedBy: AM3PR07CA0026.eurprd07.prod.outlook.com (10.141.45.154) To CO2PR07MB617.namprd07.prod.outlook.com (10.141.228.143) X-Microsoft-Exchange-Diagnostics: 1; CO2PR07MB617; 2:xTd+KLTyLucpOSvObamFZ0fJtFe8M2aFvZkBP1LWeO0k9FFmaY/ZpQIXIzOZtjUVNwRb0FOUhafPUXKEPwTOtbcFOmifB9mgCSVsRnWOFQn7p5fi3jdu31GSKVebST4KRe3vH7vy1Iyme10cWMFyyWy2aWBTgqbVUMHBK+HN1Ik=; 3:b+rNgMbbVg2SLLp4B2J/AabXFnK96O/aXTDeW1NDxF+NkWad4SHu8xx5yN20PgmJJvpJiSRUDO96Hu/KYkE/cCgWQZzvf9ISSF4hstgfX1WFkeN1oHpef4cb81CCfNbOsqCGDQlLqaQk8r0xxBzWEQ==; 25:8S8gofTFh2oczgsSJLbAgK/jR4PJqz0jiuT72bbaej8fr3DshI7GuSDlUg0oEAwy5Nvj01UEAs02O/UomA6YJJ2heunFE/PanQy4Y019RV3GHmlyZQmmXXwR5/4+8mMBP3xG70ZYkRmfO+A4FTnP2aLHwlwFbw8SX++re4hX8jjMQgJwF2cWQ7c0K0pbXzJ5ZXehP3ZJYhhiMrrFUnsg4t7qWI6voo/aQak+YEZz6GmbwoFCOMOio3AT69Ubu4hbmiXXWsM1yxcx4hPyZQHMLQ== X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:CO2PR07MB617; X-Microsoft-Exchange-Diagnostics: 1; CO2PR07MB617; 20:9NPJn2SDM0erz3fB2EWAdVKq5WouIenlD4ay4gyRTEq5rnuWaZdEb3Qf2+hGww45NBKFf+gpic0IvtycYqNmgMMtRcAlEQduXcdhJ2/m0WmYf8/tvQKSjZ5JJSrbaRXW5v8Ah36TCfqcUJrlPlhwjA08JoV+82JHJp7V79KLlgon6cdLil+zs3pld59dHa/T8KqvHWPmGElJxnpVsT52KXyxiJLeY0SGDm9b+ZIfXCvM8bfCnwuOzrp6ZiKzU6z7NNW5AR58Q0ASP3aEhUBonYOoLrFBfxc+Gul+Pd7E9Eti4cJYhxEACp5hjyroksm7RaiFdUm77R9pI70RDjf/C78z7sA7o8ObF5a3JR6lOt3tlDW8U4foAOOOKJsi4Rhzlye1rr71yHv542kStRBxM80LAbqhr+6Q6nQRIJ0HWg9sV5jkr1r/5wnhqKpB3NgA1KHjqWJU1GJqyg9sPAKJifSQCsU2fvOTYhahCm2QLcHgBTjTTpFkgG3Jq1ON1nFv0+U2sF+v6nuHQZ9kVBGu5DPX1y3aH8Hab+nVFEKIRODnT3EALuj17Yum3Z7GnBorNrBo+BnDbByFm1gRne/bvj9rqQkgoouWrnqEBDCuM64= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(601004)(2401047)(520078)(8121501046)(5005006)(3002001); SRVR:CO2PR07MB617; BCL:0; PCL:0; RULEID:; SRVR:CO2PR07MB617; X-Microsoft-Exchange-Diagnostics: 1; CO2PR07MB617; 4:OboUn65oUMQa/ixFnZRrOs+fotHMHT5QhZNGW8ycbrE1SqlyMiIiZ5NlvZg1E96gMuVSpdw3z+fmTvcC/F9nn9Qf64k1qTIXyHSyqhb+W5X1gVORiOpeBuy9/b7650FES2EH9PlPwNAxzc80i0ksD7R/nzwt6DYHZJG5q5SczCoLcTwpdN0pMTo6xUwUy2cRsXNzOBPITsjGUWMFVUZ9RWvPRabv8M589mPp83EEoaDPs+CKxq2CwHct2phnDiSO5B0H7bORI70xX0LLurqbik8k249FxVV9KNYm1Hbm+CcUAdi5S3Ad8sOCdDHKxDhwLnHgWE8VVkWkif7w8Vf3v9u78CjXCGLHNtSq6dCxzPk= X-Forefront-PRVS: 0714841678 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(6069001)(6009001)(199003)(189002)(50226001)(47776003)(64706001)(5003940100001)(19580405001)(105586002)(87976001)(62966003)(101416001)(50466002)(2950100001)(106356001)(189998001)(5008740100001)(33646002)(48376002)(66066001)(46102003)(5004730100002)(77156002)(92566002)(50986999)(36756003)(76176999)(5001960100002)(40100003)(122386002)(229853001)(97736004)(4001540100001)(42186005)(5007970100001)(77096005)(2201001)(76506005)(81156007)(107886002)(19580395003)(5001770100001)(68736005)(5001830100001)(5001860100001)(4001430100001)(2101003); DIR:OUT; SFP:1101; SCL:1; SRVR:CO2PR07MB617; H:localhost; FPR:; SPF:None; PTR:InfoNoRecords; A:1; MX: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; CO2PR07MB617; 23:xRGJqC16SHTS94qFyxLc9uJjULhIXd3iRUAB6jo3bG?= =?us-ascii?Q?56FFHdcQL9y98Pwgvq8xc+U7aUU6VL+Zio0/XtmlKzeshSsfww36sTaWFDyC?= =?us-ascii?Q?gg97pxnXwsI+cPgk+liSAUQsyrqClEDupOnVN8OSUqgfYGhv660wmSkHnyLT?= =?us-ascii?Q?mg046Fy4zb87yy/c0MjdXFmVchhg0wyv9WXVk2f2Wd28abQ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5e1QNsOYw5wtQmvJzWthWbKxyeyydEy6XxUnvXUqvWP4?= =?us-ascii?Q?cvliQ7m0DvamD6BzMUgSwxxex7nP9jkPmLYm23StYX7cyU+nLz+RFoe7mTDB?= =?us-ascii?Q?FeLixK04MrqS1GEYgWRHuT0LdgmgQEBsJy/vff5ignWF7AopW/jboW1ssVnA?= =?us-ascii?Q?n2k7SfKjwWB42zFz5oSy4pMRPh652shqSAXL3P0JcIf3pbeI67Cr1SxBKT2F?= =?us-ascii?Q?hJAIBLkIAu7C5mwgWcB+s=3D?= X-Microsoft-Exchange-Diagnostics: 1; CO2PR07MB617; 5:ZTN9YSL0unkPSYc9DqbXsxwgNsjx8oi5ZSIFckmXU3vsSHc0CAsdE0kIWMmFajm/htFfmXSBQB/OklSUgKgvkIJ+WM3jEWNGziSnWHkln5cM8rs4E6UPKjiX8HYA/EfhfemFAANhcvGdBOQzjwbVpQ==; 24:oIHHqYzreJ8pfYfaIbCuj1kQGFjoUlcQMzOctknnXfH+yZTxcBxlRQ3KV2AA354gb/tnmXoddDPvIiiM23g4g9LKzfAkWn2BY8Y+Zo6o0nY=; 20:NdvuP04NTx3SCn6yQDbSXvxRqot7gfT4IfcWJe39qgu9fjOadWEhdMZVntIAfz5SAWAzJpbaQKknoK33cNddMw== SpamDiagnosticOutput: 1:23 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 29 Sep 2015 22:19:08.4994 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: CO2PR07MB617 Sender: linux-kernel-owner@vger.kernel.org Precedence: list List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: linux-kernel-owner@vger.kernel.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.42 as permitted sender) smtp.mailfrom=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , From: Andrew Pinski This patch adds the config option for ILP32. Signed-off-by: Philipp Tomsich Signed-off-by: Christoph Muellner Signed-off-by: Yury Norov diff --git a/arch/arm64/Kconfig b/arch/arm64/Kconfig index d1dc605..afbde9c 100644 --- a/arch/arm64/Kconfig +++ b/arch/arm64/Kconfig @@ -680,7 +680,7 @@ source "fs/Kconfig.binfmt" config COMPAT def_bool y - depends on AARCH32_EL0 + depends on AARCH32_EL0 || ARM64_ILP32 select COMPAT_BINFMT_ELF config AARCH32_EL0 @@ -702,6 +702,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 AARCH32_EL0 && SYSVIPC