From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 783DE1DE3A8; Thu, 17 Apr 2025 18:06:59 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1744913219; cv=none; b=jXRQq2j4WAyMOWHVkTjZRE7nPhz+OOrAshZNGqusEb96R4tmnkjmNKedFJ6cECleWwlU5PjOKzH6x4IAsaNTQRPW7eNI5YEcQMOUgg4p/tzAUeSMoEZHWlUSEfM3zfPGGjO1RjF2LslSF+2+bIBDoXZ3uY4BslevFuW+YrF3Ql8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1744913219; c=relaxed/simple; bh=2hBc60zc3dktMmjdrE5qoEsx1FhuZJnaSaY2iud3Pik=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=iYyBL1tTDK5eYrIa92e8AJ4CmzXSlh/TMWaMtIPrK0c1h37yjwLJMNB591f4U5fxyl+P+5HZfkdCzyoC8HybyWBrBVHUwE1Jqj21hbT8ZYFjA1F5G0AopJe1+kTS1ND+mCcxpSC8Z9N27HEIdKzmW06nxZTPoyyw0tsj7Q7Tu0U= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=a3cbAplV; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="a3cbAplV" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 028F9C4CEE4; Thu, 17 Apr 2025 18:06:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1744913219; bh=2hBc60zc3dktMmjdrE5qoEsx1FhuZJnaSaY2iud3Pik=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=a3cbAplVka1V3BgLv/1ljhNzqvdscODePwDtsdETJGfc/VlEFkndhuxYAEAIuVaK8 YzIM2xJ+TXL2wOJpwfZnfEtxWUbLg6SHMHyjI2TqW2idBfzV2nFK9Oi6iE7G8LaG79 j0QDQfOrLor33KtPnjpeRIVpPrWx1dwOhaxjJdvI= From: Greg Kroah-Hartman To: stable@vger.kernel.org Cc: Greg Kroah-Hartman , patches@lists.linux.dev, Scott Bauer , Douglas Anderson , Trilok Soni , Catalin Marinas Subject: [PATCH 6.14 236/449] arm64: errata: Add KRYO 2XX/3XX/4XX silver cores to Spectre BHB safe list Date: Thu, 17 Apr 2025 19:48:44 +0200 Message-ID: <20250417175127.494121156@linuxfoundation.org> X-Mailer: git-send-email 2.49.0 In-Reply-To: <20250417175117.964400335@linuxfoundation.org> References: <20250417175117.964400335@linuxfoundation.org> User-Agent: quilt/0.68 X-stable: review X-Patchwork-Hint: ignore Precedence: bulk X-Mailing-List: patches@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 6.14-stable review patch. If anyone has any objections, please let me know. ------------------ From: Douglas Anderson commit 0c9fc6e652cd5aed48c5f700c32b7642bea7f453 upstream. Qualcomm has confirmed that, much like Cortex A53 and A55, KRYO 2XX/3XX/4XX silver cores are unaffected by Spectre BHB. Add them to the safe list. Fixes: 558c303c9734 ("arm64: Mitigate spectre style branch history side channels") Cc: stable@vger.kernel.org Cc: Scott Bauer Signed-off-by: Douglas Anderson Acked-by: Trilok Soni Link: https://lore.kernel.org/r/20250107120555.v4.3.Iab8dbfb5c9b1e143e7a29f410bce5f9525a0ba32@changeid Signed-off-by: Catalin Marinas Signed-off-by: Greg Kroah-Hartman --- arch/arm64/kernel/proton-pack.c | 3 +++ 1 file changed, 3 insertions(+) --- a/arch/arm64/kernel/proton-pack.c +++ b/arch/arm64/kernel/proton-pack.c @@ -854,6 +854,9 @@ static bool is_spectre_bhb_safe(int scop MIDR_ALL_VERSIONS(MIDR_CORTEX_A510), MIDR_ALL_VERSIONS(MIDR_CORTEX_A520), MIDR_ALL_VERSIONS(MIDR_BRAHMA_B53), + MIDR_ALL_VERSIONS(MIDR_QCOM_KRYO_2XX_SILVER), + MIDR_ALL_VERSIONS(MIDR_QCOM_KRYO_3XX_SILVER), + MIDR_ALL_VERSIONS(MIDR_QCOM_KRYO_4XX_SILVER), {}, }; static bool all_safe = true;