From patchwork Thu Jan 14 17:23:02 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yury Norov X-Patchwork-Id: 59752 Delivered-To: patch@linaro.org Received: by 10.112.130.2 with SMTP id oa2csp16729lbb; Thu, 14 Jan 2016 09:24:50 -0800 (PST) X-Received: by 10.98.69.209 with SMTP id n78mr7532156pfi.81.1452792289926; Thu, 14 Jan 2016 09:24:49 -0800 (PST) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id hh1si10517413pac.44.2016.01.14.09.24.49; Thu, 14 Jan 2016 09:24:49 -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 S1755198AbcANRYq (ORCPT + 29 others); Thu, 14 Jan 2016 12:24:46 -0500 Received: from mail-bn1on0084.outbound.protection.outlook.com ([157.56.110.84]:25136 "EHLO na01-bn1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1755321AbcANRYl (ORCPT ); Thu, 14 Jan 2016 12:24:41 -0500 Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Yuri.Norov@caviumnetworks.com; Received: from localhost (95.143.213.121) by DM2PR07MB621.namprd07.prod.outlook.com (10.141.177.140) with Microsoft SMTP Server (TLS) id 15.1.361.13; Thu, 14 Jan 2016 17:24:38 +0000 From: Yury Norov To: , , , CC: , , , , , , , , , , , , , Bamvor Jian Zhang Subject: [PATCH v6 05/21] arm64: compat: change config dependences to aarch32 Date: Thu, 14 Jan 2016 20:23:02 +0300 Message-ID: <1452792198-10718-6-git-send-email-ynorov@caviumnetworks.com> X-Mailer: git-send-email 2.5.0 In-Reply-To: <1452792198-10718-1-git-send-email-ynorov@caviumnetworks.com> References: <1452792198-10718-1-git-send-email-ynorov@caviumnetworks.com> MIME-Version: 1.0 X-Originating-IP: [95.143.213.121] X-ClientProxiedBy: VI1PR05CA0037.eurprd05.prod.outlook.com (25.162.33.175) To DM2PR07MB621.namprd07.prod.outlook.com (10.141.177.140) X-Microsoft-Exchange-Diagnostics: 1; DM2PR07MB621; 2:Olhyt4lbmFyMRBW27j0eegeK0UJB6OUpOpSPXmcA7f67emUeZKLqfIqkNBnmjyqPwUbB9MmP+mq0sQOv01TjkDmjLeSQQ0nNHp6Vq3xkiGOU7R4ecTzVmYjCti0XcPrjjl1SeylZLYbHRlpY0Z5Q0g==; 3:Twp0+eX2Sa/KhQdOIgvBqV+7hsRWcxSMDF5e6sXYN3S4nyC1EmwZW/Vr5NTL6m0NiqLtibjiV4cmbMkClJoUmhRtUjebO4w65yBTRARaK2TuBUFRRGFTblR0heHl2GZH; 25:jxP/dhZ8W5EwUESS7Kfo7S9uvq78F8yy5RprMB0qGtNpDs8ELJ6CxszjyYYmIdBQg876gUPFTH8p9YDgJHHjOY8njcqW2K0J5TKy0xN/6MDjpW1upvXGh/HWcB8bEHBfjyLufKrhBP884Bkz64wgXUKMB28eJKQKYAUiOgpw1AQLffDwLetSd5W7qNFfTcOgBTS1nhS3c7Gz3ucmIDMM2vkBaUH4Pab2xsTryi/Shx2+ov/WD89q730E7H/uvzC5 X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:DM2PR07MB621; X-MS-Office365-Filtering-Correlation-Id: d7f4447d-0cbd-4646-1544-08d31d07954d X-Microsoft-Exchange-Diagnostics: 1; DM2PR07MB621; 20:lpKCNaIQDXjokpidrxbjji7bX5pWDd4gnD3nnv1TWzyIRVzBSISEAfF2BvxVkQrdgBbNGi8/UelDzrsj9fDY/VtfRC0mjNCK0U1baOQ2QxhfAtKJREtbPB5R1tKtl70XKjIWpszapHbRRBuCH21c6n16f4wo5stVs2fG2oIaRc7z+GSHGIT86nVBY6bEpolTO/XG81pzOzCBuF8wGVAkiS0+/E2JCb6uqIPuR2HhW3vcVjhLpryyipg9tN6ik/jgkOBuu7wNH8jePhClzXMidbQRZ+Me2azE99zsHURn4o2pqhXwI1/7GMJkUqoG6ZD8Uzpgoy+/sKjMdbgi0/eqAfepZ5sn1GAkfSidgncq3T5s8aEOVFd1vVZmzr5dG1I6XzohxbGU4IfkA4RO0a+KZwz1fdaCkJsqHk/snXToI2RXn8cZdukil2Amrwu3l4LGAsFBovXN9rkAXKhYEzSE5j1k9NukRuRP0h28A0IzbYNwzE0CT9U+OfFOgnngyiLDCXvLYdZcRTpouWpCLU/HaY8kRdEopl3zkmnb//R1pgj1P3qwgIcRN3It40Ys8zVTWb3QUNdL9dXIA/ZkfrIbfFpXkipSdrNIRKu8x3ZHNNs= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(236414709691187); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(601004)(2401047)(8121501046)(5005006)(520078)(3002001)(10201501046); SRVR:DM2PR07MB621; BCL:0; PCL:0; RULEID:; SRVR:DM2PR07MB621; X-Microsoft-Exchange-Diagnostics: 1; DM2PR07MB621; 4:gxHvKA6s3TmQuTyVHEN/XVfvNq81xdgctV6LJmEvqFUc95NhQrOS0ZYNuR8cYZGykuvyWU/Lqhbn+m1JoBKEdC4plrtJQrIhCuj0QoE2v5hk203Os4g1wuCXiFUHot8J4YHnSeXuozuOrNLp5jxw2TIYtAIAB6Ln8rCAbTqnfA3Kqw8a6SK6hZRryA1kfEyMVIoBvML50GqGVa4GS/pBZ32OR6KgOHTqDOPbMHBN7nM1rB5OlssMxrm8JdSJC8CWUy4qwUclA0wzqF4oSl7JZMdkrDsf8u2hgB+Vnougi4i9zLREoLRQpXW9cijnCeVWV0TnGojb2SZ6iqC+wFmtFcHeGDZODRxzDwqjt3pAIsRH3RqHif135Mrda0WfePEfa/khdz5hmzDthGN/vkE+Yy3O5Q6G/97T50K4P5opj+t+wx4Uz05pR/mnrTy4yHCk X-Forefront-PRVS: 08213D42D3 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(6069001)(6009001)(189002)(199003)(229853001)(50226001)(5008740100001)(47776003)(2201001)(81156007)(189998001)(5001770100001)(586003)(4326007)(6116002)(1096002)(50986999)(3846002)(106356001)(122386002)(105586002)(5004730100002)(97736004)(40100003)(5001960100002)(2950100001)(76176999)(19580405001)(101416001)(66066001)(36756003)(19580395003)(50466002)(92566002)(2906002)(87976001)(48376002)(33646002)(42186005)(5003940100001)(76506005)(77096005)(2101003); DIR:OUT; SFP:1101; SCL:1; SRVR:DM2PR07MB621; H:localhost; FPR:; SPF:None; PTR:InfoNoRecords; MX:1; A: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; DM2PR07MB621; 23:9fLsT9b2jvODRdrJhHeEmvA15fJAJiskWKRngAiRsd?= =?us-ascii?Q?Pzvhsu3N+Xro8t6tiz0oiaCqsmI3Y6lIh7ZqXzR08PjG6b5+55eOj9Xg4U8m?= =?us-ascii?Q?8gWNURhUNJD5es2D4gfmurssbvAqbfORMvzr93ewG941vYbCr/T2fTrZ4GN7?= =?us-ascii?Q?2jSomhyqxe5Qo5VT0T3tD08nA7MqKH0tm1Qw+B4bXU0SkjUTR39GP6u3EJdB?= =?us-ascii?Q?m/M0Mu+Ha4Iti7WnpxsBia/6jm433MiUS7F6CcLfy0cti+Vl0gqhrMjpeYc0?= =?us-ascii?Q?s3yHMdo/gZxC5JeeHjjtbttNbQGrNQzGP5mKVFgWJ2Z6Xt3x/KI/XEDM3zWy?= =?us-ascii?Q?no+NHuD/O4/5Bvb36MmhBJe54XFiN7XqQpUaAvrSQ+7mq3cycv8fBt9g/j/J?= =?us-ascii?Q?rTD4W41+FUeEOOP1L43NE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NZa/160mIWuVJbln0b42/wv+WUk5ldfeO3xb1oXhiNI0ODxzYJZy67qmmLZTXrJGuh8iJwRncZiDxstu1QycXYPS7S1rmcqzBeLc= SpamDiagnosticOutput: 1:23 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 14 Jan 2016 17:24:38.9017 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM2PR07MB621 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.