From patchwork Sat May 24 07:01:57 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrew Pinski X-Patchwork-Id: 30865 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-oa0-f70.google.com (mail-oa0-f70.google.com [209.85.219.70]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 058082066E for ; Sat, 24 May 2014 07:03:04 +0000 (UTC) Received: by mail-oa0-f70.google.com with SMTP id i4sf28544930oah.1 for ; Sat, 24 May 2014 00:03:04 -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=RGT25A9wfufm5dHGK3URlt53LZ109j9XDWWt0HIV+DU=; b=cIkM6uYV8t9Q4tr5FUHFubsvUwKMCFoEeI3/xtJhBRuckLRdcSENUaPYR/GGquCMg3 XgjEVmup/gpvgDNuFW8kcfjYVlQlU0zYbVPvegYChXwbbuZVQBTbBsi4h/WwA5FvnjPN qgoYAk/o5Jzmbc052BkL+GwKikHILJCml/3dqwu/GiGbRel3I6pcC+m+hkUK/BF4mYyf EsK8yx3/Iqh5Zmv7zzEaNeszsN0ghoktz7t8pU8MezB9ifAqpR3JxAe1HrKsxbpQ5p5u cXA4uvYljUaw5N3p31PZ5hZGvCn88ihrs9sM74MBofpuszj6amGT6v8FEP/kx/qliCxJ CdBw== X-Gm-Message-State: ALoCoQkgq5EdeU5MOgLD7j6qZ3rH34i/diUtRGpnNiZolpflmKTTSkaQlf8BxbTMXV8pSUi1ElQU X-Received: by 10.43.117.71 with SMTP id fl7mr4083486icc.24.1400914984325; Sat, 24 May 2014 00:03:04 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.16.173 with SMTP id 42ls2070201qgb.62.gmail; Sat, 24 May 2014 00:03:04 -0700 (PDT) X-Received: by 10.58.245.2 with SMTP id xk2mr8493862vec.9.1400914984244; Sat, 24 May 2014 00:03:04 -0700 (PDT) Received: from mail-vc0-f181.google.com (mail-vc0-f181.google.com [209.85.220.181]) by mx.google.com with ESMTPS id nd5si3058886vec.85.2014.05.24.00.03.04 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sat, 24 May 2014 00:03:04 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.220.181 as permitted sender) client-ip=209.85.220.181; Received: by mail-vc0-f181.google.com with SMTP id hy4so3867113vcb.40 for ; Sat, 24 May 2014 00:03:04 -0700 (PDT) X-Received: by 10.52.125.198 with SMTP id ms6mr6993340vdb.28.1400914984157; Sat, 24 May 2014 00:03:04 -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 ib8csp87367vcb; Sat, 24 May 2014 00:03:03 -0700 (PDT) X-Received: by 10.68.254.5 with SMTP id ae5mr11783036pbd.83.1400914983433; Sat, 24 May 2014 00:03:03 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id bi10si6946660pad.76.2014.05.24.00.03.02 for ; Sat, 24 May 2014 00:03:02 -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 S1751436AbaEXHC1 (ORCPT + 27 others); Sat, 24 May 2014 03:02:27 -0400 Received: from mail-ig0-f179.google.com ([209.85.213.179]:36498 "EHLO mail-ig0-f179.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751372AbaEXHCX (ORCPT ); Sat, 24 May 2014 03:02:23 -0400 Received: by mail-ig0-f179.google.com with SMTP id hn18so1525058igb.12 for ; Sat, 24 May 2014 00:02:23 -0700 (PDT) X-Received: by 10.50.43.201 with SMTP id y9mr10107241igl.12.1400914943062; Sat, 24 May 2014 00:02:23 -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 bc6sm10004338igb.9.2014.05.24.00.02.22 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Sat, 24 May 2014 00:02:22 -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 s4O72Lkt009750 (version=TLSv1/SSLv3 cipher=DHE-DSS-AES256-SHA bits=256 verify=NO); Sat, 24 May 2014 00:02:21 -0700 Received: (from apinski@localhost) by localhost.localdomain (8.14.3/8.14.3/Submit) id s4O72LGa009749; Sat, 24 May 2014 00:02:21 -0700 From: Andrew Pinski To: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Cc: Andrew Pinski Subject: [PATCH 02/24] ARM64: Rename COMPAT to AARCH32_EL0 in Kconfig. Date: Sat, 24 May 2014 00:01:57 -0700 Message-Id: <1400914939-9708-3-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.220.181 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: , We want to split CONFIG_COMPAT so we can use the COMPAT interface in some cases including for compat binfmt. Thanks, Andrew Pinski Signed-off-by: Andrew Pinski --- arch/arm64/Kconfig | 8 ++++++-- 1 files changed, 6 insertions(+), 2 deletions(-) diff --git a/arch/arm64/Kconfig b/arch/arm64/Kconfig index e759af5..032c712 100644 --- a/arch/arm64/Kconfig +++ b/arch/arm64/Kconfig @@ -287,9 +287,13 @@ menu "Userspace binary formats" source "fs/Kconfig.binfmt" config COMPAT + def_bool y + depends on AARCH32_EL0 + select COMPAT_BINFMT_ELF + +config AARCH32_EL0 bool "Kernel support for 32-bit EL0" depends on !ARM64_64K_PAGES - select COMPAT_BINFMT_ELF select HAVE_UID16 select OLD_SIGSUSPEND3 select COMPAT_OLD_SIGACTION @@ -303,7 +307,7 @@ config COMPAT config SYSVIPC_COMPAT def_bool y - depends on COMPAT && SYSVIPC + depends on AARCH32_EL0 && SYSVIPC endmenu