From patchwork Thu Oct 31 07:14:36 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jingyi Wang X-Patchwork-Id: 13857633 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 B3E0F146D68; Thu, 31 Oct 2024 07:15: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=1730358912; cv=none; b=onkCSOlbO4VaQ6RixnG4VraI7NhcOzkz5fqD8/jN9C5prKuw+a8UJR/5jruG8bGJzaRVzpYqDdVhQnGD+CZKAy3WCVWIYO7vPyfY0Aw+lcWqovdu6FbwZbzzib1ylKfOkCIRVByVo9YdUpR3/+5duhhtSp3OyCw3yqWczFuCy1U= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1730358912; c=relaxed/simple; bh=ipkMi+pjI98bdfDw6CnT0LlQQkmi0gPNjf7TGrglbRg=; h=From:Date:Subject:MIME-Version:Content-Type:Message-ID:References: In-Reply-To:To:CC; b=SXRFl6GnB38SEstEnQSuw4U8u00NDHBNLhrHOjP7DoEc9tZK3PXwyVJERYp4tktbysUKMDPnB5VRv3apQShcePmO8M6Hl0bxTNqcHH3AWvp2NJjHXGGEDynjBpmPVnIvNKaqM8arN8pmtMla7KFckUVp+/eOocBg/kEug4k1tuM= 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=Pek9q0fB; 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="Pek9q0fB" Received: from pps.filterd (m0279872.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 49UJfDiK004847; Thu, 31 Oct 2024 07:15: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= +4XBAn7eZdQIylI5Ze2P/GsV2IOHESvKWrYkziUkYR4=; b=Pek9q0fBB5vgU5vW c8AYVTo/T7244IZ7CyNt0jdtaYIhlTmWicBltix950vOCbqAyAZHk4f9aLVPBMpz IutgZkTa1Jing8xPsEHrkzPrWRAanJXgUQnqFL21bNaxd9reElBEWE+YSG0es5rb T5FottOCVSYoyAs3fPcdW9+EQxa+imONUxp3ak0r6zOrVSiSfO5Idr2jv7XuZHb/ jjAVmPrnLQE08ooH5AsLQSa4WvotvbrvjlyN9tdHq/FpLm07hSpSPHCKpzDDYnFM Zr+jjoyea5+VdwrQacK3yjxpnLrXyRreECXNavUNEIDnqUp3bBpPXFYXN5eTdlIs Kv/i/g== Received: from nalasppmta05.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 42ku659fqa-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 31 Oct 2024 07:15:06 +0000 (GMT) Received: from nalasex01b.na.qualcomm.com (nalasex01b.na.qualcomm.com [10.47.209.197]) by NALASPPMTA05.qualcomm.com (8.18.1.2/8.18.1.2) with ESMTPS id 49V7F5qT026228 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 31 Oct 2024 07:15:05 GMT Received: from jingyw-gv.qualcomm.com (10.80.80.8) by nalasex01b.na.qualcomm.com (10.47.209.197) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1544.9; Thu, 31 Oct 2024 00:15:01 -0700 From: Jingyi Wang Date: Thu, 31 Oct 2024 15:14:36 +0800 Subject: [PATCH v3 1/3] dt-bindings: cache: qcom,llcc: Document the QCS8300 LLCC Precedence: bulk X-Mailing-List: linux-arm-msm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-ID: <20241031-qcs8300_llcc-v3-1-bb56952cb83b@quicinc.com> References: <20241031-qcs8300_llcc-v3-0-bb56952cb83b@quicinc.com> In-Reply-To: <20241031-qcs8300_llcc-v3-0-bb56952cb83b@quicinc.com> To: Bjorn Andersson , Konrad Dybcio , Conor Dooley , Rob Herring , Krzysztof Kozlowski , Conor Dooley CC: , , , , , , Jingyi Wang , <20240925-qcs8300_initial_dtsi-v2-0-494c40fa2a42@quicinc.com>, <20241026-sar2130p-llcc-v3-0-2a58fa1b4d12@linaro.org>, Krzysztof Kozlowski X-Mailer: b4 0.15-dev-99b12 X-Developer-Signature: v=1; a=ed25519-sha256; t=1730358896; l=1019; i=quic_jingyw@quicinc.com; s=20240910; h=from:subject:message-id; bh=ipkMi+pjI98bdfDw6CnT0LlQQkmi0gPNjf7TGrglbRg=; b=Cqts6e3UdrY3WjeLV5YaQHvGkipA+gXi8++GtH3wILPExXPTViyR/yBpiEjRjy2P52aP3C7dC yy+RQte4QftBMWCJMFg8xDjT9N7hnyDLwtR/IzhoGodtMd0hsaux+HI X-Developer-Key: i=quic_jingyw@quicinc.com; a=ed25519; pk=ZRP1KgWMhlXXWlSYLoO7TSfwKgt6ke8hw5xWcSY+wLQ= X-ClientProxiedBy: nasanex01b.na.qualcomm.com (10.46.141.250) To nalasex01b.na.qualcomm.com (10.47.209.197) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-GUID: eS86PdgZoGX62xKgoBx6dpqrktKQpZpZ X-Proofpoint-ORIG-GUID: eS86PdgZoGX62xKgoBx6dpqrktKQpZpZ 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 mlxlogscore=863 suspectscore=0 bulkscore=0 lowpriorityscore=0 mlxscore=0 priorityscore=1501 impostorscore=0 phishscore=0 clxscore=1015 malwarescore=0 spamscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2409260000 definitions=main-2410310052 Document the Last Level Cache Controller on QCS8300 platform. Reviewed-by: Krzysztof Kozlowski Signed-off-by: Jingyi Wang --- Documentation/devicetree/bindings/cache/qcom,llcc.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/devicetree/bindings/cache/qcom,llcc.yaml b/Documentation/devicetree/bindings/cache/qcom,llcc.yaml index 2edacf28944c..869bce968fc3 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,qcs8300-llcc - qcom,qdu1000-llcc - qcom,sa8775p-llcc - qcom,sar1130p-llcc @@ -193,6 +194,7 @@ allOf: compatible: contains: enum: + - qcom,qcs8300-llcc - qcom,sdm845-llcc - qcom,sm8150-llcc - qcom,sm8250-llcc From patchwork Thu Oct 31 07:14:37 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jingyi Wang X-Patchwork-Id: 13857634 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 D0FFD14AD1A; Thu, 31 Oct 2024 07:15:13 +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=1730358915; cv=none; b=chZINbI3bwkk9fPKatHoZ9dPKw2c7XtIx+Ijwtbz47CSUGQAyDY2DTrlXEpJYbIlWnxECXkJpPY6C1X9AyxS6lBg1dT9JbHo0upsE50W0mDdYsdev2YzX6N4XcoIoFRjcldEv8f76p4cw9sbMI3dNmDIS/Bu228Ls+Uklk9bhW8= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1730358915; c=relaxed/simple; bh=7e3MPp7XeIJLoQg0GT1afhoS0KwRJWUvKwV7ZAVH5yo=; h=From:Date:Subject:MIME-Version:Content-Type:Message-ID:References: In-Reply-To:To:CC; b=IZ/ek+1SZ1h3o/p/j/K7rAcrcW8FSfNFoiiFjzj0M2B+E0sqyPH9ClDuogZij9oxFLAos5Dal6ijSLwgM2YGR5Ky+Aghm85AZHwsheB5p7dnfD0L8av9wXnMX5nAR2edFpuqq2XxZ6wPO4Kuu9LzrDPofKRX0rRW085BbN3mwvA= 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=EoBo47i8; 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="EoBo47i8" Received: from pps.filterd (m0279871.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 49V0GhuU013849; Thu, 31 Oct 2024 07:15:10 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= R/3k+ra19OlDltNaiN60nQGvjuxqjQCHMVy825COCAc=; b=EoBo47i8NMoZ1frP umIBVatp/QC/WSDf0Xj0sziUzSh0eD17QaepX9UDflQ3tbzBsMgT9O1Jkr/bTgra zz8RmxTN50jdXdigP0q8H4DYeKGJLmjMcvYipigurE8L63WG0/5jwOyB7rXYY1gB +hq1/9w90UXpqvl5Q7DF2vh+IMWEx1GanwX/dBWnJnWBNmlZXQstRTJXU9rwNQ93 WNy5kNKy+W9vlAoPs6LY2DGwtdy4qaMGq2Y/v+PxmhsFsq7ieeeXnRmAokSOpS5D kLBx0Vn7l6thrF5PDUtz7MpvL5VbSLlQaSEdWzF/JDl30DIgn1/StBk0dypCKhwN ht4FlQ== Received: from nalasppmta02.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 42ky6r8w7t-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 31 Oct 2024 07:15:10 +0000 (GMT) Received: from nalasex01b.na.qualcomm.com (nalasex01b.na.qualcomm.com [10.47.209.197]) by NALASPPMTA02.qualcomm.com (8.18.1.2/8.18.1.2) with ESMTPS id 49V7F9KQ019456 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 31 Oct 2024 07:15:09 GMT Received: from jingyw-gv.qualcomm.com (10.80.80.8) by nalasex01b.na.qualcomm.com (10.47.209.197) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1544.9; Thu, 31 Oct 2024 00:15:05 -0700 From: Jingyi Wang Date: Thu, 31 Oct 2024 15:14:37 +0800 Subject: [PATCH v3 2/3] soc: qcom: llcc: Add LLCC configuration for the QCS8300 platform Precedence: bulk X-Mailing-List: linux-arm-msm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-ID: <20241031-qcs8300_llcc-v3-2-bb56952cb83b@quicinc.com> References: <20241031-qcs8300_llcc-v3-0-bb56952cb83b@quicinc.com> In-Reply-To: <20241031-qcs8300_llcc-v3-0-bb56952cb83b@quicinc.com> To: Bjorn Andersson , Konrad Dybcio , Conor Dooley , Rob Herring , Krzysztof Kozlowski , Conor Dooley CC: , , , , , , Jingyi Wang , <20240925-qcs8300_initial_dtsi-v2-0-494c40fa2a42@quicinc.com>, <20241026-sar2130p-llcc-v3-0-2a58fa1b4d12@linaro.org> X-Mailer: b4 0.15-dev-99b12 X-Developer-Signature: v=1; a=ed25519-sha256; t=1730358896; l=3064; i=quic_jingyw@quicinc.com; s=20240910; h=from:subject:message-id; bh=7e3MPp7XeIJLoQg0GT1afhoS0KwRJWUvKwV7ZAVH5yo=; b=z9/J2uI03XmkbbOqoXXQSeuitIAJFBVQbwxL0NrJmJs1rHFCuHt2OV/2FH1pT65AYnN9tuBfN ztSb2BSgdO3ARHNrbJn7d4tDmOmBSdSH6/K2tI/y5xBElfQq+ewzGQv X-Developer-Key: i=quic_jingyw@quicinc.com; a=ed25519; pk=ZRP1KgWMhlXXWlSYLoO7TSfwKgt6ke8hw5xWcSY+wLQ= X-ClientProxiedBy: nasanex01b.na.qualcomm.com (10.46.141.250) To nalasex01b.na.qualcomm.com (10.47.209.197) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-GUID: HBUqpqRfjMBvrM8r8ezj0Rp6pXVGmTrG X-Proofpoint-ORIG-GUID: HBUqpqRfjMBvrM8r8ezj0Rp6pXVGmTrG 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 malwarescore=0 spamscore=0 clxscore=1015 phishscore=0 mlxscore=0 impostorscore=0 bulkscore=0 priorityscore=1501 mlxlogscore=965 lowpriorityscore=0 adultscore=0 suspectscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2409260000 definitions=main-2410310052 Add LLCC configuration for the QCS8300 platform. There is an errata on LB_CNT information on QCS8300 platform, hardcode num_banks to get the correct value. Signed-off-by: Jingyi Wang Reviewed-by: Konrad Dybcio --- drivers/soc/qcom/llcc-qcom.c | 67 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 67 insertions(+) diff --git a/drivers/soc/qcom/llcc-qcom.c b/drivers/soc/qcom/llcc-qcom.c index 783545b22aaa..61b91939aae4 100644 --- a/drivers/soc/qcom/llcc-qcom.c +++ b/drivers/soc/qcom/llcc-qcom.c @@ -2629,6 +2629,56 @@ static const struct llcc_slice_config sm8650_data[] = { }, }; +static const struct llcc_slice_config qcs8300_data[] = { + { + .usecase_id = LLCC_GPUHTW, + .slice_id = 11, + .max_cap = 128, + .priority = 1, + .fixed_size = true, + .bonus_ways = 0xf, + .cache_mode = 0, + .retain_on_pc = true, + }, { + .usecase_id = LLCC_GPU, + .slice_id = 12, + .max_cap = 512, + .priority = 1, + .fixed_size = true, + .bonus_ways = 0xf, + .cache_mode = 0, + .retain_on_pc = true, + .write_scid_en = true, + }, { + .usecase_id = LLCC_MMUHWT, + .slice_id = 13, + .max_cap = 128, + .priority = 1, + .fixed_size = true, + .bonus_ways = 0xf, + .cache_mode = 0, + .activate_on_init = true, + }, { + .usecase_id = LLCC_ECC, + .slice_id = 26, + .max_cap = 256, + .priority = 3, + .fixed_size = true, + .bonus_ways = 0xf, + .cache_mode = 0, + .activate_on_init = true, + }, { + .usecase_id = LLCC_WRCACHE, + .slice_id = 31, + .max_cap = 128, + .priority = 1, + .fixed_size = true, + .bonus_ways = 0xf, + .cache_mode = 0, + .activate_on_init = true, + }, +}; + static const struct llcc_slice_config qdu1000_data_2ch[] = { { .usecase_id = LLCC_MDMHPGRW, @@ -3050,6 +3100,17 @@ static const u32 llcc_v2_1_reg_offset[] = { [LLCC_COMMON_STATUS0] = 0x0003400c, }; +static const struct qcom_llcc_config qcs8300_cfg[] = { + { + .sct_data = qcs8300_data, + .size = ARRAY_SIZE(qcs8300_data), + .need_llcc_cfg = true, + .reg_offset = llcc_v2_1_reg_offset, + .edac_reg_offset = &llcc_v2_1_edac_reg_offset, + .num_banks = 4, + }, +}; + static const struct qcom_llcc_config qdu1000_cfg[] = { { .sct_data = qdu1000_data_8ch, @@ -3257,6 +3318,11 @@ static const struct qcom_llcc_config x1e80100_cfg[] = { }, }; +static const struct qcom_sct_config qcs8300_cfgs = { + .llcc_config = qcs8300_cfg, + .num_config = ARRAY_SIZE(qcs8300_cfg), +}; + static const struct qcom_sct_config qdu1000_cfgs = { .llcc_config = qdu1000_cfg, .num_config = ARRAY_SIZE(qdu1000_cfg), @@ -3930,6 +3996,7 @@ static int qcom_llcc_probe(struct platform_device *pdev) } static const struct of_device_id qcom_llcc_of_match[] = { + { .compatible = "qcom,qcs8300-llcc", .data = &qcs8300_cfgs}, { .compatible = "qcom,qdu1000-llcc", .data = &qdu1000_cfgs}, { .compatible = "qcom,sa8775p-llcc", .data = &sa8775p_cfgs }, { .compatible = "qcom,sar1130p-llcc", .data = &sar1130p_cfgs }, From patchwork Thu Oct 31 07:14:38 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jingyi Wang X-Patchwork-Id: 13857635 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 4AA9E14F9CF; Thu, 31 Oct 2024 07:15:17 +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=1730358919; cv=none; b=a6fk0OwtJ7Ai5AXPkHDEXdWWn9CuCnCilNn0TkQYNNLnATnKX270TAYGrjJjhAJEmO4LORxooV30zJTkBrbnx/oBLNAK1qprfWYbKnikeoZ5EawrQgZi7FjLFyQtz6tObS5IUAVS7lbGRAvnYIUCzCiJly52bCu70NCg4VKAKaY= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1730358919; c=relaxed/simple; bh=KKADGg4fhP70Q8Sv9Ts9TzJFOLVMeaGzC3aBONqd458=; h=From:Date:Subject:MIME-Version:Content-Type:Message-ID:References: In-Reply-To:To:CC; b=Nj47NJAb3wBVEu4Wk7zRDRQHEVwCcm/QraTVIlgnZ59EAFlD5OY+Ut399BK9TJ5PBgMLa4HJqhf6aO0ZwwB7qOleesy7Gx87xKCF5RnLrrPt5FSV10wNhSE+7DQSf8zp4yrtKTvCk1ipcI1pl2+/YWHBSzAI0f466DGWg5GiFNg= 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=RKvZX0fD; 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="RKvZX0fD" Received: from pps.filterd (m0279866.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 49V49mG9002953; Thu, 31 Oct 2024 07:15:14 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= PLXiN84XlWpoiOzk9GoclO/n8YC+gWC3SFMTyLbC9BE=; b=RKvZX0fDDvWADTBX nZYbcsd2TWBCP8R5IxqyaaR6ZeCEa0TZBgRQw9DrsW21HUJKFnEvHODsxR1k9F2Z Hpt0eV2Ii9saV0iAAritHPB4V2pLAWZ6YhntmKG0v9Q687TIw/Som3UK6rUEIHuw n1B8RDEbP6nPkQ1tnZYUS/gxxm2F0Wqmi+TkTXIM46UPTct/wH3p4bWaAGxwQbi+ 6lcBjUb6V+/cWqIZAd8Nb/IRGEVaX3o+3M0JXcURDisElKeqzQgez6XnF4l491uo DJ/QejEmyNG/KZchCUlQ2k5h+yZJMqdSuiYc0C+5d/T5BWmyEpLW2+nlwVMaeAUt N2o9rw== Received: from nalasppmta01.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 42kns3jg5d-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 31 Oct 2024 07:15:13 +0000 (GMT) Received: from nalasex01b.na.qualcomm.com (nalasex01b.na.qualcomm.com [10.47.209.197]) by NALASPPMTA01.qualcomm.com (8.18.1.2/8.18.1.2) with ESMTPS id 49V7FDMH014210 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 31 Oct 2024 07:15:13 GMT Received: from jingyw-gv.qualcomm.com (10.80.80.8) by nalasex01b.na.qualcomm.com (10.47.209.197) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1544.9; Thu, 31 Oct 2024 00:15:09 -0700 From: Jingyi Wang Date: Thu, 31 Oct 2024 15:14:38 +0800 Subject: [PATCH v3 3/3] arm64: dts: qcom: qcs8300: Add LLCC support for QCS8300 Precedence: bulk X-Mailing-List: linux-arm-msm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-ID: <20241031-qcs8300_llcc-v3-3-bb56952cb83b@quicinc.com> References: <20241031-qcs8300_llcc-v3-0-bb56952cb83b@quicinc.com> In-Reply-To: <20241031-qcs8300_llcc-v3-0-bb56952cb83b@quicinc.com> To: Bjorn Andersson , Konrad Dybcio , Conor Dooley , Rob Herring , Krzysztof Kozlowski , Conor Dooley CC: , , , , , , Jingyi Wang , <20240925-qcs8300_initial_dtsi-v2-0-494c40fa2a42@quicinc.com>, <20241026-sar2130p-llcc-v3-0-2a58fa1b4d12@linaro.org>, Konrad Dybcio X-Mailer: b4 0.15-dev-99b12 X-Developer-Signature: v=1; a=ed25519-sha256; t=1730358896; l=1244; i=quic_jingyw@quicinc.com; s=20240910; h=from:subject:message-id; bh=KKADGg4fhP70Q8Sv9Ts9TzJFOLVMeaGzC3aBONqd458=; b=Ouyzq45V+bVjK2ZWupWQqwwqS+CDQt5iC/rTKyEK3RFt4/4KXwryW2oZdmLfPn5Wmd7PiHnao C+qSe+fwPB9BmWQoEvBSyJpKP+BsDWrSukTfGT5NKZybBeoemx6QaHo X-Developer-Key: i=quic_jingyw@quicinc.com; a=ed25519; pk=ZRP1KgWMhlXXWlSYLoO7TSfwKgt6ke8hw5xWcSY+wLQ= X-ClientProxiedBy: nasanex01b.na.qualcomm.com (10.46.141.250) To nalasex01b.na.qualcomm.com (10.47.209.197) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-GUID: 4RrFyLbE1eoYJqUOKuMhE7QjfrhbaqkT X-Proofpoint-ORIG-GUID: 4RrFyLbE1eoYJqUOKuMhE7QjfrhbaqkT 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 suspectscore=0 adultscore=0 spamscore=0 phishscore=0 mlxlogscore=611 malwarescore=0 bulkscore=0 clxscore=1015 lowpriorityscore=0 impostorscore=0 priorityscore=1501 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2409260000 definitions=main-2410310052 Add Last Level Cache Controller node on the QCS8300 platform. Reviewed-by: Konrad Dybcio Signed-off-by: Jingyi Wang --- arch/arm64/boot/dts/qcom/qcs8300.dtsi | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/qcs8300.dtsi b/arch/arm64/boot/dts/qcom/qcs8300.dtsi index 2c35f96c3f28..811c926c94f4 100644 --- a/arch/arm64/boot/dts/qcom/qcs8300.dtsi +++ b/arch/arm64/boot/dts/qcom/qcs8300.dtsi @@ -882,6 +882,21 @@ gem_noc: interconnect@9100000 { qcom,bcm-voters = <&apps_bcm_voter>; }; + llcc: system-cache-controller@9200000 { + compatible = "qcom,qcs8300-llcc"; + reg = <0x0 0x09200000 0x0 0x80000>, + <0x0 0x09300000 0x0 0x80000>, + <0x0 0x09400000 0x0 0x80000>, + <0x0 0x09500000 0x0 0x80000>, + <0x0 0x09a00000 0x0 0x80000>; + reg-names = "llcc0_base", + "llcc1_base", + "llcc2_base", + "llcc3_base", + "llcc_broadcast_base"; + interrupts = ; + }; + pdc: interrupt-controller@b220000 { compatible = "qcom,qcs8300-pdc", "qcom,pdc"; reg = <0x0 0xb220000 0x0 0x30000>,