Received: by 2002:a05:6a10:2726:0:0:0:0 with SMTP id ib38csp1211013pxb; Wed, 6 Apr 2022 11:25:29 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxTcudwFpPvwoY7hsoKLUAPru9Uml2m7Q3R+a7Ex8/PPLbZLo8gD/1qYdrpZZWfsprXA0Aq X-Received: by 2002:a05:6a00:2354:b0:4fa:f195:b0c9 with SMTP id j20-20020a056a00235400b004faf195b0c9mr10260707pfj.33.1649269529256; Wed, 06 Apr 2022 11:25:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1649269529; cv=none; d=google.com; s=arc-20160816; b=zhnF3fF48ckJuiVURzwoUO6Km72caL/B0cm8ykR0wl+fL3Kcw1zd7aSRN7mf3QWvI/ G+QdgZvP/Pi/2UkE4DLGq4NL+ei4RqugeRRoddLn/vmBo6qfKD8+qU4+LD8VHy2KEePm FQt9ockGlFj2Gc1h3Gq7wQ4kMRzKlsbr4HZsZ6Q/rgBOl3gnAvW4JQvyJaPOYk4vqHL6 HVCFWrG7bxyKSDmGYKjq6kH8YokklrCGcj1xoMbRL3jgDcUz5VeHSb0lTN7nmS3W4CvC 5okXvPh9rfFZxY9TR0B6k+Le57HGj9KGeX5kvyejYWtiCE/297wRstndLjyM17FbgoF4 aWYg== 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=c+gWJTPuDXtPutjuaHcS9SN4Hrb0Z6a4Yc6K3WUVxWs=; b=UDZkPYOWsOWEpPrS8VIA6NEG7OLwOcIxKtm7IwRFke55AzxrUHR26ZLguwB2I6LLXX nSNCatqKcLz0Gg5R8xX0DtKSon3nIixYcUAiQp+U+siVl1OW7JgGcXvL6+K2k5SWljfE RGOXlwunBl/7r9jF1C2Ayi7D1K7gJFDF5J5EWq7LDrrqPz9V5k+EsUtu4PNaF9T2lyCn KqSb1ddwyN/UQMrWdjnvK4T6F2739SjttPlM4ZvEt2hzDCboT7W1lRiAtJCAqXmfLdqh a2a/i5q9ViexG5l/7862n3xfjbiV4putOdkutUp1P10KERjaqFsg2F3KtVKFGu/qu05U Abgg== ARC-Authentication-Results: i=1; mx.google.com; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 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 lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id r29-20020a635d1d000000b00398833d206dsi16495779pgb.505.2022.04.06.11.25.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 06 Apr 2022 11:25:29 -0700 (PDT) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 3130C2414F9; Wed, 6 Apr 2022 11:08:56 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240278AbiDFSJk (ORCPT + 99 others); Wed, 6 Apr 2022 14:09:40 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42952 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240473AbiDFSHz (ORCPT ); Wed, 6 Apr 2022 14:07:55 -0400 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 65FB2B89BD; Wed, 6 Apr 2022 09:46:19 -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 4CC5112FC; Wed, 6 Apr 2022 09:46:19 -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 9FBEE3F73B; Wed, 6 Apr 2022 09:46:18 -0700 (PDT) From: James Morse To: linux-kernel@vger.kernel.org, stable@vger.kernel.org Cc: James Morse , Catalin Marinas Subject: [stable:PATCH v4.9.309 19/43] arm64: Make ARM64_ERRATUM_1188873 depend on COMPAT Date: Wed, 6 Apr 2022 17:45:22 +0100 Message-Id: <20220406164546.1888528-19-james.morse@arm.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20220406164546.1888528-1-james.morse@arm.com> References: <0220406164217.1888053-1-james.morse@arm.com> <20220406164546.1888528-1-james.morse@arm.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RDNS_NONE, SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no 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 93bf53aa02d4..42719bd58046 100644 --- a/arch/arm64/Kconfig +++ b/arch/arm64/Kconfig @@ -444,6 +444,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