Received: by 2002:a05:6358:45e:b0:b5:b6eb:e1f9 with SMTP id 30csp3046141rwe; Mon, 29 Aug 2022 05:06:03 -0700 (PDT) X-Google-Smtp-Source: AA6agR7z8hLSthwOAL5YzCCZpEV7rAz7mVomRblunoQPmxn8sIh2SwoL5fAO01vmmf1tPu1ovw3F X-Received: by 2002:a17:902:e745:b0:174:dfce:bdcd with SMTP id p5-20020a170902e74500b00174dfcebdcdmr2833754plf.12.1661774762668; Mon, 29 Aug 2022 05:06:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1661774762; cv=none; d=google.com; s=arc-20160816; b=0DSz60+YDTCNTn7NMR2TaCPPMMcu35tp9CjfPNXcRRuRH9+6uGykquMCHUM8TWWVg9 mKulyt8HvGjPWTMZLJ1b3xKhqOAVbMI7SdXATpkWNAZUeJmGpN0e/RjeYQyR6xR0CJsa i82fbXzZHY71e1+md27BEGKS/ZrMfkti5IKMl1W5Ur4le4kwaMxvhPfaQbb73QSrdjZn g74njERYbBv/rBRJpzyNpPaOBXsQOUL4u74qYOPKLbFQ8w2417GknPqih0gGyMtb4nG2 gL5mqjM+AScL4UrtvfsdtPejL/n4rYSfSwrq4HaM5FnbpSSYFoPI1qjvL0eD0JHdBncm et7g== 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 :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=6ZH52/5Pp5AsVokRwjrRRW08reBzt8d3mt32UQcG71I=; b=tLkMNr7e/VgK/1dBk4agdXarLR64YtuvXf05oAMkivrFEhoTXH7hVZ0uKKZpo6gOqx wMKqMwC4xmupQPl8FL1nLawc2WaQFnYZAt92lYjcXoCSBliizFLrdcnIlmu4Z9Kx3R6G 1sHPnF/23VEkMa10ClS0wQYU/Xphg5jq7RMMdokXBCPtkKIsAYtFdN8xWQTKVFVm6UCB cf2PRl3WXUrBbn3wGGY+2kaYLvB3h7kjfocBBfGo1Msw86y0xOg76eEGP2yl0gOkTxGF 1GKMv6xhWoLpbjxS1hocfzRQ+XC+q1CrKrgWXq2rM6pKGuWTKXhz45mSHsnhGm8atzBm AKDA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=PT+ixdsn; 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=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id e123-20020a621e81000000b0052adcf5e6dasi545426pfe.186.2022.08.29.05.05.51; Mon, 29 Aug 2022 05:06:02 -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; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=PT+ixdsn; 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=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232047AbiH2L0z (ORCPT + 99 others); Mon, 29 Aug 2022 07:26:55 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44124 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232255AbiH2LYh (ORCPT ); Mon, 29 Aug 2022 07:24:37 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8A58575FFD; Mon, 29 Aug 2022 04:15:37 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id A30F7B80F98; Mon, 29 Aug 2022 11:12:32 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 0A1AEC433C1; Mon, 29 Aug 2022 11:12:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1661771551; bh=X9U2/3KqXtmjDQ1ulpPrzFgXziBLoh8h4RwfWfCJ8tk=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=PT+ixdsnAiIW3mWGlwNWIJBzL+gDG/rUc6F8R8v9EGxcFL+SUGNC39XMJMxYsOFNA O0rMWA9PSyL6cQjTBFWZN33hWjAtq6DwWaws3ijNi3sC3pJSfCufl+zIR06fTchol5 GpJK9LG0y8ReIlMPR/RB4GFpVnMnxAfya2QYao1I= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Shreyas K K , Zenghui Yu , Marc Zyngier , Will Deacon Subject: [PATCH 5.10 79/86] arm64: Fix match_list for erratum 1286807 on Arm Cortex-A76 Date: Mon, 29 Aug 2022 12:59:45 +0200 Message-Id: <20220829105759.753156152@linuxfoundation.org> X-Mailer: git-send-email 2.37.2 In-Reply-To: <20220829105756.500128871@linuxfoundation.org> References: <20220829105756.500128871@linuxfoundation.org> User-Agent: quilt/0.67 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,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: Zenghui Yu commit 5e1e087457c94ad7fafbe1cf6f774c6999ee29d4 upstream. Since commit 51f559d66527 ("arm64: Enable repeat tlbi workaround on KRYO4XX gold CPUs"), we failed to detect erratum 1286807 on Cortex-A76 because its entry in arm64_repeat_tlbi_list[] was accidently corrupted by this commit. Fix this issue by creating a separate entry for Kryo4xx Gold. Fixes: 51f559d66527 ("arm64: Enable repeat tlbi workaround on KRYO4XX gold CPUs") Cc: Shreyas K K Signed-off-by: Zenghui Yu Acked-by: Marc Zyngier Link: https://lore.kernel.org/r/20220809043848.969-1-yuzenghui@huawei.com Signed-off-by: Will Deacon Signed-off-by: Greg Kroah-Hartman --- arch/arm64/kernel/cpu_errata.c | 2 ++ 1 file changed, 2 insertions(+) --- a/arch/arm64/kernel/cpu_errata.c +++ b/arch/arm64/kernel/cpu_errata.c @@ -220,6 +220,8 @@ static const struct arm64_cpu_capabiliti #ifdef CONFIG_ARM64_ERRATUM_1286807 { ERRATA_MIDR_RANGE(MIDR_CORTEX_A76, 0, 0, 3, 0), + }, + { /* Kryo4xx Gold (rcpe to rfpe) => (r0p0 to r3p0) */ ERRATA_MIDR_RANGE(MIDR_QCOM_KRYO_4XX_GOLD, 0xc, 0xe, 0xf, 0xe), },