From patchwork Sat May 24 07:02:06 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrew Pinski X-Patchwork-Id: 30880 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-yh0-f69.google.com (mail-yh0-f69.google.com [209.85.213.69]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 1730D2066E for ; Sat, 24 May 2014 07:09:34 +0000 (UTC) Received: by mail-yh0-f69.google.com with SMTP id i57sf23157210yha.0 for ; Sat, 24 May 2014 00:09:34 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:delivered-to:from:to:cc:subject :date:message-id:in-reply-to:references:to:to:sender:precedence :list-id:x-original-sender:x-original-authentication-results :mailing-list:list-post:list-help:list-archive:list-unsubscribe; bh=Ia7Qabqk3d8YCjSHk246ECxZ7kb9Od/W3YfC3inaQtk=; b=Wldq6+WUni348qHtpr9aIeki0p0KeTYsi+zyg5KbYfnni1RgVLyX0BDoE2V3E6GThm RQE3RmAehUtIaoJLqeSKD1OhDQLwtkDQWRcuiD+oqPpdtBQfcH35eMc2kj9Ni4mcvaeo 6wkVgUVAmP2/ZY2nMDxq2RTaKTaKG5y+IN5fzf18sIGwWNKYJVRu8M0rEXn80I5gaJT6 WR2V5Xh7R4K5OGWXfiQFiFm3M5HlicnGrxY+jU5S6ecbn/+VliLZKkMmhWKkH7KmVHld 597YfjFofvtywMGB+b+lI7ut75w2exMtudX62eMKrC+0dwNVOpLWka/AFMFp8Lnw1uDU 9wag== X-Gm-Message-State: ALoCoQmx7jm22npkljWx4dXYnJMxKr1/AXGsHNoW1A4lgmZ/jikgSMWWLLx50N6w6MTGFF20wyvk X-Received: by 10.58.46.211 with SMTP id x19mr4712080vem.2.1400915374641; Sat, 24 May 2014 00:09:34 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.28.195 with SMTP id 61ls904437qgz.77.gmail; Sat, 24 May 2014 00:09:34 -0700 (PDT) X-Received: by 10.53.13.133 with SMTP id ey5mr7235943vdd.8.1400915374545; Sat, 24 May 2014 00:09:34 -0700 (PDT) Received: from mail-ve0-f174.google.com (mail-ve0-f174.google.com [209.85.128.174]) by mx.google.com with ESMTPS id r2si3082760vcl.10.2014.05.24.00.09.34 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sat, 24 May 2014 00:09:34 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.128.174 as permitted sender) client-ip=209.85.128.174; Received: by mail-ve0-f174.google.com with SMTP id jw12so7356954veb.33 for ; Sat, 24 May 2014 00:09:34 -0700 (PDT) X-Received: by 10.52.125.198 with SMTP id ms6mr7014818vdb.28.1400915374440; Sat, 24 May 2014 00:09:34 -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.220.221.72 with SMTP id ib8csp87706vcb; Sat, 24 May 2014 00:09:34 -0700 (PDT) X-Received: by 10.68.134.69 with SMTP id pi5mr5701905pbb.126.1400915373716; Sat, 24 May 2014 00:09:33 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id uw5si6930880pac.150.2014.05.24.00.09.33; Sat, 24 May 2014 00:09:33 -0700 (PDT) Received-SPF: none (google.com: linux-kernel-owner@vger.kernel.org does not designate permitted sender hosts) client-ip=209.132.180.67; Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751422AbaEXHJ0 (ORCPT + 27 others); Sat, 24 May 2014 03:09:26 -0400 Received: from mail-ie0-f179.google.com ([209.85.223.179]:58165 "EHLO mail-ie0-f179.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751105AbaEXHJZ (ORCPT ); Sat, 24 May 2014 03:09:25 -0400 Received: by mail-ie0-f179.google.com with SMTP id rd18so6031152iec.10 for ; Sat, 24 May 2014 00:09:24 -0700 (PDT) X-Received: by 10.42.106.15 with SMTP id x15mr916497ico.67.1400915364545; Sat, 24 May 2014 00:09:24 -0700 (PDT) Received: from localhost.localdomain (64.2.3.195.ptr.us.xo.net. [64.2.3.195]) by mx.google.com with ESMTPSA id qh3sm10016919igb.17.2014.05.24.00.09.23 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Sat, 24 May 2014 00:09:24 -0700 (PDT) Received: from localhost.localdomain (apinskidesktop [127.0.0.1]) by localhost.localdomain (8.14.3/8.14.3/Debian-9.4) with ESMTP id s4O72MuG009786 (version=TLSv1/SSLv3 cipher=DHE-DSS-AES256-SHA bits=256 verify=NO); Sat, 24 May 2014 00:02:22 -0700 Received: (from apinski@localhost) by localhost.localdomain (8.14.3/8.14.3/Submit) id s4O72MQH009785; Sat, 24 May 2014 00:02:22 -0700 From: Andrew Pinski To: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Cc: Andrew Pinski Subject: [PATCH 11/24] ARM64: Add ARM64_ILP32 to Kconfig. Date: Sat, 24 May 2014 00:02:06 -0700 Message-Id: <1400914939-9708-12-git-send-email-apinski@cavium.com> X-Mailer: git-send-email 1.7.2.5 In-Reply-To: <1400914939-9708-1-git-send-email-apinski@cavium.com> References: <1400914939-9708-1-git-send-email-apinski@cavium.com> To: linux-arm-kernel@lists.infradead.org To: linux-kernel@vger.kernel.org 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: apinski@cavium.com X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.128.174 as permitted sender) smtp.mail=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: , This patch adds the config option for ILP32. Thanks, Andrew Pinski Signed-off-by: Andrew Pinski --- arch/arm64/Kconfig | 9 ++++++++- 1 files changed, 8 insertions(+), 1 deletions(-) diff --git a/arch/arm64/Kconfig b/arch/arm64/Kconfig index 032c712..92577da 100644 --- a/arch/arm64/Kconfig +++ b/arch/arm64/Kconfig @@ -288,7 +288,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 @@ -305,6 +305,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