From patchwork Wed Sep 3 21:19:17 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrew Pinski X-Patchwork-Id: 36654 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-qg0-f69.google.com (mail-qg0-f69.google.com [209.85.192.69]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id D648D202E4 for ; Wed, 3 Sep 2014 21:23:15 +0000 (UTC) Received: by mail-qg0-f69.google.com with SMTP id q108sf94062qgd.0 for ; Wed, 03 Sep 2014 14:23:15 -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:sender:precedence:list-id :x-original-sender:x-original-authentication-results:mailing-list :list-post:list-help:list-archive:list-unsubscribe; bh=4HXzU/k9VV96rAQSVFeQSpBELV6poAGEyTs1r/zXzIk=; b=lq81vQZMW6DYHirqdQcJYNmPp9kkbWoP/GEeeH8/vLLlXLack0DyzoGLLpOYiZkDow 6An/vFwKYegXYr79im0IOIu4XTXzfp8p5S91rmVIQewGdy/S0i/NZ9KKYEKo/XpMnvUa fk/joTO3Qz/VdFb6Cf/fnWPIxB3C3L3eyryQJDp9lXYL6aVaeFYLQHAhDpaAmpudFYu8 vxSeUivb95mAWuvNnhW0HrODKT2+ezyyuq1A6txvip1LC+qzAQJ4aRgUhiKX+ed7Bi57 GHcsuo1AvV1O58102eHv0ar3/Pe61D4+e1zD4hKigrCz46vM54RthSHNEfeIohlVb+CW zR3g== X-Gm-Message-State: ALoCoQlhsqShKx9j8VyhcX/qMxp7sSNFCW3WipV0+ceesM0HY83NZLJJLGm3l/xxUdkRwx2n7qWr X-Received: by 10.236.133.230 with SMTP id q66mr74512yhi.36.1409779395420; Wed, 03 Sep 2014 14:23:15 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.42.87 with SMTP id b81ls15339qga.19.gmail; Wed, 03 Sep 2014 14:23:15 -0700 (PDT) X-Received: by 10.52.3.40 with SMTP id 8mr83287vdz.24.1409779395295; Wed, 03 Sep 2014 14:23:15 -0700 (PDT) Received: from mail-vc0-f174.google.com (mail-vc0-f174.google.com [209.85.220.174]) by mx.google.com with ESMTPS id bs11si1693348vdb.76.2014.09.03.14.23.15 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 03 Sep 2014 14:23:15 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.220.174 as permitted sender) client-ip=209.85.220.174; Received: by mail-vc0-f174.google.com with SMTP id hy4so9676354vcb.33 for ; Wed, 03 Sep 2014 14:23:15 -0700 (PDT) X-Received: by 10.52.119.229 with SMTP id kx5mr70128vdb.40.1409779395194; Wed, 03 Sep 2014 14:23:15 -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.221.45.67 with SMTP id uj3csp740396vcb; Wed, 3 Sep 2014 14:23:14 -0700 (PDT) X-Received: by 10.70.130.138 with SMTP id oe10mr475301pdb.115.1409779394352; Wed, 03 Sep 2014 14:23:14 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id m3si13414983pdp.107.2014.09.03.14.23.13 for ; Wed, 03 Sep 2014 14:23:14 -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 S932719AbaICVXL (ORCPT + 26 others); Wed, 3 Sep 2014 17:23:11 -0400 Received: from mail-ie0-f171.google.com ([209.85.223.171]:53956 "EHLO mail-ie0-f171.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932641AbaICVXI (ORCPT ); Wed, 3 Sep 2014 17:23:08 -0400 Received: by mail-ie0-f171.google.com with SMTP id rp18so10537340iec.30 for ; Wed, 03 Sep 2014 14:23:07 -0700 (PDT) X-Received: by 10.50.20.225 with SMTP id q1mr168515ige.36.1409779387813; Wed, 03 Sep 2014 14:23:07 -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 ig9sm6515653igb.13.2014.09.03.14.23.07 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Wed, 03 Sep 2014 14:23:07 -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 s83LJQwZ031103 (version=TLSv1/SSLv3 cipher=DHE-DSS-AES256-SHA bits=256 verify=NO); Wed, 3 Sep 2014 14:19:26 -0700 Received: (from apinski@localhost) by localhost.localdomain (8.14.3/8.14.3/Submit) id s83LJQIC031102; Wed, 3 Sep 2014 14:19:26 -0700 From: Andrew Pinski To: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, pinskia@gmail.com Cc: Andrew Pinski Subject: [PATCH 23/24] ARM64: Add ARM64_ILP32 to Kconfig Date: Wed, 3 Sep 2014 14:19:17 -0700 Message-Id: <1409779158-30963-24-git-send-email-apinski@cavium.com> X-Mailer: git-send-email 1.7.2.5 In-Reply-To: <1409779158-30963-1-git-send-email-apinski@cavium.com> References: <1409779158-30963-1-git-send-email-apinski@cavium.com> 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.220.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. 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 73c93dd..4ee4183 100644 --- a/arch/arm64/Kconfig +++ b/arch/arm64/Kconfig @@ -376,7 +376,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 @@ -393,6 +393,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