From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 6118EC02199 for ; Fri, 7 Feb 2025 23:00:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: Content-Type:In-Reply-To:From:References:CC:To:Subject:MIME-Version:Date: Message-ID:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=NyLXnX2Tiy5mf+72FCcjR9z6tIQv9KqGrAYNYPa0/Qc=; b=liQ/1tA7wNvzALk8T/M4MisvW7 J8N56u8hyFjHGnoAnER6hQfHjovBF7vCr/qe8bysIDKOHakmlyUpprWnna/7rz4CnNrYwyfZKsy0J JSUoHFvF6MoA9XsH3kg6e6gf3qG3FXtPJPrIT6CBa7I4k2uqVmBCXOjmHx8zLiOOYRNnpVSzLV16C Rc3wSbX1rlUzRwRGbE4zeJrPWr+5libutb/xQFQQBy5VWmdwpAe279KzyB1nKWnvOa5/Obom5+d6d RaIKykTv++FaY8qtRgoxDy730y9lhyoAbActk+G1rqiGwC//j5JcJMs/HHY9kt1IlA8oHnezmFBu1 4Ge1nNhw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1tgXKE-0000000BTAV-15F9; Fri, 07 Feb 2025 22:59:54 +0000 Received: from mx0a-0031df01.pphosted.com ([205.220.168.131]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1tgXI9-0000000BSoZ-1jeX for linux-arm-kernel@lists.infradead.org; Fri, 07 Feb 2025 22:57:46 +0000 Received: from pps.filterd (m0279867.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 517EpWSH012653; Fri, 7 Feb 2025 22:57:36 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to; s=qcppdkim1; bh= NyLXnX2Tiy5mf+72FCcjR9z6tIQv9KqGrAYNYPa0/Qc=; b=khZQ4epea1lnLjmt ISwcz3LJ6khuU90NAMshikoYRUp172ZjcxLTN9/xvtJB7qpvN2JRluqbKXY4vCey s090kib1WuiXk5zCI+chUFJE45QU4loIeYmEwqvwnJtksZmskySmfhMU/92TsonT HepW6C8CqvUbkoP0XiP1ITBUQ8xVpEGDgtwmSWhq2iepFtnKYJhGRKYHTzeFb7dg 3j5IO/FN92yqPeJtNhXFrNaHD5KDRGxWb78NRmU1oLzlKp+aIwpTdv9ZMi+MfpoT Ku88o6qhCBzhOrxg7zWT+gMab8QUirAZZl/ibk+M54vf5ok02rTSWwNyLmI3WBsT 5PL9hg== Received: from nasanppmta04.qualcomm.com (i-global254.qualcomm.com [199.106.103.254]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 44nmaah36u-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 07 Feb 2025 22:57:36 +0000 (GMT) Received: from nasanex01a.na.qualcomm.com (nasanex01a.na.qualcomm.com [10.52.223.231]) by NASANPPMTA04.qualcomm.com (8.18.1.2/8.18.1.2) with ESMTPS id 517MvZeb001765 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 7 Feb 2025 22:57:35 GMT Received: from [10.110.94.65] (10.80.80.8) by nasanex01a.na.qualcomm.com (10.52.223.231) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1544.9; Fri, 7 Feb 2025 14:57:31 -0800 Message-ID: <04adfe6c-5f04-4e28-a52d-b8cb5654771a@quicinc.com> Date: Fri, 7 Feb 2025 14:57:30 -0800 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v4 3/5] arm64: errata: Add KRYO 2XX/3XX/4XX silver cores to Spectre BHB safe list To: Douglas Anderson , Catalin Marinas , Will Deacon , Mark Rutland CC: Roxana Bradescu , Julius Werner , , , Florian Fainelli , , Jeffrey Hugo , Scott Bauer , , James Morse , References: <20250107200715.422172-1-dianders@chromium.org> <20250107120555.v4.3.Iab8dbfb5c9b1e143e7a29f410bce5f9525a0ba32@changeid> Content-Language: en-US From: Trilok Soni In-Reply-To: <20250107120555.v4.3.Iab8dbfb5c9b1e143e7a29f410bce5f9525a0ba32@changeid> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Originating-IP: [10.80.80.8] X-ClientProxiedBy: nasanex01a.na.qualcomm.com (10.52.223.231) To nasanex01a.na.qualcomm.com (10.52.223.231) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-ORIG-GUID: BmfbeKS-e0ck2Bd04tpftWN13s_vAgSN X-Proofpoint-GUID: BmfbeKS-e0ck2Bd04tpftWN13s_vAgSN X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1057,Hydra:6.0.680,FMLib:17.12.68.34 definitions=2025-02-07_11,2025-02-07_03,2024-11-22_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 impostorscore=0 priorityscore=1501 bulkscore=0 spamscore=0 lowpriorityscore=0 clxscore=1015 adultscore=0 phishscore=0 suspectscore=0 malwarescore=0 mlxlogscore=718 mlxscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2501170000 definitions=main-2502070173 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20250207_145745_460384_9B639313 X-CRM114-Status: GOOD ( 14.77 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On 1/7/2025 12:06 PM, Douglas Anderson wrote: > 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 > --- > > Changes in v4: > - Re-added KRYO 2XX/3XX/4XX silver patch after Qualcomm confirmed. > > Changes in v3: > - Removed KRYO 2XX/3XX/4XX silver patch. > > Changes in v2: > - New > > arch/arm64/kernel/proton-pack.c | 3 +++ > 1 file changed, 3 insertions(+) > > 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; Acked-by: Trilok Soni -- ---Trilok Soni