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 C5E0422A808 for ; Thu, 17 Apr 2025 10:02:20 +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=1744884140; cv=none; b=J4L3qjE+DfhfC+3z+KOajwsJeqHFxGLuyHegoa+8EPyIkb3gw979oWWwIs1d2aB4bJMU6yDwk4LbIhG6ogXYm/qMv8goKlslSadO/6VWRmVYyjEDq5Dq7L+3BymK95xS2sKFhhM/F7qpB9rVf0lnezzQuUGaGt6swC52ULNLpdI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1744884140; c=relaxed/simple; bh=ARKMn2c35D95quBdEI0PVIptRseUMBGY6OAmh1bLHQQ=; h=Subject:To:Cc:From:Date:Message-ID:MIME-Version:Content-Type; b=FLmlLxFgQhxIteSJ7FOMBKr86Lxb5rZYSKVUcHIm+1WuQKqzdW4gdhAM4XoDjv6KcijwD0v1xFq0Ew1gRnL4kxqvmZ8pZGeCf/ldpCROc2NKAhm1ZNBbVAxa6mdaWLIni7vrJ9rooaEWlVVT22QMPppThqmliQtfQC7h4O0rl4U= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=JJlkUL3T; 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="JJlkUL3T" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 0B101C4CEE7; Thu, 17 Apr 2025 10:02:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1744884140; bh=ARKMn2c35D95quBdEI0PVIptRseUMBGY6OAmh1bLHQQ=; h=Subject:To:Cc:From:Date:From; b=JJlkUL3TU1UbTd2OwatzhKqqWDb/N53YIEuwjYow9EG91bD3oO3UPKSXqgsxNKZrj UdT1W0REDDfkDGwWaIy+Gc1vRc202cBYYS3Jyhii8uAm8sXoocu7fVwlqnLpvlKihv ZM94XoEvwJH8jQrk7tYVeUv+2W8LHZkApSi2qVyw= Subject: FAILED: patch "[PATCH] arm64: errata: Add KRYO 2XX/3XX/4XX silver cores to Spectre" failed to apply to 5.15-stable tree To: dianders@chromium.org,catalin.marinas@arm.com,quic_tsoni@quicinc.com,sbauer@quicinc.com Cc: From: Date: Thu, 17 Apr 2025 12:01:59 +0200 Message-ID: <2025041759-germinate-audacious-ec98@gregkh> Precedence: bulk X-Mailing-List: stable@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=ANSI_X3.4-1968 Content-Transfer-Encoding: 8bit The patch below does not apply to the 5.15-stable tree. If someone wants it applied there, or to any other stable or longterm tree, then please email the backport, including the original git commit id to . To reproduce the conflict and resubmit, you may use the following commands: git fetch https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/ linux-5.15.y git checkout FETCH_HEAD git cherry-pick -x 0c9fc6e652cd5aed48c5f700c32b7642bea7f453 # git commit -s git send-email --to '' --in-reply-to '2025041759-germinate-audacious-ec98@gregkh' --subject-prefix 'PATCH 5.15.y' HEAD^.. Possible dependencies: thanks, greg k-h ------------------ original commit in Linus's tree ------------------ >From 0c9fc6e652cd5aed48c5f700c32b7642bea7f453 Mon Sep 17 00:00:00 2001 From: Douglas Anderson Date: Tue, 7 Jan 2025 12:06:00 -0800 Subject: [PATCH] arm64: errata: Add KRYO 2XX/3XX/4XX silver cores to Spectre BHB safe list 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 diff --git a/arch/arm64/kernel/proton-pack.c b/arch/arm64/kernel/proton-pack.c index 17aa836fe46d..89405be53d8f 100644 --- 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 scope) 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;