From patchwork Tue Apr 5 22:08:34 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yury Norov X-Patchwork-Id: 65139 Delivered-To: patch@linaro.org Received: by 10.112.199.169 with SMTP id jl9csp716003lbc; Tue, 5 Apr 2016 15:12:27 -0700 (PDT) X-Received: by 10.98.11.78 with SMTP id t75mr32886063pfi.72.1459894347647; Tue, 05 Apr 2016 15:12:27 -0700 (PDT) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id ey12si10222824pac.203.2016.04.05.15.12.27; Tue, 05 Apr 2016 15:12:27 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@CAVIUMNETWORKS.onmicrosoft.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933718AbcDEWLp (ORCPT + 29 others); Tue, 5 Apr 2016 18:11:45 -0400 Received: from mail-by2on0092.outbound.protection.outlook.com ([207.46.100.92]:37979 "EHLO na01-by2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1760515AbcDEWLm (ORCPT ); Tue, 5 Apr 2016 18:11:42 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=CAVIUMNETWORKS.onmicrosoft.com; s=selector1-caviumnetworks-com; h=From:To:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=GJmYHKkWkTgkhoHc6V5u8DY/f2lK3SrLRp7Bhxuu0Pc=; b=zRGTPnVMGkv/xYEpYItGgGx3PQx5SZ1IIg26dbaPiW0BxESyGaWk+YwJaDOVuMVpovWCHa19ysIFqrSbAB9WpgD+BrnSObvxgyzxo1VP2x2+hCfY5DBnc1xA/7AKIAePq+oZ47WoxTOymUY+T9Jpvyve4UTlsPmW9pz/jhboy2M= Authentication-Results: arndb.de; dkim=none (message not signed) header.d=none;arndb.de; dmarc=none action=none header.from=caviumnetworks.com; Received: from localhost (95.143.213.121) by BLUPR07MB609.namprd07.prod.outlook.com (10.141.207.12) with Microsoft SMTP Server (TLS) id 15.1.447.15; Tue, 5 Apr 2016 22:11:35 +0000 From: Yury Norov To: , , , CC: , , , , , , , , , , , , , , , , Bamvor Jian Zhang Subject: [PATCH 12/25] arm64: compat: change config dependences to aarch32 Date: Wed, 6 Apr 2016 01:08:34 +0300 Message-ID: <1459894127-17698-13-git-send-email-ynorov@caviumnetworks.com> X-Mailer: git-send-email 2.5.0 In-Reply-To: <1459894127-17698-1-git-send-email-ynorov@caviumnetworks.com> References: <1459894127-17698-1-git-send-email-ynorov@caviumnetworks.com> MIME-Version: 1.0 X-Originating-IP: [95.143.213.121] X-ClientProxiedBy: AM2PR03CA0036.eurprd03.prod.outlook.com (10.160.207.46) To BLUPR07MB609.namprd07.prod.outlook.com (10.141.207.12) X-MS-Office365-Filtering-Correlation-Id: daa3c033-8ab1-436f-50f3-08d35d9f411b X-Microsoft-Exchange-Diagnostics: 1; BLUPR07MB609; 2:IKJZ6OqFPi6e9EQgpwoeBPX3mFcS6q349jLQUDKV3wET6hxBbadpKZs0hnwhZZZp09dLGLReNisDWJHX+D2Vr0yHPXZ2WWgwiCKWOGnCbOjawVM0G15T9TcE0QuaI5/fbRLXhm1XZJA0NF1JR+Zt/Hq2y79gznZV1o5T7h/vH7Zju2iWYUzN0vVdhktqIubT; 3:ruVWIcoEurvynMdI3igVe4qZFlaZdtLPhcZnIOpPSoitGewdXDeTlMmDDge5iCnJchlnmYHYKD3FBzwdX5chjNANxpTHpPBdlO6N9/PdwXefLjuMPNgNwDaCAlr64VRT; 25:P/rNz00kOtNud471m/NolL6NjF8seLgAIW1k2QbRYV6MvMVQpkD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:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(601004)(2401047)(5005006)(8121501046)(10201501046)(3002001); SRVR:BLUPR07MB609; BCL:0; PCL:0; RULEID:; SRVR:BLUPR07MB609; X-Microsoft-Exchange-Diagnostics: 1; BLUPR07MB609; 4:8abtVm/PYRXEB9sO/f7QKGAbSHx4n8voBPb4IyyZqqhMU+WHkFWMfKg97QiTjJapqCXs640Li5o4oZm0LBZQlNzEe0JMxkCSLJUr8wSvbu6Gm7Z5QI3AtF4c0h2k6PIyi5l3E/KCC6gipT5B+3piVPwh/p0zmxSkByJJaiVTAzJK9iv2WuUAkOqU3Rsi22uAvhTaxtFuuITGLhXf21SQkQVQ+8s7NGxgLPDAytr4fxzgQj1+mjnBPIdSAMaPZjkNgASTC5LRqlQk76S3ddo6QmXE3bUur89j4O084O5c1FlC90yyjGcpWYqI/KNzPCoUqZ9pXntYoR6Q0nIt89W1yp0oq6zbsAzpXatJrvLrVYV2BoWL2yuPWttSmcaHIaNg X-Forefront-PRVS: 0903DD1D85 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(4630300001)(6069001)(6009001)(33646002)(1096002)(47776003)(5001770100001)(2950100001)(19580405001)(19580395003)(6116002)(3846002)(586003)(77096005)(5003940100001)(189998001)(2906002)(81166005)(4326007)(66066001)(76506005)(42186005)(229853001)(5004730100002)(92566002)(36756003)(2201001)(50986999)(76176999)(48376002)(50226001)(5008740100001)(50466002)(2101003); DIR:OUT; SFP:1101; SCL:1; SRVR:BLUPR07MB609; H:localhost; FPR:; SPF:None; MLV:sfv; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BLUPR07MB609; 23:KEyw/b9pcQP1Mgigsu3nwulbMtX/E9guMU7JLakrxdcQYRZ6iDDmbIkOk3LmIIY4OJnrdDhO/Gj4ERbiJzuEaxki6ChFw76eIFPhrlhVGUmFamNU+jb5YM84p6OJ8gKfBOyQ/8sIPkkIe9URuTmy0vpI+DoNrJkmlUTNYiQ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HMATRXcuBMUt9PY= SpamDiagnosticOutput: 1:23 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 05 Apr 2016 22:11:35.9895 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: BLUPR07MB609 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Bamvor Jian Zhang With the patches of ILP32, COMPAT is not equivalent to AARCH32 in EL0. This patch fix this by updating the dependency from COMPAT to AARCH32_EL0 for ARMV8_DEPRECATED and ARM64_ERRATUM_845719. Signed-off-by: Bamvor Jian Zhang Signed-off-by: Yury Norov --- arch/arm64/Kconfig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) -- 2.5.0 diff --git a/arch/arm64/Kconfig b/arch/arm64/Kconfig index f923687..ebaf38a 100644 --- a/arch/arm64/Kconfig +++ b/arch/arm64/Kconfig @@ -370,7 +370,7 @@ config ARM64_ERRATUM_834220 config ARM64_ERRATUM_845719 bool "Cortex-A53: 845719: a load might read incorrect data" - depends on COMPAT + depends on AARCH32_EL0 default y help This option adds an alternative code sequence to work around ARM @@ -655,7 +655,7 @@ config FORCE_MAX_ZONEORDER menuconfig ARMV8_DEPRECATED bool "Emulate deprecated/obsolete ARMv8 instructions" - depends on COMPAT + depends on AARCH32_EL0 help Legacy software support may require certain instructions that have been deprecated or obsoleted in the architecture.