Received: by 2002:ab2:6816:0:b0:1f9:5764:f03e with SMTP id t22csp2704707lqo; Mon, 20 May 2024 14:01:30 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCV7NsdccYpKe+F2sCJTj5i2OvGEwNreLgVxYaGIgQJ8mie7S0clJT3j21RW0dmWvvboV6yXN+JguR7T4yvD97pz1O7IRt0586Q5tIPT2w== X-Google-Smtp-Source: AGHT+IErErPNF7JYNQgYuUGZNC3iRKvtcFE6ZMAdbOMYzfQCD4TGJkpemJZUAG+xZiVquVGnBmhD X-Received: by 2002:a05:6a00:1816:b0:6ed:9493:bc6d with SMTP id d2e1a72fcca58-6f4e02ad1dbmr31668452b3a.12.1716238890264; Mon, 20 May 2024 14:01:30 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1716238890; cv=pass; d=google.com; s=arc-20160816; b=UG03OohPP2VHqKSvPxCXk3LH06AraWZ8PsNk3hL54jHaV99oyPkUewMTV7OQM3x82w CaL1jUrjKz6IhMllNT4MruWANLBosVCXPwog5S4ee8EhDeIbFfbVVvHRsr27QpYQp4k8 0NXb9boV+YTXDnz6IMNnJrmIo2XBPyN/jS+O+fVPLQyzDEwkDDFwWXqy4Pp2MEAhomIU KYFSQnsKc13Nvnr3une0ANAtecNRknsEgyI1BP2PEG/8K72T+TwLeFbJqjfS4vuxxmS1 15ebcN5L2gVPfO9rj8WIsB6WSrT1nubpnxsvZfoUsHXVaI8sTEw+c73e8gRT1ZVaKfuG 8MRw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=E5+XDO87Rd5FUvYcp6uBdTHXuSf+Np+OiVW9Vc172EM=; fh=lXi3d2eUlTnWVmyCA8h4xvYPiaI9544rtEnwUzi+PJE=; b=PGQJ2Dic/TeANT3vBx4KCVmy+kWX3FPUKeIrtQSX1IIfOxrrL7Va3NdAON+XpYmQB5 lIWUlXGCyiWWM58cLrVWOuQEOyR6X7RqVsCGVyWL4+XeOumdk4CotpNfhlHkP2a/uDdM FPRd9ZhUmxm1wr68E1RbM6qbKtSB5nlaFQ2vklZ2esVPws25lcPszbpfJ+/2WQTGBP/N SszeNgOjAFpnmrE4ggFF+e0CbBI1IJzNAq0yqjkOSrQ0RkPOrp7t3QB8a0UnMV4h5w3L n55Xv3WX8hkf/ofz3THgb7Z+vi7yCwjaxvon4COmIgoVVnXmvpUMI6ToEg8oF3jxmcut G/ZQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=KiSMnc28; arc=pass (i=1 spf=pass spfdomain=qualcomm.com dkim=pass dkdomain=quicinc.com dmarc=pass fromdomain=quicinc.com); spf=pass (google.com: domain of linux-kernel+bounces-184179-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-184179-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id d2e1a72fcca58-6f4d2b2dad2si22851820b3a.295.2024.05.20.14.01.29 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 20 May 2024 14:01:30 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-184179-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=KiSMnc28; arc=pass (i=1 spf=pass spfdomain=qualcomm.com dkim=pass dkdomain=quicinc.com dmarc=pass fromdomain=quicinc.com); spf=pass (google.com: domain of linux-kernel+bounces-184179-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-184179-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 48FCB281F1F for ; Mon, 20 May 2024 21:01:25 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 5456813A86D; Mon, 20 May 2024 21:00:32 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b="KiSMnc28" Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) (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 146A413A244; Mon, 20 May 2024 21:00:29 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=205.220.168.131 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716238831; cv=none; b=Dw8Ggrd6P7o3OO7tVzp4wm3HTgAzbW9X7YNh7tA7eYHT7+ZbN9vkMUsndj35FBcSTPVreVi15VWQK8njrQgyrjrC+S/fwvIvuioEcKdzNG+5sEDDeoD1B0PvuM2/VyWN7aWvhGogS6KjGUhh89Ub7TDbezf9ca7KAraCRHBXrGI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716238831; c=relaxed/simple; bh=O4hXeHj6jN+P6L5xA0X5X76p/a8hcTQM0BGW7GYKk/M=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=beOcWwI0vAjYgQyU+kCqKUI7tabhhMFXiJD17mOgzRXdfxcO16nxgNZ9+2Yg0P5SOVhc21QZ0mJfqQG+Smoj0W/SVvBDC1YaclRwGYsp2IhuTC/cx7z1FKQn4ebuRQgwcjWrE11PdBlUbNdTiMi3OJPngAS+Ot8tJCBFcIk0vLg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=quicinc.com; spf=pass smtp.mailfrom=qualcomm.com; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b=KiSMnc28; arc=none smtp.client-ip=205.220.168.131 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=quicinc.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=qualcomm.com Received: from pps.filterd (m0279862.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 44KCNcAT008615; Mon, 20 May 2024 21:00:27 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h= from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; s=qcppdkim1; bh=E5+XDO8 7Rd5FUvYcp6uBdTHXuSf+Np+OiVW9Vc172EM=; b=KiSMnc28jkJ+F2BvWvhK+wo SfwPbCU4mXAILFV85dQ3WubNLKgfxoyRxU4ptQrO92IC3NADaIl7Pq4xN2onk00a aQePGdclFxErSJ6E5bQ2cM8d5vkyvGh7dOzWD0VGI0X0dO0qFoDsa0eU83RaXfks Un9s31ZlYgKDwk21RGt5I8Lpek9CjM3l81ElZVcasMXIru8U1kws2wqOlW+SP+nD nzOT4rynWNcMZ7gZbe7PoKd88QTaSJu0c2zfkn1LirlsX/AgijR1vSub5Gc3f12Z O9JNivbx05PYhn564lQkEgVMwJgIF6po6/1r6YChjAYM+4BMrO8wUErKiAkigdQ= = Received: from nalasppmta01.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3y6pqc45hs-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 20 May 2024 21:00:27 +0000 (GMT) Received: from pps.filterd (NALASPPMTA01.qualcomm.com [127.0.0.1]) by NALASPPMTA01.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTP id 44KL0Qpj016137; Mon, 20 May 2024 21:00:26 GMT Received: from pps.reinject (localhost [127.0.0.1]) by NALASPPMTA01.qualcomm.com (PPS) with ESMTPS id 3y6ndm1erq-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 20 May 2024 21:00:26 +0000 Received: from NALASPPMTA01.qualcomm.com (NALASPPMTA01.qualcomm.com [127.0.0.1]) by pps.reinject (8.17.1.5/8.17.1.5) with ESMTP id 44KKxwkF015383; Mon, 20 May 2024 21:00:26 GMT Received: from hu-devc-lv-u22-c.qualcomm.com (hu-uchalich-lv.qualcomm.com [10.81.89.1]) by NALASPPMTA01.qualcomm.com (PPS) with ESMTPS id 44KL0PDd016129 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 20 May 2024 21:00:26 +0000 Received: by hu-devc-lv-u22-c.qualcomm.com (Postfix, from userid 4184210) id 668CBB08; Mon, 20 May 2024 14:00:25 -0700 (PDT) From: Unnathi Chalicheemala To: Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: Unnathi Chalicheemala , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, kernel@quicinc.com Subject: [PATCH v5 5/5] arm64: dts: qcom: sm8650: Add Broadcast_AND register in LLCC block Date: Mon, 20 May 2024 14:00:17 -0700 Message-Id: X-Mailer: git-send-email 2.34.1 In-Reply-To: References: Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-QCInternal: smtphost X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-ORIG-GUID: XzqMSOcsXQZKTbjTuD2yjC9TEZbDAH5W X-Proofpoint-GUID: XzqMSOcsXQZKTbjTuD2yjC9TEZbDAH5W X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1039,Hydra:6.0.650,FMLib:17.12.28.16 definitions=2024-05-20_11,2024-05-17_03,2024-05-17_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 malwarescore=0 bulkscore=0 mlxlogscore=999 impostorscore=0 adultscore=0 lowpriorityscore=0 phishscore=0 spamscore=0 suspectscore=0 mlxscore=0 clxscore=1015 priorityscore=1501 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2405010000 definitions=main-2405200167 Chipsets before SM8450 have only one broadcast register (Broadcast_OR) which is used to broadcast writes and check for status bit 0 only in all channels. From SM8450 onwards, a new Broadcast_AND region was added which checks for status bit 1. This hasn't been updated and Broadcast_OR region was wrongly being used to check for status bit 1 all along. Hence mapping Broadcast_AND region's address space to LLCC in SM8650. Signed-off-by: Unnathi Chalicheemala --- arch/arm64/boot/dts/qcom/sm8650.dtsi | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/sm8650.dtsi b/arch/arm64/boot/dts/qcom/sm8650.dtsi index ba72d8f38420..8db052810357 100644 --- a/arch/arm64/boot/dts/qcom/sm8650.dtsi +++ b/arch/arm64/boot/dts/qcom/sm8650.dtsi @@ -4781,12 +4781,14 @@ system-cache-controller@25000000 { <0 0x25400000 0 0x200000>, <0 0x25200000 0 0x200000>, <0 0x25600000 0 0x200000>, - <0 0x25800000 0 0x200000>; + <0 0x25800000 0 0x200000>, + <0 0x25a00000 0 0x200000>; reg-names = "llcc0_base", "llcc1_base", "llcc2_base", "llcc3_base", - "llcc_broadcast_base"; + "llcc_broadcast_base", + "llcc_broadcast_and_base"; interrupts = ; }; -- 2.34.1