Received: by 2002:a05:6358:45e:b0:b5:b6eb:e1f9 with SMTP id 30csp3061168rwe; Mon, 29 Aug 2022 05:18:48 -0700 (PDT) X-Google-Smtp-Source: AA6agR7HMfusqoSLomGO33CenIVmkmFTyMtW26oNBTcqt3Se8SgvQeoSfpsFVyLHBeZn5eR3dVjI X-Received: by 2002:a63:1c21:0:b0:42a:dcc5:3b2e with SMTP id c33-20020a631c21000000b0042adcc53b2emr13615411pgc.361.1661775527908; Mon, 29 Aug 2022 05:18:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1661775527; cv=none; d=google.com; s=arc-20160816; b=pVQG1L3t8kaAsJe4tThIOtPlcIze5r+Ah/j1PvVW4ZRxKniWCcYNooqMv3CzGOSJDO prNwwcKOHQNavUj6u5MAxsyoKXEiU8ELt+OLL9/w0KfyNVsQqoL8w1QZV1hBVhdmB5hS 1Ky4FZ4f4HhKlOpQhf668D5YC1kd4w6c674SsDUeGc9YxSU7OJPzxd+gzt4VHzWCE5iN VupcjAbufPfG1HZ4cGbNMMTr5o8q+K0qguONo+Ty1nxrjPqoULTW+EdJ55MWH0Btq8Uj rYB22T7inCWotyszfaNlwEkmMvUcogdkyMey8CjGLyfu9NtSw0p6Noio0/od78yvm+X8 wGFw== 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=7QbXTP5UMxdcQrgZjGEBWJ5jAwfPlb4g8v7d/00JFp4=; b=w+W0UQNIct8wM2fQykA9uhqpev3BWC/J8iFGx7QHj7FVLtGNL2bbRV5RlahQjujW8b MTz4UNfBHaw6039pzKvCihvNS75f4wQXuZPyvhWKfaQfPD7WQrlJdD0zqxJCHcBr1bLS SwGGOyUfZJ7LverFzkS5kD/UQIvZFGWbd/8GJMfquS88s5t43jfZRKEvsAjX/HEmLQry S2dZN1EGmZqNanvS0b7uLWncfUzg6gKt5264wGyUZOVRRt62NAQSsYdvLDGYfXYRMBn6 ctFLySlxLIlzI4D48gWN3kt8CDk/B+2mfMFreY2hUwPXn4VfsF9yk/+G92ngl65KYEbK +i0g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b="B/BnkPiB"; 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 pw18-20020a17090b279200b001fdc2e99d9fsi3111332pjb.44.2022.08.29.05.18.36; Mon, 29 Aug 2022 05:18:47 -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="B/BnkPiB"; 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 S230135AbiH2MNN (ORCPT + 99 others); Mon, 29 Aug 2022 08:13:13 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58244 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229498AbiH2MMz (ORCPT ); Mon, 29 Aug 2022 08:12:55 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 763A79E891; Mon, 29 Aug 2022 04:57:20 -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 dfw.source.kernel.org (Postfix) with ESMTPS id E45466123C; Mon, 29 Aug 2022 11:18:29 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id ED292C433D6; Mon, 29 Aug 2022 11:18:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1661771909; bh=k099SGT6cbJNMFaxVYzbiadsUxeStwCwgm8jejTEimg=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=B/BnkPiBaxwpntXM3nhaXGZKXy8sKGuwrt8NEHa4OSz5fp2lHQh32JDPPkrXU/z/j nhbLGccnlJgEl7y/UigruufWlw7cmyworKINUySM9R31N2d/3GyP2aCqJPJH5UOu5o 6kvyFJ20TuhVPfLG72KKA2+h96+TE6VRY2fPf/l4= 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.19 137/158] arm64: Fix match_list for erratum 1286807 on Arm Cortex-A76 Date: Mon, 29 Aug 2022 12:59:47 +0200 Message-Id: <20220829105814.824211263@linuxfoundation.org> X-Mailer: git-send-email 2.37.2 In-Reply-To: <20220829105808.828227973@linuxfoundation.org> References: <20220829105808.828227973@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 @@ -208,6 +208,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), },