Received: by 2002:a05:6a10:2726:0:0:0:0 with SMTP id ib38csp1242522pxb; Fri, 1 Apr 2022 08:13:57 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyd6XEb9seEIVSysTFcVz6uzabCGEDXUfHlFAFUK1EWrSXDbNw+eQ/lSKx6AI4AKkTLksd4 X-Received: by 2002:a17:906:730e:b0:6e0:2ad8:12c8 with SMTP id di14-20020a170906730e00b006e02ad812c8mr212107ejc.623.1648826037016; Fri, 01 Apr 2022 08:13:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1648826037; cv=none; d=google.com; s=arc-20160816; b=fHXP0f5NKqM8iPstESDl80OPA7h9vmxwO6gkqakVVSevhYgPy29r/3yE+fprjc6C14 G99gC+9RNaaCfbM4ZySYCDuO1w6p3KaEzCPCCMIVXLgn8e2kfBG3S9DKPCK/jkQhNBYG pFOaWPfdccZRHYA2KFSz+ZDldj5+XUZEi3DehD2arTqx/PSiyO7gtMnSsjtK0vM0O8dS RBsRRPtk1jPMYleXZFzU7q17JuAg54QDuEsZ1mjKwnXPcopaUEEaZbjctSvFGfNfI0Oh Jw12QqXMQXR6Oqlreb8Fmr3pAmy12x+89RvkFHpMaYli9DJhqQh3SJcJ/PywGxUppzEI y41w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=ADGHlH1EYncF7FGxHhiOSNCyucLzI+oHQQ+S5YcXKJo=; b=Eiv6ZdfEH149Op9FtCpeH3UJ0xhgDU6e8iQ4I5ZVr1PYanqQV/BYe/g7kqXGh0fGEh epSfF4i+ljS+IUCQhd2/lS5uTGdm1I7lHSMT1vVVVDhxEL/A7+p+wKoiQ8nzm0KZkRBD XNTVrs9XksbZlLl6tR53bet2zSkpq4Qfo+Qx4hBQNJVVYStQK5lgFu+rvwohfk/tUdp9 fGLqR5GavxYnZQPHcKWOvaYsuNU3Bj5lGu25uRmeRPxNVHwaj48sir8NI7veib3usGoi Wnd/xuGFbTxAu3WWxizls2ZgzzMgBhZl7MPFeGef+Nn/lBpxW+MircUVAvuym6Ty4cmH XtpQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id b20-20020a056402279400b00418c2b5bed0si1915839ede.434.2022.04.01.08.13.30; Fri, 01 Apr 2022 08:13:57 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235006AbiCaSgZ (ORCPT + 99 others); Thu, 31 Mar 2022 14:36:25 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51714 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234783AbiCaSgU (ORCPT ); Thu, 31 Mar 2022 14:36:20 -0400 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 06A9663BD2; Thu, 31 Mar 2022 11:34:33 -0700 (PDT) Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id C4B251596; Thu, 31 Mar 2022 11:34:32 -0700 (PDT) Received: from eglon.cambridge.arm.com (eglon.cambridge.arm.com [10.1.196.218]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 2731D3F718; Thu, 31 Mar 2022 11:34:32 -0700 (PDT) From: James Morse To: stable@vger.kernel.org, linux-kernel@vger.kernel.org Cc: james.morse@arm.com, catalin.marinas@arm.com Subject: [stable:PATCH v4.14.274 04/27] arm64: Make ARM64_ERRATUM_1188873 depend on COMPAT Date: Thu, 31 Mar 2022 19:33:37 +0100 Message-Id: <20220331183400.73183-5-james.morse@arm.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20220331183400.73183-1-james.morse@arm.com> References: <20220331183400.73183-1-james.morse@arm.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Marc Zyngier commit c2b5bba3967a000764e9148e6f020d776b7ecd82 upstream. Since ARM64_ERRATUM_1188873 only affects AArch32 EL0, it makes some sense that it should depend on COMPAT. Signed-off-by: Marc Zyngier Signed-off-by: Will Deacon Signed-off-by: James Morse --- arch/arm64/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/Kconfig b/arch/arm64/Kconfig index 7c205e0fd44b..729384f19c7f 100644 --- a/arch/arm64/Kconfig +++ b/arch/arm64/Kconfig @@ -461,6 +461,7 @@ config ARM64_ERRATUM_1024718 config ARM64_ERRATUM_1188873 bool "Cortex-A76: MRC read following MRRC read of specific Generic Timer in AArch32 might give incorrect result" default y + depends on COMPAT select ARM_ARCH_TIMER_OOL_WORKAROUND help This option adds work arounds for ARM Cortex-A76 erratum 1188873 -- 2.30.2