From patchwork Wed Sep 3 21:18:56 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrew Pinski X-Patchwork-Id: 36639 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-yh0-f72.google.com (mail-yh0-f72.google.com [209.85.213.72]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id BE319202E4 for ; Wed, 3 Sep 2014 21:19:49 +0000 (UTC) Received: by mail-yh0-f72.google.com with SMTP id f73sf32032388yha.11 for ; Wed, 03 Sep 2014 14:19:49 -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=pdNQ2HrE7X46N0+eBgPe1q8HUiKGD8o1rupCkKURDDA=; b=V01m0iTgvjm8SLE+UTLQuJQyBhwX5bvysItLd6mcNbrj7WAuNS6ncnrCyCFnoc8sPr S2GMkmzuPTRaXr+C7LaZ4QGhYQhfSnxEvOVpdrrmJKakxz1jeFIFWZdDBtFGMstgjQZe Sl++LW31nRww9C+AYyr0N33dETk02o8Tq7gbRPXo9G6Igjocl0ZK8bKxW7JijkPe0VX9 OTnWYfIdW4fWey3jBNljkcIwLwzVFUeRv4Mu5bb9rsS+jbz/TJoIQFOH58XWo5c5lEso CMNtUWFfFUUm0AfCOS4uFL05g4nzsl+LK9UBODyVVdCJf/vGFDZiKGyhEr0FTFxv48xX OwyA== X-Gm-Message-State: ALoCoQnRI7mMNslDbb0juVbOuBi/P91KWhknDfi6lbPXlNXKIRcI7tnw9vb5CN+fwBgRfC0PdZ0r X-Received: by 10.52.74.230 with SMTP id x6mr109278vdv.6.1409779189596; Wed, 03 Sep 2014 14:19:49 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.22.17 with SMTP id 17ls9808qgm.63.gmail; Wed, 03 Sep 2014 14:19:49 -0700 (PDT) X-Received: by 10.52.179.161 with SMTP id dh1mr31862vdc.78.1409779189515; Wed, 03 Sep 2014 14:19:49 -0700 (PDT) Received: from mail-vc0-f175.google.com (mail-vc0-f175.google.com [209.85.220.175]) by mx.google.com with ESMTPS id n5si4444015vcz.59.2014.09.03.14.19.49 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 03 Sep 2014 14:19:49 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.220.175 as permitted sender) client-ip=209.85.220.175; Received: by mail-vc0-f175.google.com with SMTP id lf12so9442886vcb.6 for ; Wed, 03 Sep 2014 14:19:49 -0700 (PDT) X-Received: by 10.220.77.65 with SMTP id f1mr59288vck.48.1409779189324; Wed, 03 Sep 2014 14:19:49 -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 uj3csp740032vcb; Wed, 3 Sep 2014 14:19:48 -0700 (PDT) X-Received: by 10.66.182.227 with SMTP id eh3mr225521pac.68.1409779188332; Wed, 03 Sep 2014 14:19:48 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id o4si13482850pdl.67.2014.09.03.14.19.47 for ; Wed, 03 Sep 2014 14:19:48 -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 S1756648AbaICVTe (ORCPT + 26 others); Wed, 3 Sep 2014 17:19:34 -0400 Received: from mail-ie0-f178.google.com ([209.85.223.178]:55278 "EHLO mail-ie0-f178.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756507AbaICVT2 (ORCPT ); Wed, 3 Sep 2014 17:19:28 -0400 Received: by mail-ie0-f178.google.com with SMTP id at1so10535955iec.37 for ; Wed, 03 Sep 2014 14:19:26 -0700 (PDT) X-Received: by 10.50.6.77 with SMTP id y13mr11074igy.21.1409779166519; Wed, 03 Sep 2014 14:19:26 -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 j2sm6473230igm.21.2014.09.03.14.19.25 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Wed, 03 Sep 2014 14:19:26 -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 s83LJO4h031019 (version=TLSv1/SSLv3 cipher=DHE-DSS-AES256-SHA bits=256 verify=NO); Wed, 3 Sep 2014 14:19:24 -0700 Received: (from apinski@localhost) by localhost.localdomain (8.14.3/8.14.3/Submit) id s83LJO5W031018; Wed, 3 Sep 2014 14:19:24 -0700 From: Andrew Pinski To: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, pinskia@gmail.com Cc: Andrew Pinski Subject: [PATCH 02/24] ARM64: Rename COMPAT to AARCH32_EL0 in Kconfig Date: Wed, 3 Sep 2014 14:18:56 -0700 Message-Id: <1409779158-30963-3-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.175 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. 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 fd4e81a..73c93dd 100644 --- a/arch/arm64/Kconfig +++ b/arch/arm64/Kconfig @@ -375,9 +375,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 @@ -391,7 +395,7 @@ config COMPAT config SYSVIPC_COMPAT def_bool y - depends on COMPAT && SYSVIPC + depends on AARCH32_EL0 && SYSVIPC endmenu