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: 7980561 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 8CEFB9F3F6 for ; Thu, 7 Jan 2016 23:40:26 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id AD4BB201B9 for ; Thu, 7 Jan 2016 23:40:25 +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 884DC2014A for ; Thu, 7 Jan 2016 23:40:23 +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 1aHK8t-0001dT-HL; Thu, 07 Jan 2016 23:38:55 +0000 Received: from mail-bl2on0065.outbound.protection.outlook.com ([65.55.169.65] helo=na01-bl2-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1aHK8Y-0001D7-Va for linux-arm-kernel@lists.infradead.org; Thu, 07 Jan 2016 23:38:38 +0000 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: , , , 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 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160107_153835_536586_BF2B9538 X-CRM114-Status: UNSURE ( 9.70 ) 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: pinskia@gmail.com, Prasun.Kapoor@caviumnetworks.com, schwab@suse.de, broonie@kernel.org, Nathan_Lynch@mentor.com, agraf@suse.de, klimov.linux@gmail.com, ynorov@caviumnetworks.com, jan.dakinevich@gmail.com, ddaney.cavm@gmail.com, bamvor.zhangjian@huawei.com, philipp.tomsich@theobroma-systems.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=-4.2 required=5.0 tests=BAD_ENC_HEADER,BAYES_00, RCVD_IN_DNSWL_MED, RP_MATCHES_RCVD, 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 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.