From nobody Tue Dec 3 18:44:54 2024 Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.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 D86EB1C7B64; Thu, 21 Nov 2024 05:20:06 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=205.220.180.131 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1732166408; cv=none; b=fpQfEZo0Le8fGaIeX3SUGd5TQQ/6QmhJ9xhZEayPZV2qn3xXqJRL3oMybHBg5rU7UBzr7zgsHEbW5oC7kw8GaujAfnu1RfQmvUHmn3zfOMorbp5xXxP4bxjxxME0bFt8QsuRX1bhAdJNpZJm8TWwCwgAl4Z2rUMUvUGjJzEd2G8= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1732166408; c=relaxed/simple; bh=rAAdXcKL4aW74QHGBUAC7vHxnNR95zfxep59wXzgVFw=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=Pal74mggFh4Ijw5MoKiZVoPkcLaTpL3aHH22Sxpkei031kebfueGsy6Xr3aCSuPNzBMXGWZGAjvZAK2Cc4+68tJr6xK6uTt6/TzN29d44eJ5cl+QOaZdCMpGCXnBSkn6CDX5noIfYMSU1dJGxa3ssHS+JbxjmEKR26AD2vQAvZ8= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=quicinc.com; spf=pass smtp.mailfrom=quicinc.com; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b=IaLPmGWs; arc=none smtp.client-ip=205.220.180.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=quicinc.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b="IaLPmGWs" Received: from pps.filterd (m0279868.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 4AKLAxnh014446; Thu, 21 Nov 2024 05:20:03 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= RIFd3ifkEs+bY8OXaO/Mb5879TwmCxgiwddAEP3vNIA=; b=IaLPmGWszUoiJ2r+ RAJBmOLqVxioBvJoty164gadBwWmf+cHtKKbSJh0YkbtUiGD7A2FOPj0HaUIEEeg kbRxUcHwnDNhusb8FMe+qFGKXcl+azmt/UsTVZWfFzOlcZvCDpoH+h9MAra+sOBi nAAJYSLSeW8kL8ap9N5aD1Nvu6H0kj0BENUlG4l6kU8dE00zKwyp2uujyWGEDI0x acU/O5eguuTZQKk4o0u1GjR3144THdY68QWqzWvOzAFAJTTq1lXt/ZrFau3FlJIN lTrJ8go2/CHQjj09KHxJIG35jy78fcNehzmeLf5iyPGKMHlQFLwCMY8GK8NtztKp F3MXZQ== Received: from nasanppmta05.qualcomm.com (i-global254.qualcomm.com [199.106.103.254]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4308y9803v-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 21 Nov 2024 05:20:03 +0000 (GMT) Received: from nasanex01b.na.qualcomm.com (nasanex01b.na.qualcomm.com [10.46.141.250]) by NASANPPMTA05.qualcomm.com (8.18.1.2/8.18.1.2) with ESMTPS id 4AL5K2Vp031513 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 21 Nov 2024 05:20:02 GMT Received: from hu-varada-blr.qualcomm.com (10.80.80.8) by nasanex01b.na.qualcomm.com (10.46.141.250) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1544.9; Wed, 20 Nov 2024 21:19:59 -0800 From: Varadarajan Narayanan To: , , , , , , , CC: Varadarajan Narayanan Subject: [PATCH v4 1/3] dt-bindings: cache: qcom,llcc: Add IPQ5424 compatible Date: Thu, 21 Nov 2024 10:49:33 +0530 Message-ID: <20241121051935.1055222-2-quic_varada@quicinc.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20241121051935.1055222-1-quic_varada@quicinc.com> References: <20241121051935.1055222-1-quic_varada@quicinc.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-ClientProxiedBy: nasanex01b.na.qualcomm.com (10.46.141.250) To nasanex01b.na.qualcomm.com (10.46.141.250) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-GUID: EN9aZ-hFqqGLTfpF0b8dHEBC5kMxXAJg X-Proofpoint-ORIG-GUID: EN9aZ-hFqqGLTfpF0b8dHEBC5kMxXAJg X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1039,Hydra:6.0.680,FMLib:17.12.60.29 definitions=2024-09-06_09,2024-09-06_01,2024-09-02_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 impostorscore=0 mlxscore=0 phishscore=0 suspectscore=0 adultscore=0 clxscore=1015 priorityscore=1501 lowpriorityscore=0 spamscore=0 bulkscore=0 mlxlogscore=999 malwarescore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2409260000 definitions=main-2411210039 Content-Type: text/plain; charset="utf-8" Document the Last Level Cache Controller on IPQ5424. The 'broadcast' register space is present only in chipsets that have multiple instances of LLCC IP. Since IPQ5424 has only one instance, both the LLCC and LLCC_BROADCAST points to the same register space. Hence, allow only '1' reg & reg-names entry for IPQ5424. Reviewed-by: Rob Herring (Arm) Signed-off-by: Varadarajan Narayanan --- v4: Fix ipq5424-llcc placement according to the sort order v3: Rebase to ToT v2: Add Reviewed-by --- .../devicetree/bindings/cache/qcom,llcc.yaml | 20 +++++++++++++++++-- 1 file changed, 18 insertions(+), 2 deletions(-) diff --git a/Documentation/devicetree/bindings/cache/qcom,llcc.yaml b/Docum= entation/devicetree/bindings/cache/qcom,llcc.yaml index 03b1941eaa33..e5effbb4a606 100644 --- a/Documentation/devicetree/bindings/cache/qcom,llcc.yaml +++ b/Documentation/devicetree/bindings/cache/qcom,llcc.yaml @@ -20,6 +20,7 @@ description: | properties: compatible: enum: + - qcom,ipq5424-llcc - qcom,qcs615-llcc - qcom,qcs8300-llcc - qcom,qdu1000-llcc @@ -42,11 +43,11 @@ properties: - qcom,x1e80100-llcc =20 reg: - minItems: 2 + minItems: 1 maxItems: 10 =20 reg-names: - minItems: 2 + minItems: 1 maxItems: 10 =20 interrupts: @@ -66,6 +67,21 @@ required: - reg-names =20 allOf: + - if: + properties: + compatible: + contains: + enum: + - qcom,ipq5424-llcc + then: + properties: + reg: + items: + - description: LLCC0 base register region + reg-names: + items: + - const: llcc0_base + - if: properties: compatible: --=20 2.34.1 From nobody Tue Dec 3 18:44:54 2024 Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.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 3EA8D1C9B6F; Thu, 21 Nov 2024 05:20:10 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=205.220.180.131 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1732166411; cv=none; b=Qe62kaDb+dMhjoHiKIx5jW6MHCOUouX7vzfyjq70qeYwF+PfAaNG+9ZtPaLrcfUlki+GaHFd94G15yKnhvmr1/uB8g+smrRKyFX2XezTDYnVbIs9qEjPJXV7W26Gr2Z9Zossz6I/V7CmOgFHzbVzWTQFZZOutvtEf08QSTBQ1uM= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1732166411; c=relaxed/simple; bh=mxDQxeL8QW7TBhmZLzdurmwUOpXmIinBfq/IHe5OAIQ=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=qCKydoVLpImagA4NIQLA+YzYez7yIXZRqZQbDXnD9NdmCHugNljBUaO9EOIPQQ/nPEhvcChoCV1vxMgZz7CNamGtXycXEyAHsrYd0BSU+AbjjIg21QmXwcXsbwb00KlO62f3Dc+CHFChAim1tRzSgRbmaeMwOJ2ZtgpMbi0xhYI= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=quicinc.com; spf=pass smtp.mailfrom=quicinc.com; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b=ZqTUML0N; arc=none smtp.client-ip=205.220.180.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=quicinc.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b="ZqTUML0N" Received: from pps.filterd (m0279870.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 4AKK6QOH005744; Thu, 21 Nov 2024 05:20:06 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= yUN1cPPJcmDkYJ8zUxJbWw5oF5M92dTV0E/H58ZKF/w=; b=ZqTUML0NU6aITsJP ik8Ii8cFQiV4ujjLKvn8Z+wiAjjiIrigrxRvyXr2w0nKLRpI/eoucK7OicdyNjPK 9pVyprvCFra5INqFy0QpELEHoZVOkGrvPAjViYaTZEGlY2zWrf6NpJ9nyCRZZ5La nXaE9FSzpakQmKTyjyKOZu0pSjS0/d29a0duf+DZ+MwjoHGyerxSZ0IQNRfQZwl5 f4ihEnQNVyNz1/uHA9CmiTP50uK7cat87e669Gf5iM+YA9cFXQBaI/LMCNStiqc0 s1ErVeg9qhLFqSmGvX9K+paWEvY7C22v+qvJTkoVhwTONGrm6vk10U41rqqpIwiC 2Do35g== Received: from nasanppmta05.qualcomm.com (i-global254.qualcomm.com [199.106.103.254]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4308y8036m-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 21 Nov 2024 05:20:06 +0000 (GMT) Received: from nasanex01b.na.qualcomm.com (nasanex01b.na.qualcomm.com [10.46.141.250]) by NASANPPMTA05.qualcomm.com (8.18.1.2/8.18.1.2) with ESMTPS id 4AL5K55h031709 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 21 Nov 2024 05:20:05 GMT Received: from hu-varada-blr.qualcomm.com (10.80.80.8) by nasanex01b.na.qualcomm.com (10.46.141.250) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1544.9; Wed, 20 Nov 2024 21:20:02 -0800 From: Varadarajan Narayanan To: , , , , , , , CC: Varadarajan Narayanan Subject: [PATCH v4 2/3] soc: qcom: llcc: Update configuration data for IPQ5424 Date: Thu, 21 Nov 2024 10:49:34 +0530 Message-ID: <20241121051935.1055222-3-quic_varada@quicinc.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20241121051935.1055222-1-quic_varada@quicinc.com> References: <20241121051935.1055222-1-quic_varada@quicinc.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-ClientProxiedBy: nasanex01b.na.qualcomm.com (10.46.141.250) To nasanex01b.na.qualcomm.com (10.46.141.250) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-ORIG-GUID: 7Y5PWTUilYKVPv3zF-A7II7wNI44Y3bx X-Proofpoint-GUID: 7Y5PWTUilYKVPv3zF-A7II7wNI44Y3bx X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1039,Hydra:6.0.680,FMLib:17.12.60.29 definitions=2024-09-06_09,2024-09-06_01,2024-09-02_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 mlxscore=0 spamscore=0 mlxlogscore=999 clxscore=1015 suspectscore=0 adultscore=0 priorityscore=1501 phishscore=0 impostorscore=0 bulkscore=0 lowpriorityscore=0 malwarescore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2409260000 definitions=main-2411210039 Content-Type: text/plain; charset="utf-8" The 'broadcast' register space is present only in chipsets that have multiple instances of LLCC IP. Since IPQ5424 has only one instance, both the LLCC and LLCC_BROADCAST points to the same register space. Signed-off-by: Varadarajan Narayanan Reviewed-by: Dmitry Baryshkov Reviewed-by: Konrad Dybcio --- v4: Fix ipq5424-llcc placement according to the sort order v3: Rebase to ToT Remove 'need_llcc_cfg =3D true' v2: Use 'true/false' instead of '1/0' for boolean variables. Add 'no_broadcast_register' to qcom_llcc_config structure to identify SoC without LLCC_BROADCAST register space instead of using 'num_banks'. --- drivers/soc/qcom/llcc-qcom.c | 57 ++++++++++++++++++++++++++++++++++-- 1 file changed, 55 insertions(+), 2 deletions(-) diff --git a/drivers/soc/qcom/llcc-qcom.c b/drivers/soc/qcom/llcc-qcom.c index 32c3bc887cef..2b832b730be7 100644 --- a/drivers/soc/qcom/llcc-qcom.c +++ b/drivers/soc/qcom/llcc-qcom.c @@ -142,6 +142,7 @@ struct qcom_llcc_config { bool skip_llcc_cfg; bool no_edac; bool irq_configured; + bool no_broadcast_register; }; =20 struct qcom_sct_config { @@ -154,6 +155,38 @@ enum llcc_reg_offset { LLCC_COMMON_STATUS0, }; =20 +static const struct llcc_slice_config ipq5424_data[] =3D { + { + .usecase_id =3D LLCC_CPUSS, + .slice_id =3D 1, + .max_cap =3D 768, + .priority =3D 1, + .bonus_ways =3D 0xFFFF, + .retain_on_pc =3D true, + .activate_on_init =3D true, + .write_scid_cacheable_en =3D true, + .stale_en =3D true, + .stale_cap_en =3D true, + .alloc_oneway_en =3D true, + .ovcap_en =3D true, + .ovcap_prio =3D true, + .vict_prio =3D true, + }, + { + .usecase_id =3D LLCC_VIDSC0, + .slice_id =3D 2, + .max_cap =3D 256, + .priority =3D 2, + .fixed_size =3D true, + .bonus_ways =3D 0xF000, + .retain_on_pc =3D true, + .activate_on_init =3D true, + .write_scid_cacheable_en =3D true, + .stale_en =3D true, + .stale_cap_en =3D true, + }, +}; + static const struct llcc_slice_config sa8775p_data[] =3D { { .usecase_id =3D LLCC_CPUSS, @@ -3185,6 +3218,16 @@ static const struct qcom_llcc_config qdu1000_cfg[] = =3D { }, }; =20 +static const struct qcom_llcc_config ipq5424_cfg[] =3D { + { + .sct_data =3D ipq5424_data, + .size =3D ARRAY_SIZE(ipq5424_data), + .reg_offset =3D llcc_v2_1_reg_offset, + .edac_reg_offset =3D &llcc_v2_1_edac_reg_offset, + .no_broadcast_register =3D true, + }, +}; + static const struct qcom_llcc_config sa8775p_cfg[] =3D { { .sct_data =3D sa8775p_data, @@ -3360,6 +3403,11 @@ static const struct qcom_sct_config qdu1000_cfgs =3D= { .num_config =3D ARRAY_SIZE(qdu1000_cfg), }; =20 +static const struct qcom_sct_config ipq5424_cfgs =3D { + .llcc_config =3D ipq5424_cfg, + .num_config =3D ARRAY_SIZE(ipq5424_cfg), +}; + static const struct qcom_sct_config sa8775p_cfgs =3D { .llcc_config =3D sa8775p_cfg, .num_config =3D ARRAY_SIZE(sa8775p_cfg), @@ -3957,8 +4005,12 @@ static int qcom_llcc_probe(struct platform_device *p= dev) =20 drv_data->bcast_regmap =3D qcom_llcc_init_mmio(pdev, i, "llcc_broadcast_b= ase"); if (IS_ERR(drv_data->bcast_regmap)) { - ret =3D PTR_ERR(drv_data->bcast_regmap); - goto err; + if (cfg->no_broadcast_register) { + drv_data->bcast_regmap =3D regmap; + } else { + ret =3D PTR_ERR(drv_data->bcast_regmap); + goto err; + } } =20 /* Extract version of the IP */ @@ -4029,6 +4081,7 @@ static int qcom_llcc_probe(struct platform_device *pd= ev) } =20 static const struct of_device_id qcom_llcc_of_match[] =3D { + { .compatible =3D "qcom,ipq5424-llcc", .data =3D &ipq5424_cfgs}, { .compatible =3D "qcom,qcs615-llcc", .data =3D &qcs615_cfgs}, { .compatible =3D "qcom,qcs8300-llcc", .data =3D &qcs8300_cfgs}, { .compatible =3D "qcom,qdu1000-llcc", .data =3D &qdu1000_cfgs}, --=20 2.34.1 From nobody Tue Dec 3 18:44:54 2024 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 1EA731C9DDC; Thu, 21 Nov 2024 05:20:11 +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=1732166413; cv=none; b=jYRvLi/6alIxzjT4BRR8mon+Nze+ViUh77LQyhgDI8qiqJMPVo1Yhf7hzt2aCLBJLTNdXV+rKnUp0XW0gLdmJRcpQ52+gC3Gqyrb7njTW1aQXKt8oa33ytOQFFuYMU+yvp+TnafUSjKCpKFU32s654qjQobfCO6LqVA2msW04uM= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1732166413; c=relaxed/simple; bh=pm3HocN3GvrmiHeru0cjRN7+Ow4+dMkboMMoX8Fzt98=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=bibZCWoimkeTUA1LSIzLjfxp4jfZIb76CyNjdbKOj0qapqLDVuOVxoi3pUBI51YsBhVhQQVtEu/yxKYVlYhP1IQ01IkfNIF6RvEDzwqgP/KYdnh3d6/SoEE0LHHm43dxuGBSiY3p3jluCAHre5CwBiUSauGKhxfELAxbWa4Y2PQ= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=quicinc.com; spf=pass smtp.mailfrom=quicinc.com; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b=Dqe3oTUa; 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=quicinc.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b="Dqe3oTUa" 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 4AL0qwtN027170; Thu, 21 Nov 2024 05:20:09 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= N+R+67d+Td8YLt+It/qRvVLGiiIIepGNAKAvyA3viL0=; b=Dqe3oTUaMaZKODY4 JJRTytciP5YX/O6Pik5QQya5sYuOfqzDvqmgQAReQcnVvvy9FpnemDInv3LndIJ4 wOeeWOg6gdltZi+4GNm7tMfZ1RfqA8nMV5QcGNEWm/2ND3EUiB/BIF4sNZ+x44/w Jdoy1DbxLOK8+/2gU2Xpm/cXry2apJTYwGYNV8OFk95PAWw0XZ3gZx559ZrWEtg8 CnM+oc489c6FEHd7JvmuID26Uea5vc51ByTnc+SQDcwmfeNKOqgSj32P6In48PTV fRA0zFY3VcaimkTMTBNy+Fhv6xZGD/o+8vQ94iZNoiwJ01UQFUtxlhMWrXskUkuj XmA07w== Received: from nasanppmta04.qualcomm.com (i-global254.qualcomm.com [199.106.103.254]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 431ebyaf0r-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 21 Nov 2024 05:20:09 +0000 (GMT) Received: from nasanex01b.na.qualcomm.com (nasanex01b.na.qualcomm.com [10.46.141.250]) by NASANPPMTA04.qualcomm.com (8.18.1.2/8.18.1.2) with ESMTPS id 4AL5K97u013421 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 21 Nov 2024 05:20:09 GMT Received: from hu-varada-blr.qualcomm.com (10.80.80.8) by nasanex01b.na.qualcomm.com (10.46.141.250) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1544.9; Wed, 20 Nov 2024 21:20:05 -0800 From: Varadarajan Narayanan To: , , , , , , , CC: Varadarajan Narayanan , Konrad Dybcio Subject: [PATCH v4 3/3] arm64: dts: qcom: ipq5424: Add LLCC/system-cache-controller Date: Thu, 21 Nov 2024 10:49:35 +0530 Message-ID: <20241121051935.1055222-4-quic_varada@quicinc.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20241121051935.1055222-1-quic_varada@quicinc.com> References: <20241121051935.1055222-1-quic_varada@quicinc.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-ClientProxiedBy: nasanex01b.na.qualcomm.com (10.46.141.250) To nasanex01b.na.qualcomm.com (10.46.141.250) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-GUID: MMD9_OOwbLS-n31avXOpmP0zxETvmN20 X-Proofpoint-ORIG-GUID: MMD9_OOwbLS-n31avXOpmP0zxETvmN20 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1039,Hydra:6.0.680,FMLib:17.12.60.29 definitions=2024-09-06_09,2024-09-06_01,2024-09-02_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 clxscore=1015 priorityscore=1501 lowpriorityscore=0 malwarescore=0 mlxlogscore=648 spamscore=0 mlxscore=0 phishscore=0 suspectscore=0 bulkscore=0 adultscore=0 impostorscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2409260000 definitions=main-2411210039 Content-Type: text/plain; charset="utf-8" Add a DT node for Last level cache (aka. system cache) controller which provides control over the last level cache present on IPQ5424 SoCs. Reviewed-by: Konrad Dybcio Signed-off-by: Varadarajan Narayanan --- v3: Rebase to ToT v2: Add Reviewed-by --- arch/arm64/boot/dts/qcom/ipq5424.dtsi | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/ipq5424.dtsi b/arch/arm64/boot/dts/qc= om/ipq5424.dtsi index 5e219f900412..bdb73f8c09f9 100644 --- a/arch/arm64/boot/dts/qcom/ipq5424.dtsi +++ b/arch/arm64/boot/dts/qcom/ipq5424.dtsi @@ -145,6 +145,13 @@ soc@0 { #size-cells =3D <2>; ranges =3D <0 0 0 0 0x10 0>; =20 + system-cache-controller@800000 { + compatible =3D "qcom,ipq5424-llcc"; + reg =3D <0 0x00800000 0 0x200000>; + reg-names =3D "llcc0_base"; + interrupts =3D ; + }; + tlmm: pinctrl@1000000 { compatible =3D "qcom,ipq5424-tlmm"; reg =3D <0 0x01000000 0 0x300000>; --=20 2.34.1