From patchwork Tue Dec 29 14:59:42 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bamvor Zhang Jian X-Patchwork-Id: 59052 Delivered-To: patch@linaro.org Received: by 10.112.130.2 with SMTP id oa2csp2316736lbb; Tue, 29 Dec 2015 07:00:48 -0800 (PST) X-Received: by 10.98.18.206 with SMTP id 75mr76762621pfs.91.1451401247871; Tue, 29 Dec 2015 07:00:47 -0800 (PST) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id x14si52007731pfa.52.2015.12.29.07.00.46; Tue, 29 Dec 2015 07:00:47 -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; dkim=neutral (body hash did not verify) header.i=@linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753399AbbL2PAo (ORCPT + 29 others); Tue, 29 Dec 2015 10:00:44 -0500 Received: from mail-pf0-f174.google.com ([209.85.192.174]:35448 "EHLO mail-pf0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752695AbbL2PAm (ORCPT ); Tue, 29 Dec 2015 10:00:42 -0500 Received: by mail-pf0-f174.google.com with SMTP id 78so128072392pfw.2 for ; Tue, 29 Dec 2015 07:00:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=FnErtnE+g1cuXXaJUQvI3l8vVG0UNgHv7yfK9ja4u2I=; b=T5cjSFAt90oZzlZwDD8GuGcowinRDWGWG9bTNcSzbSSTFjK1kjSTzXCibJcU0Y7YI6 NllHumZjr1EB0pX1ZaWTzrGCJd9C3NUAqZDQgwniSrewc5nCQKVLwq+kXMTbco/7upPG z92KrhWaaejAiY6Cu+4ukdsppxeowarTXJ/U8= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=FnErtnE+g1cuXXaJUQvI3l8vVG0UNgHv7yfK9ja4u2I=; b=cUbnC2LOGTYIi43STaYstZEPrzEQgEVkul60tntra6xMDQ/il6ORa1CkY4rURV4eGV CoeVbIlOglwSa9KaaTUB+hTBT7+TsQ+Y+Pi1SMQ+13dePkozKpmjA8WOzvESeFKMcbhj oCIENMFvCUpAYdYA3HleyracBKaqvTwiBWbyiCfNDplnORQMbdzhxf8RSCTbHK43D/gE R4egsbd77t3bLGpyePaeZ0pI2Cqicvuo3OSyOjZUss8jvTL5QBRpZupgLp6p8g3xewwo VbAExu8VJ7qWYR2ZjL3ISRB41SZaVJGKV9xIFnWr2dsz6n/QXfBOFw+k1QVjuBzcmgp9 XlvA== X-Gm-Message-State: ALoCoQkVXUsyA/+u4YmVJtylc3jNOkxrls3gEaX1NAUZk0QcdvVTopyjiEywJrsT+yeIhbBIKhkwl0wjKmesD0jW30XDNhWVew== X-Received: by 10.98.0.133 with SMTP id 127mr29425835pfa.76.1451401241584; Tue, 29 Dec 2015 07:00:41 -0800 (PST) Received: from linux-j170.lan ([211.22.145.200]) by smtp.gmail.com with ESMTPSA id g68sm46958054pfd.55.2015.12.29.07.00.31 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 29 Dec 2015 07:00:40 -0800 (PST) From: Bamvor Jian Zhang To: ynorov@caviumnetworks.com Cc: arnd@arndb.de, catalin.marinas@arm.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, pinskia@gmail.com, Prasun.Kapoor@caviumnetworks.com, schwab@suse.de, Nathan_Lynch@mentor.com, agraf@suse.de, klimov.linux@gmail.com, broonie@kernel.org, jan.dakinevich@gmail.com, ddaney.cavm@gmail.com, bamvor.zhangjian@huawei.com, philipp.tomsich@theobroma-systems.com, joseph@codesourcery.com, christoph.muellner@theobroma-systems.com, apinski@cavium.com, Andrew.Pinski@caviumnetworks.com, bamvor.zhangjian@linaro.org, baixin1@huawei.com Subject: [PATCH] arm64: compat: fix wrong dependency Date: Tue, 29 Dec 2015 22:59:42 +0800 Message-Id: <1451401182-10629-1-git-send-email-bamvor.zhangjian@linaro.org> X-Mailer: git-send-email 2.1.4 In-Reply-To: <20151229122721.GA20341@yury-N73SV> References: <20151229122721.GA20341@yury-N73SV> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 --- arch/arm64/Kconfig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) -- 2.1.4 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/ diff --git a/arch/arm64/Kconfig b/arch/arm64/Kconfig index deec37a..7ea783b 100644 --- a/arch/arm64/Kconfig +++ b/arch/arm64/Kconfig @@ -313,7 +313,7 @@ config ARM64_ERRATUM_832075 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 @@ -509,7 +509,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.