Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754528AbbKBXex (ORCPT ); Mon, 2 Nov 2015 18:34:53 -0500 Received: from mail-bl2on0084.outbound.protection.outlook.com ([65.55.169.84]:63023 "EHLO na01-bl2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752025AbbKBXes (ORCPT ); Mon, 2 Nov 2015 18:34:48 -0500 Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Yuri.Norov@caviumnetworks.com; From: Yury Norov To: , , , CC: , , , , , , , , , , , , Andrew Pinski , Yury Norov , Andrew Pinski Subject: [PATCH v6 17/17] arm64:ilp32: add ARM64_ILP32 to Kconfig Date: Tue, 3 Nov 2015 02:30:46 +0300 Message-ID: <1446507046-24604-18-git-send-email-ynorov@caviumnetworks.com> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1446507046-24604-1-git-send-email-ynorov@caviumnetworks.com> References: <1446507046-24604-1-git-send-email-ynorov@caviumnetworks.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [109.252.143.100] X-ClientProxiedBy: DB5PR03CA0009.eurprd03.prod.outlook.com (25.162.150.19) To BY2PR07MB614.namprd07.prod.outlook.com (10.141.222.146) X-Microsoft-Exchange-Diagnostics: 1;BY2PR07MB614;2:Ss42HkySM/CFrlYtXLKHpcTzrXVnjgud+6fuTnegVTiKkejlwJoe55aJkbHywpSXCNspFhRq9rbEp+jb4MOIinhO3JNYDm7SRbnBW+w1zXfmpMwGShkGh0tFj1VqQwJ8Z6j1opiv9kb1Iowsn3LJ9DT487KFzzdztDeKk0NxDyI=;3:hooSeNw3LyjI1uP8KFKwWsON4D4gCXczdKzoIqNbCpH3djiwUdkXd2U5I9OSlgzpIN1bk5ScYPwCq/FiwplspTbVtrAt8if11mQbilS/3R26dcVRCdDhOA450ehwi/w7AWM/e4Bn35MjIHyFMqDgZg==;25:oOxkz3wVUG+o/8lnpG7MX6O5Fmfz+8/T3iXSvhBrMnOEUWdsMG/xuF5h+rjKemhUo2NOcCDktOvA+4sSKeDSZaKAlfnN1WyppOV6rq8S0fIgip2SR6d4hrNS6q9OqGIRuyygT4S11AyPUKFjbp487P66err+u5I6PgSWVu1UkjNt3R+O5GUtvyUJvBKmVZbt8W1hBTLHlaJ3GLKpvm5M+L/obIBfZHv5+njeXOlraE9M0vDFG6c9FsLTFIDMqVCTt7f6NvV8cRevlh9ohf5XrQ== X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:BY2PR07MB614; X-Microsoft-Exchange-Diagnostics: 1;BY2PR07MB614;20:O+prNMPCtnJu0Sw3nXR96XZdvoZIW4X2AKaLS/dIwCPHgLSPZO0cPECxjtENsRrgRmGGg+bQqhPgDyCGRvGbqKHktrQZRGGAuyFMDCAxTUX6+1wvL01lx9L9PoX+1FDcZusGoiI7MTSpcBPyid8X178+apgT0toDYJO6YczE+Ejew9+dE5UpXayJS80krcuvhXkq6+Zd6cWjlmE9OiACOiuGwZZ2+P/TNUlXk99up4Js/XDk0h8OXPbNcrpoLByBYPAYE0BrYwnpo2ezSRD9UaEHEFQ+VqnF6epkFTdr0/cbtwLlyBC6zPl2h1VbdQyYNvpKPpRmjapHTv9AJiv5UGgqcOSOWqXLsdtAvaqFbFUp5U8XuBD6Qut1ivnUzowLK35lmfU7gDHKGxSExYhL2qTGB2z7tI+p5PUhHh6YMnVJbEwuv/G4ReOLXKy/MdMSiRwA6wC7YqxTixhT5ZjG7VUvxCYS9uSRfN6sJj7YH06Bvw1rABQK7x7c9RTUJShGQo3WN/maiyOWSVRqGvcvjP226T17K/HQpIrNK/b04S8MPypNjKxgINjCUX5q1OoPCDHrGh++XJbeQI2l3S6UR+7Ih8sEMLvh+bC2sFb+5gs= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(236414709691187); X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(601004)(2401047)(5005006)(520078)(8121501046)(10201501046)(3002001);SRVR:BY2PR07MB614;BCL:0;PCL:0;RULEID:;SRVR:BY2PR07MB614; X-Microsoft-Exchange-Diagnostics: 1;BY2PR07MB614;4:mig8bXL7qonZT/Wn8qF7eJh5XAGzW5gaikYFerTat8iT0PPidvPftMhv1iN93B4sQDJDP9DFsirhCpkeBtqNQHxIbYM+5K5ubWjm9l+C1CcqDrcNIfDY6gqFF97EJhN3XBDAQuXFLvc3zsMvf7QxG1RuZ49YX74X9ew01b+gOxGdVH2bmcWft2LqpOIaRQkjNOBLgZKVB36gKEWQFwXh7QnJPZX06FqzgxsaryXXehnDigjtw8mtc+OrHX1aIIRJrk+rkKDifReSz0AvjE97/ZhJU++dIHOb7B52NAi8hhBLWIfLNvlQdg2rEn+vdk+T84/qKrEizxXIvUIk5Sqcys1qlOkEBra0EBLE9sGgGPpe4xUft7wmRROWN1EYQo4W X-Forefront-PRVS: 0748FF9A04 X-Forefront-Antispam-Report: SFV:NSPM;SFS:(10009020)(6069001)(6009001)(199003)(189002)(66066001)(92566002)(5004730100002)(47776003)(76506005)(5008740100001)(5007970100001)(189998001)(50226001)(105586002)(2201001)(101416001)(229853001)(19580395003)(4001430100002)(107886002)(2950100001)(33646002)(50986999)(87976001)(97736004)(42186005)(50466002)(77096005)(5003940100001)(36756003)(19580405001)(106356001)(81156007)(48376002)(5001770100001)(40100003)(76176999)(5001960100002)(122386002)(2101003);DIR:OUT;SFP:1101;SCL:1;SRVR:BY2PR07MB614;H:localhost;FPR:;SPF:None;PTR:InfoNoRecords;A:1;MX:1;LANG:en; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1;BY2PR07MB614;23:7DRG5jqUlRMMYgD6SuFBLIzBi4TlcMi/NhcWIlIETY?= =?us-ascii?Q?PH05O0pDAwnRJkWdobKe77gG4v32bBFGVt7CODR+yMT7aqOCp5p23v3AWjPt?= =?us-ascii?Q?OvTAnej3L8uYd7sbBuEJv8SokVlDpWRry5+mYnrqlRrjFAi5RD/c4JfrLjfR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QL7EgEd+nbU9MSg92vvOLOPAwKEY?= =?us-ascii?Q?Odj/+1whRz10Q4O7TIKA6Eg+caTYiVbBzolvHiqI47zhqrcQ=3D=3D?= X-Microsoft-Exchange-Diagnostics: 1;BY2PR07MB614;5:M112IoapxEg6W5u2J+GFVamdaCn8U+yMfyShKD0rQPeXJHmHy+Ppnj0WcXZQNSaa8p8Rn6vepGLcw0VJT9dcK5QJ0EGcXTQJgqJMN/2Y4qgLSD1pb4qWBK3OPTjWdcpEdC17nmnKdfgLKrSs1YGBOQ==;24:nGXjzitcNqi54+UOYcFQCNBjPNyixF/2I8qWcOmCfwYCDcRtDvTStBSvw0Mgw8ATUrKZ0LTGoBgsFzxp09Hjiqez057YHroNAEd0YykXKB4=;20:PxDt5RCIkzMfjDDpQ38ycKc0PAz1Y4O0yHDt1b742Cdeo2zb0F1BSywLx0acLs1sfGIZ+E48VqIRNdxcOPbXJg== SpamDiagnosticOutput: 1:23 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 02 Nov 2015 23:34:46.7490 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY2PR07MB614 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1478 Lines: 48 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 Signed-off-by: Andrew Pinski 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 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 -- 2.1.4 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/