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: 8756041 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id D4F13C0553 for ; Tue, 5 Apr 2016 22:16:27 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 046CD2013A for ; Tue, 5 Apr 2016 22:16:27 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id D5428200D4 for ; Tue, 5 Apr 2016 22:16:25 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1anZFC-0001vd-EK; Tue, 05 Apr 2016 22:14:42 +0000 Received: from mail-by2on0071.outbound.protection.outlook.com ([207.46.100.71] helo=na01-by2-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1anZCY-0007Gz-P3 for linux-arm-kernel@lists.infradead.org; Tue, 05 Apr 2016 22:12:06 +0000 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: , , , 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/NolL6NjF8seLgAIW1k2QbRYV6MvMVQpkDUMCeL6MDfY8DprUBX29AaVMRi3oOgWNi5+KJYJBp/H9ykoC7CHUMAhnNdspIVTjlkc+3GF26s/dbdFmY8YnjyZymO5NIyrKDFke3YgZRYbpZ6qlCkJz8j+b6ByMa6EETKVzZ7y7KRIBi22NpsZHYBi+txaap1YVGgo+JnxYbKL6ZhWaVt99CrOfyrT0yA8+ARN1O2gzoTDs9QrqUpdAA1Kf2DT6jd+okNYgVuVqq2F2dPzQp3hgm3OrPyyXwaX4sWsC9zNoY2l1fnWapfuTrKNfz49aLUCyQK+UZxrOPnW+bk5eQVoxSzf4c= X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:BLUPR07MB609; X-Microsoft-Exchange-Diagnostics: 1; BLUPR07MB609; 20:qw+TPjV3tDlPTmxAmPuew3Pq/EyaXaJx2/f8N20wav6vWjYGSb1nnaW+YyUik7zDndImM377UGL1sXpX9Kq5B2v4nrmLTguxWdAHD1bDA37GZ1VlXlM+XunMpRupbMZ48FDUf8jSAf4Ab4AeAUaTsj6AZUSGmBKPvU9zY8Vn77aw4fUC/4VeOWRNp+HrVSYj+W5Rt3weYK278dzt82UFUMEBUe75QXQDVxE6tJ/DdGkakaGgym4uMmL2jsyYLrLl12ULhNQCzBAzx1Zs0KZBfgF21WYFo8bNxAJ5LSJx7IAuipw7pn3D/hb5EJ3TXZ+njxnowcA0nCfy9mCD8auVBUXTESuDpy6TKUZXRqccwiH++x5ZHIaCufH6nnHa1xxW3f9zJkpEkLCqnZLUfqsuCbhY0woLgi+kOOvcAex/E5qIUIp3UczHxkCV/3g0AkH8/1UTGAsfmtR3j2M9fdWz2EQ5dawEIHFuhttFKJRq4fk+76Rvtjatf8/ju44qTKgZRBt1IAK6YoxQ8ow4onl6Utfn6nSmOiyhcYuFxeoeEfSP/3XhbP92dlSTWP943Ty6L+ZHk8N4Cu/SAP4K3W3ftaabyRKXnjYfiR2+eqferrk= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; 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+DoNrJkmlUTNYiQ0xDN/TM1YPwAUAm3MuGoY6/lPxbIS0nLVfKIYpLEkqM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etadata: 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 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160405_151159_362673_3FF1BFF9 X-CRM114-Status: UNSURE ( 7.75 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -1.9 (-) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-arch@vger.kernel.org, linux-s390@vger.kernel.org, pinskia@gmail.com, Prasun.Kapoor@caviumnetworks.com, schwab@suse.de, broonie@kernel.org, linux-doc@vger.kernel.org, heiko.carstens@de.ibm.com, agraf@suse.de, klimov.linux@gmail.com, ynorov@caviumnetworks.com, bamvor.zhangjian@huawei.com, schwidefsky@de.ibm.com, Nathan_Lynch@mentor.com, Bamvor Jian Zhang , joseph@codesourcery.com, christoph.muellner@theobroma-systems.com Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-5.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_MED,RP_MATCHES_RCVD,T_DKIM_INVALID,UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP 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(-) 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.