From patchwork Thu Jan 7 23:34:23 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yury Norov X-Patchwork-Id: 59308 Delivered-To: patch@linaro.org Received: by 10.112.130.2 with SMTP id oa2csp221989lbb; Thu, 7 Jan 2016 15:38:19 -0800 (PST) X-Received: by 10.67.23.226 with SMTP id id2mr154302163pad.149.1452209899276; Thu, 07 Jan 2016 15:38:19 -0800 (PST) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 77si352356pfo.51.2016.01.07.15.38.18; Thu, 07 Jan 2016 15:38:19 -0800 (PST) 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; 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 S1753912AbcAGXiR (ORCPT + 29 others); Thu, 7 Jan 2016 18:38:17 -0500 Received: from mail-bl2on0084.outbound.protection.outlook.com ([65.55.169.84]:62432 "EHLO na01-bl2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752817AbcAGXiN (ORCPT ); Thu, 7 Jan 2016 18:38:13 -0500 Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Yuri.Norov@caviumnetworks.com; Received: from localhost (95.143.213.121) by CO2PR07MB620.namprd07.prod.outlook.com (10.141.228.156) with Microsoft SMTP Server (TLS) id 15.1.361.13; Thu, 7 Jan 2016 23:38:10 +0000 From: Yury Norov To: , , , CC: , , , , , , , , , , , , , , Bamvor Jian Zhang Subject: [PATCH v6 05/21] arm64: compat: fix wrong dependency Date: Fri, 8 Jan 2016 02:34:23 +0300 Message-ID: <1452209679-19445-6-git-send-email-ynorov@caviumnetworks.com> X-Mailer: git-send-email 2.5.0 In-Reply-To: <1452209679-19445-1-git-send-email-ynorov@caviumnetworks.com> References: <1452209679-19445-1-git-send-email-ynorov@caviumnetworks.com> MIME-Version: 1.0 X-Originating-IP: [95.143.213.121] X-ClientProxiedBy: AM2PR09CA0022.eurprd09.prod.outlook.com (25.161.22.160) To CO2PR07MB620.namprd07.prod.outlook.com (10.141.228.156) X-Microsoft-Exchange-Diagnostics: 1; CO2PR07MB620; 2:cMvw07zyhGpLVc7/XbyXrVSSQAhpYael5WnL2GfQykuhuRRIM6W6EagAbLwiom4172vYnudneWWbThlhB3HFvZh/EVu3zvkNjpjLBMx/gbHto/BJ7l7X7iIIr/uA6en3nXxR/ku7Idz1c7PpnLmJgg==; 3:0YzCOii82R1lrCvg6uW47ApnsJdplJ/YGmAvjKMNIZ1fnmgUb5em/LGSFPPCXKrpJdCDqVEybcc2ZzRWSFlF/g1tlDuKjOzFHzeI0EloWdiDpwez02VD+RRykUV0didR; 25:gqbsUQZ4HC6qVX+QIzs+McRYo76eGXJ1Lk0rIYAX2DGKSh+jdjWAvfJAjEmVqR07CiTajLmshflBfyPAbCh38cSTm7ixLsOtW6+0h6TOsAyu7+rGufcjdAR+2KsMKOzRJoVxlrC+06CtqJuyWCLTME6rRZ8cVvMbk4u1a6v50G6i2TpjzADTz55jL30/M1D5UVfca1tgPciXEGVsvacMvzb8B8oUCoDe4ZUHDwQGUT/9ig7svVmcZ8QoPJ+Bo3DV X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:CO2PR07MB620; X-MS-Office365-Filtering-Correlation-Id: 3f3e55fb-d9c0-467d-c6a1-08d317bb9a87 X-Microsoft-Exchange-Diagnostics: 1; CO2PR07MB620; 20:fj5r7Tpz/y9dSU9PVg4Y42EzdTzPtrDKxiXHfl6EHFTTg8DY35qt2th6L1J7ZD6VL6Nd3tJ5MP83k5bS6kSDuJGfBQXO4poCA1ICZp3pInTzQyuZh0OIxzpALYwGGr5a410jVYjsNhfmE0nHK8QdA4/u4qk03CGHyBLnmM/atyte1mpmVaBGhuIbCZUxDHe9sMeW716A1p1JHN5Xyz1/oEOudnuslZZh9bhnoxA+7Ss8957pNRpsXs6hUVg3d19EWF0LfdJxwZHwBag/MhglQ0rTwv0ZAAm590TRQKFa2Xq7lZJ/Axt9L9CFFuLYKLvOf4KCFF9J50RKl4LeHNjdnwBeT75pTUVEHPD7jcWONHjeSWjpVKxx+R7wcOEmL1SLQ6ZIQXYo6j1n6EnLZxF1Lfm3L3ShaKkREnaKn5xnoYfXO5JvvdQQcBAL6YP7/K9MrXU/bdNPAv5XXNOiu7j0HT1tB+QtYhzq5YzVEBhxdBxeMbRac1hKvxYoQZeJHTp8kwMuC02Di0MCXZIfijQ77CpFyaa15qCto3FrNqLXE7UXa3/2/Ui1BuHn5vwN+uFrrN1NA2T9gh+HuaN3rx8w031WLfoFXOh4jOyuNruKNQw= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(236414709691187); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(601004)(2401047)(520078)(8121501046)(5005006)(10201501046)(3002001); SRVR:CO2PR07MB620; BCL:0; PCL:0; RULEID:; SRVR:CO2PR07MB620; X-Microsoft-Exchange-Diagnostics: 1; CO2PR07MB620; 4:rOZVAQXmyI9FrbPCn1/+ILXLb7Fi/hDRhYYGXOZ+CSYPnpUZYb2LykldNVIT1tKO9d2k1JffLovyz6MuEHbfzCwFXpedj4XKNsw/lhG+hrSF6j5CO1+bzf5pFmNmzizppYpdyWLvLE5lFkaX0lxN/6fdCX3ELKt6oe6XoPE7BVjlJDQtth5BcmXJMJ8PHP0xEvNsbJ6MjbGjRrkhP6k2WXOmER2G3eim5Cvgai7pSMwMHN30jv4RoS0oQTdZRzqsl3sTWi/swUHoN+4zN+ksrEcI1pAHjmd3TKrGWEvTr7yKy0kP82TzTm8+39j9mR7Vj6AghiwLoZTEt4LxkM+KzEySGFHITM9NbyX546S6Qlb/CVabEP/2jHMidwI4rmb9epAErGyq3U3SxAJrzylgLX0T9mhdTJm2NUAfLt9mwZZWwW4w/iTv3Ch20HYs6ozQ X-Forefront-PRVS: 0814A2C7A3 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(6069001)(6009001)(199003)(189002)(87976001)(2201001)(36756003)(3846002)(6116002)(1096002)(92566002)(33646002)(5001770100001)(76506005)(2950100001)(2906002)(4326007)(5003940100001)(47776003)(5001960100002)(66066001)(77096005)(19580405001)(229853001)(42186005)(40100003)(5004730100002)(48376002)(101416001)(5008740100001)(106356001)(586003)(76176999)(81156007)(122386002)(50226001)(97736004)(189998001)(50986999)(19580395003)(50466002)(105586002)(2101003); DIR:OUT; SFP:1101; SCL:1; SRVR:CO2PR07MB620; H:localhost; FPR:; SPF:None; PTR:InfoNoRecords; A:1; MX:1; LANG:en; Received-SPF: None (protection.outlook.com: caviumnetworks.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; CO2PR07MB620; 23:9DbMeYJnn6FJbO30EJ/l/Giff2lBg/369tZaj9wU3G?= =?us-ascii?Q?Q8YnyMdh7D25N0MjeEQu5no8jzNaHxAzIYTI1npgQD9FRRbJ3yIbNbltJ4sZ?= =?us-ascii?Q?7BkO3kk4Ngdjmwgr+6vnI0egz7CI4yf0vqJUrAvy0IkLt7b0bwU+mv84Zrhr?= =?us-ascii?Q?e3uZjWugZqPKO2v8o2DGmdBFqIrUCtUNxSL6L9dBQqrj1SC+HZyGk2hR3Zn8?= =?us-ascii?Q?yj6/gGB9fr/g60XsRSgEoc6ucgolwq2n0fhS4eDk3N3fRdLRlz3SDQfDzLM1?= =?us-ascii?Q?ayPfm0lTDImpIB2gbGKbRqJwijGF1lwNoWp4waadhpK1L2EwLjE4gOJpQbHl?= =?us-ascii?Q?Yn8gtFPaYgt0iPJSivKxr28cxfh/1oemPkUjwnWKVxj74uwZC0hl+6wbz5fJ?= =?us-ascii?Q?prRDYWcgdHKVmiIc/VfMLhy9RXf30Ai3ycyHQ2LN+4l4Fvikv66/Gq1+owbR?= =?us-ascii?Q?Z2ijmFlnFBCnhVMSdq/3ZUNhq5injhz4l1MAEmi+a6aDHmNOeAwPerxUR6Yg?= =?us-ascii?Q?snKgcOnsnStDvf4tAChScmVeuoBR4j5ie1/sCY16wkJSHuO0yil4XgeZp60/?= =?us-ascii?Q?yhkxf0sKGvrRO5CXR71RYgbx6eGWAOVFVawIBjR55ffvc7tfkSfW8I0QZl66?= =?us-ascii?Q?kVJRGFs79Ccc9/xyyjSgmihL9sABsrxYzNu3mBYDTyAoEMYPuAMJb7YzcOGp?= =?us-ascii?Q?+6zij8bjgT8HpsjG72HjB0KDQEF62j/Oln89oMIqbOdGJgANtOriLl8ef2u9?= =?us-ascii?Q?v3y/RjkrO5ERzl5jFHb6zlVADQb4+D6aOi8naa+erjqRiO1DgUzS00QpkgSp?= =?us-ascii?Q?jCmO/sHp/L1wv1luBIf3xupIWdfITJGOoy3IAC3e6kVa/NjQQZhzHeVq6CbN?= =?us-ascii?Q?7TrkZUmSOHaR8ILhavp6lcnSRThtTnxnRV8enfWnwSm0G0taDgqApY+/w8QL?= =?us-ascii?Q?R5OuENtIaAU9eoWsWtstsb8ssedeDF1IAjanRZF0A3F29bHtpbF+PThWrBHn?= =?us-ascii?Q?pBpDyKRVC46JV7WEpgZiLXHwjNmMGx8+IUtbB0lpwJF6Bz454Bek11q1gzB2?= =?us-ascii?Q?THu5JF7le3US5ftwg94JD1JwH7cg4JehRDzcNAQ//7e+qxchDUtV7zWk0Gbu?= =?us-ascii?Q?PH8MRY0fM=3D?= X-Microsoft-Exchange-Diagnostics: 1; CO2PR07MB620; 5:/Ckfi0LuyZiOe5bpNA1+UuVWsPcBtyv2IdS2cH5zDGdPCNSkEri7nZeeRzovo/w875XBDQfFJFq50GGVN7rNNyJC1tCBKUvJcGuwkNoSeD+l40Ag5apwW4FWzRouLc3mJyaCIiGlihlTJGXa0goNAQ==; 24:uQZdSY7ivwskiT+PkS8FkhxnuTrI+dDzBWO89xoJM7I/n1fguBfZ+bYX9G59aL5+YdbzphKurmYbZcPaipfWhYYNJ6tuSOV6iD22ZwYhi5c= SpamDiagnosticOutput: 1:23 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 07 Jan 2016 23:38:10.3909 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: CO2PR07MB620 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 09d7b7e..aeddddd 100644 --- a/arch/arm64/Kconfig +++ b/arch/arm64/Kconfig @@ -339,7 +339,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 @@ -592,7 +592,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.