From patchwork Tue May 20 07:47:35 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ling Xu X-Patchwork-Id: 892044 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 B54C425E460; Tue, 20 May 2025 07:48:07 +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=1747727289; cv=none; b=SAQ+mMVIOI5WLaz+4w22PhNoBP6EYiVI+uMU8ZPUnEKo2+UW6WuNYC0IpeWgKnxpuAAnyui3lP0VfOe7juxrsFmycjqsXScFllWSBWcTP+7YipIL0SmZM6vRZc+H9zD6O4XH1aTZmGpWgfLV8AwzMxECls4J1Lk7DO9CZyGfaWU= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1747727289; c=relaxed/simple; bh=vkSWXGd19gmNSP9npfbrN5UA72vmjE4fzO6Z1X6c6SE=; h=From:To:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=A4JzQqf1eKmoZ/xc/fnAhq+6DJEuybUC95e2gRb0FVe2gbOZK8ig0cyZknHENV44MGzTT0Qc2wimGVPUzsheZwJ/3y7Hii/MDeKTYrbbuxHVKEMj6FrEyF++3rSeD3NHVLfq13R+1rqmRNQhPR2Fvvvyk3dTyPwcYFP4MTi++gI= 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=QnOsBHQX; 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="QnOsBHQX" 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 54K6Qgpf027166; Tue, 20 May 2025 07:48:04 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h= content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to; s=qcppdkim1; bh= vXtNjMJXQnzIz9vkpl5FMzptlTgSdEEoMQV45P5w1w0=; b=QnOsBHQXxZTqCtiH 2VZ2j1x9kLMeP2xsadkMtB3nMPoQ8Zr6bPwQt3Tmp/nP3DpYJR7jhvaACbO4LPDn kgKjzqI383TOqImHPKx7g2bpBYN18rgQMRiwcfB6OvN2jVZHQs65lvVmSuq+1/Eq hwFD/wHBV2ELJv32vRliNiAGxMsYzNZ1aKiM+IoKOWacZoLyqdR5mvjwOG3665Wz n6T0D1gc75dr9KxwPgpsVMbWgCBNvz+3VNABPHL8uB0BT/4VzEXxNGtTBydR0xFF 4tGT5IQA28MD2nljyEhRnfApn0MhaGiaQU/MlcBgngrOXOiaw/pDdHMLFc+LJ0Bo 4JdO8A== Received: from nasanppmta01.qualcomm.com (i-global254.qualcomm.com [199.106.103.254]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 46pkr9xy17-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 20 May 2025 07:48:04 +0000 (GMT) Received: from nasanex01c.na.qualcomm.com (nasanex01c.na.qualcomm.com [10.45.79.139]) by NASANPPMTA01.qualcomm.com (8.18.1.2/8.18.1.2) with ESMTPS id 54K7m3oH023073 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 20 May 2025 07:48:03 GMT Received: from hu-lxu5-sha.qualcomm.com (10.80.80.8) by nasanex01c.na.qualcomm.com (10.45.79.139) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1544.9; Tue, 20 May 2025 00:48:00 -0700 From: Ling Xu To: , , , , , , , , , , Subject: [PATCH v3 1/3] arm64: dts: qcom: sc7280: Add memory region for audiopd Date: Tue, 20 May 2025 13:17:35 +0530 Message-ID: <20250520074737.1883495-2-quic_lxu5@quicinc.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20250520074737.1883495-1-quic_lxu5@quicinc.com> References: <20250520074737.1883495-1-quic_lxu5@quicinc.com> Precedence: bulk X-Mailing-List: linux-arm-msm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-ClientProxiedBy: nasanex01a.na.qualcomm.com (10.52.223.231) To nasanex01c.na.qualcomm.com (10.45.79.139) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-GUID: JzX-bjFuEh9HzNO0dttLjkDWgPlkM34f X-Proofpoint-ORIG-GUID: JzX-bjFuEh9HzNO0dttLjkDWgPlkM34f X-Authority-Analysis: v=2.4 cv=DdAXqutW c=1 sm=1 tr=0 ts=682c33b4 cx=c_pps a=JYp8KDb2vCoCEuGobkYCKw==:117 a=JYp8KDb2vCoCEuGobkYCKw==:17 a=GEpy-HfZoHoA:10 a=dt9VzEwgFbYA:10 a=COk6AnOGAAAA:8 a=o7O2lQN-kgvADfYeIdcA:9 a=TVi5PsLu-Zlr5RWK:21 a=TjNXssC_j7lpFel5tvFf:22 X-Proofpoint-Spam-Details-Enc: AW1haW4tMjUwNTIwMDA2MiBTYWx0ZWRfX6R3vb+iur9WM XJK5GBmtDCv4xIlde96090S6up6cOLL7WKTo7NRZR97dKUPdNp9ooi1Ws+uGXh8ccGHlZr1ME5i FlRaQZ+9t7iv9taU1Iqu2ENSqgGbj03l9ZIqygtLXgPvE0lqkGXuLmxYV/XFInK7pJXdvF8m1NE 70RC/oEyu3CC02YI4VaQct9+5zmqOHYVMm9aayWh4VnInHlWwOOH899ECSf++nqvdJvyWLXeTYh +LnO1yPUTofBLPN+rjEKb9LyvCAyzmTkN95nCoTncA6rksRVsMZHzCNG3i9NtgYUV8ohm/C+CTW lTljIFPSzGT2Zc+kg1Wx3mka+3qWr0dGeBu09rA1Ipn5UeE7Yb6J6rhGfwe1v6AF4Eh95N4tJot rtvELUCjPjKJCgrG0q33R8TOavU9Z24J5i4oSNE9vEf/PkA6aKLA5o3kg0pgK3F5O5cO4NIm X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1099,Hydra:6.0.736,FMLib:17.12.80.40 definitions=2025-05-20_03,2025-05-16_03,2025-03-28_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 mlxlogscore=528 clxscore=1015 phishscore=0 adultscore=0 mlxscore=0 spamscore=0 malwarescore=0 suspectscore=0 priorityscore=1501 bulkscore=0 impostorscore=0 lowpriorityscore=0 classifier=spam authscore=0 authtc=n/a authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.19.0-2505070000 definitions=main-2505200062 Add reserved memory region and VMIDs for audio PD dynamic loading and remote heap memory requirements. Signed-off-by: Ling Xu --- arch/arm64/boot/dts/qcom/sc7280.dtsi | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sc7280.dtsi b/arch/arm64/boot/dts/qcom/sc7280.dtsi index 8e86d75cc6b4..aae6c54bcdd9 100644 --- a/arch/arm64/boot/dts/qcom/sc7280.dtsi +++ b/arch/arm64/boot/dts/qcom/sc7280.dtsi @@ -188,6 +188,14 @@ rmtfs_mem: rmtfs@9c900000 { qcom,client-id = <1>; qcom,vmid = ; }; + + adsp_rpc_remote_heap_mem: adsp-rpc-remote-heap { + compatible = "shared-dma-pool"; + size = <0x0 0x800000>; + alignment = <0x0 0x100000>; + alloc-ranges = <0x0 0x80000000 0x0 0x40000000>; + no-map; + }; }; cpus { @@ -3863,6 +3871,9 @@ fastrpc { qcom,glink-channels = "fastrpcglink-apps-dsp"; label = "adsp"; qcom,non-secure-domain; + memory-region = <&adsp_rpc_remote_heap_mem>; + qcom,vmids = , + ; #address-cells = <1>; #size-cells = <0>; From patchwork Tue May 20 07:47:36 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ling Xu X-Patchwork-Id: 891361 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 7E2F625E821; Tue, 20 May 2025 07:48:09 +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=1747727292; cv=none; b=prz/M4zFLWSGtG54dPkEJFtJmVdr6d2ayhO8+SdkxlOioNhZyAP2ApAyJW1I1u0DZSy7UeRD5ZskwKp6qdrPuuVnO4RlOYof/tWSoo+QF4YbWcSR/ZPigGX6oHUOU1hE1m5fQJD8lqTRagaxLEwbvFZJDkJ/tQXlDAEf0oDfbjA= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1747727292; c=relaxed/simple; bh=3ade5NNbcbkks/ieGbkZlgPqHXOeSyThNGjaZIOKmOU=; h=From:To:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=Nt9+X1ZgM+d2vmEVasoqzPhNF2KF9Jw/jWJv7oRZ2l8F46n6nZQZURW3VuUUmOLrppNE/2+rH4sA9IGkT4wk9b5+3smZWmIqt/6eUaXs0CS60nX1EMp+nW/X4FdmfPH/Flnj5fFN7VeP6ICdM4xx8slQv7TIeJnaxJ3n1Bb82Bo= 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=oag6NdYh; 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="oag6NdYh" Received: from pps.filterd (m0279863.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 54K4lpIw022850; Tue, 20 May 2025 07:48:06 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h= content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to; s=qcppdkim1; bh= TOnFgP9Ua5wi+hdrYmU6mQfxDUyMa6LWWNeMxXh5vHA=; b=oag6NdYh+ANU7BmX 21B2NJgPQey79ylkxvk+PjDrKkAGEkfuBWL+G0uQmtlJ5XPRuS/qLs4xUYlpQ0cA Epaa4zqYO1gSRVmlglhWEOVzKaT5QYQNmCOH8Lj0k2szD0AlOlQdplJJtzZQUw4S yZ7QgmSCU2NKLJ4KFAVrANl3SeFyebpyUhB36MTsekb9vG9mWHZAZF+VDOnMwJms 0E3XQA7BUmQBwIyz40HH4OGUzMt9WEwnhYT/x7m3sUWnGDkCyXdazOuH5yVUOXrE WDScC5KjP82FVxuYVWuTXAch4X2zfOdLGID0E3ECSr3XJrmE1KnyjrT/jqSZrso3 NUuf8g== Received: from nasanppmta03.qualcomm.com (i-global254.qualcomm.com [199.106.103.254]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 46r041uhwj-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 20 May 2025 07:48:06 +0000 (GMT) Received: from nasanex01c.na.qualcomm.com (nasanex01c.na.qualcomm.com [10.45.79.139]) by NASANPPMTA03.qualcomm.com (8.18.1.2/8.18.1.2) with ESMTPS id 54K7m6NS003566 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 20 May 2025 07:48:06 GMT Received: from hu-lxu5-sha.qualcomm.com (10.80.80.8) by nasanex01c.na.qualcomm.com (10.45.79.139) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1544.9; Tue, 20 May 2025 00:48:03 -0700 From: Ling Xu To: , , , , , , , , , , Subject: [PATCH v3 2/3] arm64: dts: qcom: sc7280: Add nsessions property for adsp Date: Tue, 20 May 2025 13:17:36 +0530 Message-ID: <20250520074737.1883495-3-quic_lxu5@quicinc.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20250520074737.1883495-1-quic_lxu5@quicinc.com> References: <20250520074737.1883495-1-quic_lxu5@quicinc.com> Precedence: bulk X-Mailing-List: linux-arm-msm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-ClientProxiedBy: nasanex01a.na.qualcomm.com (10.52.223.231) To nasanex01c.na.qualcomm.com (10.45.79.139) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-Spam-Details-Enc: AW1haW4tMjUwNTIwMDA2MiBTYWx0ZWRfXz1zNkP+SNEln IHLqK+uc4DheSKU/3YcjuDg2+RZz7Q6YZzAip88oqDN+9UNiTR0jkTU9ZQoaRGlDPLJJi6/vGh3 UDcLDjNmQ9ck4q32XbNIspTwK5rc96OEJ3vNv0UEhCA7rLsmT16V5Z8LtetaSdAOAKtwKhDsNt+ TiG8s4jK+vD+MSjXJKiyzaQ3/l93pYo1k40edf5Sw1m4z+qGXlq5rV4DSX2DmtmOshhlSy4XRjQ kyoGbNfCRWrVQG+4LhYFobkJcxqRSDPAHyzemoSue9ZBGgtERqRz86rckAS+TUE9JjFalc1EfKh ygyRICPfR5V2N/u4gQ7Kw+eY7eUatcpKlnNi9m1zyxvKRy9CiEwXHJ8gkDwu4CgXnsTNz8o0J7p ev/VsKbeLmXixQ8hIESgDZN8mLU7Uj+RoPymwbIq1aaFIN3HJVvHikfQ67gmlUjVcbmErl98 X-Proofpoint-ORIG-GUID: ild9Eq3gVbr1Ha3XfvI55N6kEKl2MAFN X-Proofpoint-GUID: ild9Eq3gVbr1Ha3XfvI55N6kEKl2MAFN X-Authority-Analysis: v=2.4 cv=HIjDFptv c=1 sm=1 tr=0 ts=682c33b6 cx=c_pps a=JYp8KDb2vCoCEuGobkYCKw==:117 a=JYp8KDb2vCoCEuGobkYCKw==:17 a=GEpy-HfZoHoA:10 a=dt9VzEwgFbYA:10 a=COk6AnOGAAAA:8 a=xzk0jXLcH6ia1Ng78ZoA:9 a=kph8uwvA8Js1ya5A:21 a=TjNXssC_j7lpFel5tvFf:22 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1099,Hydra:6.0.736,FMLib:17.12.80.40 definitions=2025-05-20_03,2025-05-16_03,2025-03-28_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 phishscore=0 lowpriorityscore=0 adultscore=0 mlxscore=0 clxscore=1015 bulkscore=0 suspectscore=0 spamscore=0 priorityscore=1501 malwarescore=0 impostorscore=0 mlxlogscore=761 classifier=spam authscore=0 authtc=n/a authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.19.0-2505070000 definitions=main-2505200062 Add nsessions property for adsp context bank to make sessions available for ADSP offload. Signed-off-by: Ling Xu --- arch/arm64/boot/dts/qcom/sc7280.dtsi | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/boot/dts/qcom/sc7280.dtsi b/arch/arm64/boot/dts/qcom/sc7280.dtsi index aae6c54bcdd9..17f244929714 100644 --- a/arch/arm64/boot/dts/qcom/sc7280.dtsi +++ b/arch/arm64/boot/dts/qcom/sc7280.dtsi @@ -3893,6 +3893,7 @@ compute-cb@5 { compatible = "qcom,fastrpc-compute-cb"; reg = <5>; iommus = <&apps_smmu 0x1805 0x0>; + qcom,nsessions = <5>; }; }; }; From patchwork Tue May 20 07:47:37 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ling Xu X-Patchwork-Id: 892043 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 412F425EFB7; Tue, 20 May 2025 07:48:14 +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=1747727297; cv=none; b=vGvhFi5aBXMXLVJF8tJQIte1/gf5E8EMBCBBigDwN51rWtmiR2Ko7wmzp9Je7EE61JpkzjW2nYtIw62J9CvjJm3bPveSXS7sA9kYoaW414L+H2hy5OqG91QZJqHahvgU5pZMTwM283vG0lec9y2XI/R3a8nuWN+ImrrKP2Ti6lM= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1747727297; c=relaxed/simple; bh=OUTs4UADqQog7yriv18lJK/gwiu58uHL6MEtwAQVepU=; h=From:To:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=YJN1MOyDGHksVA/zRvDd8CqP9vO7j+BBrLkwcBRBvmDPopol9tltdy2cNqzlAJq3rBEvzMsGnZUMS84Wm9ZLEPAnstNUadiMGn1irDKEQINKm8LaCNMexw2YSmWyXkNNFStzxM+YuFo5DdFJmLagedafu4EHMBeMwdU8WNwnStI= 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=igmKoFxg; 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="igmKoFxg" Received: from pps.filterd (m0279869.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 54JKI2b7007364; Tue, 20 May 2025 07:48:11 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h= content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to; s=qcppdkim1; bh= qHuF/bRr4hQqT+ZDEWtnp+Y8cwXryNjBPziNOvSElaQ=; b=igmKoFxgtFYS+kjs EcF/MU11I0q5SHYf9kJc8qGHuI6N1AHd7g/WrhX2CP5Szr0uleVyXTOmxDqagsa+ V22Y2GdzkXwslvbmVoqlgAOJT2rnPok/aHDJpX0W7xJsAKQjI47xATfihJZlo7XH p7VINUKW0+lDLRpvl60mkx6wo4GNTFc2cNSS4ZI24zJnehS4P88Enhj61WNCy8Ph B3V1zOBeAzbC+SGPHBrGQ8fqlNvCQkryk13bcY3s84mPx/6bUXE6AaeU4nCrhXZQ jdxTBKPsPLgUta4mv7HHWQnxR/9qBFtabxsA0Xh/bXgdUeeFDv6mEjxsIzPMoqxq 49DngQ== Received: from nasanppmta05.qualcomm.com (i-global254.qualcomm.com [199.106.103.254]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 46pjm4pued-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 20 May 2025 07:48:10 +0000 (GMT) Received: from nasanex01c.na.qualcomm.com (nasanex01c.na.qualcomm.com [10.45.79.139]) by NASANPPMTA05.qualcomm.com (8.18.1.2/8.18.1.2) with ESMTPS id 54K7m9Un028035 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 20 May 2025 07:48:09 GMT Received: from hu-lxu5-sha.qualcomm.com (10.80.80.8) by nasanex01c.na.qualcomm.com (10.45.79.139) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1544.9; Tue, 20 May 2025 00:48:06 -0700 From: Ling Xu To: , , , , , , , , , , Subject: [PATCH v3 3/3] arm64: dts: qcom: sc7280: Add dma-coherent property for fastrpc nodes Date: Tue, 20 May 2025 13:17:37 +0530 Message-ID: <20250520074737.1883495-4-quic_lxu5@quicinc.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20250520074737.1883495-1-quic_lxu5@quicinc.com> References: <20250520074737.1883495-1-quic_lxu5@quicinc.com> Precedence: bulk X-Mailing-List: linux-arm-msm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-ClientProxiedBy: nasanex01a.na.qualcomm.com (10.52.223.231) To nasanex01c.na.qualcomm.com (10.45.79.139) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-ORIG-GUID: iCF1vlrzkN4lm6_dUR3NgdZQmkSmbIGD X-Authority-Analysis: v=2.4 cv=C4bpyRP+ c=1 sm=1 tr=0 ts=682c33ba cx=c_pps a=JYp8KDb2vCoCEuGobkYCKw==:117 a=JYp8KDb2vCoCEuGobkYCKw==:17 a=GEpy-HfZoHoA:10 a=dt9VzEwgFbYA:10 a=COk6AnOGAAAA:8 a=YsOEayTiMQgu7miS1LcA:9 a=TjNXssC_j7lpFel5tvFf:22 X-Proofpoint-GUID: iCF1vlrzkN4lm6_dUR3NgdZQmkSmbIGD X-Proofpoint-Spam-Details-Enc: AW1haW4tMjUwNTIwMDA2MiBTYWx0ZWRfXz0gjeMWK0BKb MSLoRjuWZ9MfK7RG8ycl2KwkFHP+k/2mEA3SlNgYJFU7fXXs+njroPFnZNgeNbP40viuIujjook BEE8cowQPy4O3rpVWV8EVvegzhV8JugyKHDvYe+VGLS1UIFCAweywzgnPjdWiYcf8Y6npG5/p3o VAhqb2Rcat7fvN4St7QrKKfeNdiV/RClhDcOOQ3Qj4EWFbGoJt6XoRllQ6F6Qc+rftIE9ZuAC21 /jsa+j+G5Svpnf2shwJxU94BZLwtXG6IMMVLectEo3L9t7lXFJP4JnmHdiIFnUZ4e1QIx1RzBG5 UgLLODeg7HNdHfb8qWJ2goE/Ng/64bR3HS3yKvS/uwAMsP/lda5wCosA3FlYQvmnKVTf46+EfG6 kXv1NsBIZ+uIrrsgfJveXQjEfEMAKyRCoOUqHylGUkHHKzhSN6W4jYFBryrtvKN7aMW/btqg X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1099,Hydra:6.0.736,FMLib:17.12.80.40 definitions=2025-05-20_03,2025-05-16_03,2025-03-28_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 malwarescore=0 suspectscore=0 impostorscore=0 adultscore=0 mlxlogscore=734 spamscore=0 lowpriorityscore=0 phishscore=0 mlxscore=0 bulkscore=0 clxscore=1015 classifier=spam authscore=0 authtc=n/a authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.19.0-2505070000 definitions=main-2505200062 Add dma-cherent property to fastrpc context bank nodes to ensure that the DMA operations for these nodes are coherent. Signed-off-by: Ling Xu --- arch/arm64/boot/dts/qcom/sc7280.dtsi | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sc7280.dtsi b/arch/arm64/boot/dts/qcom/sc7280.dtsi index 17f244929714..333e4aa64d10 100644 --- a/arch/arm64/boot/dts/qcom/sc7280.dtsi +++ b/arch/arm64/boot/dts/qcom/sc7280.dtsi @@ -3881,12 +3881,14 @@ compute-cb@3 { compatible = "qcom,fastrpc-compute-cb"; reg = <3>; iommus = <&apps_smmu 0x1803 0x0>; + dma-coherent; }; compute-cb@4 { compatible = "qcom,fastrpc-compute-cb"; reg = <4>; iommus = <&apps_smmu 0x1804 0x0>; + dma-coherent; }; compute-cb@5 { @@ -3894,6 +3896,7 @@ compute-cb@5 { reg = <5>; iommus = <&apps_smmu 0x1805 0x0>; qcom,nsessions = <5>; + dma-coherent; }; }; }; @@ -4121,6 +4124,7 @@ compute-cb@1 { reg = <1>; iommus = <&apps_smmu 0x11a1 0x0420>, <&apps_smmu 0x1181 0x0420>; + dma-coherent; }; compute-cb@2 { @@ -4128,6 +4132,7 @@ compute-cb@2 { reg = <2>; iommus = <&apps_smmu 0x11a2 0x0420>, <&apps_smmu 0x1182 0x0420>; + dma-coherent; }; compute-cb@3 { @@ -4135,6 +4140,7 @@ compute-cb@3 { reg = <3>; iommus = <&apps_smmu 0x11a3 0x0420>, <&apps_smmu 0x1183 0x0420>; + dma-coherent; }; compute-cb@4 { @@ -4142,6 +4148,7 @@ compute-cb@4 { reg = <4>; iommus = <&apps_smmu 0x11a4 0x0420>, <&apps_smmu 0x1184 0x0420>; + dma-coherent; }; compute-cb@5 { @@ -4149,6 +4156,7 @@ compute-cb@5 { reg = <5>; iommus = <&apps_smmu 0x11a5 0x0420>, <&apps_smmu 0x1185 0x0420>; + dma-coherent; }; compute-cb@6 { @@ -4156,6 +4164,7 @@ compute-cb@6 { reg = <6>; iommus = <&apps_smmu 0x11a6 0x0420>, <&apps_smmu 0x1186 0x0420>; + dma-coherent; }; compute-cb@7 { @@ -4163,6 +4172,7 @@ compute-cb@7 { reg = <7>; iommus = <&apps_smmu 0x11a7 0x0420>, <&apps_smmu 0x1187 0x0420>; + dma-coherent; }; compute-cb@8 { @@ -4170,6 +4180,7 @@ compute-cb@8 { reg = <8>; iommus = <&apps_smmu 0x11a8 0x0420>, <&apps_smmu 0x1188 0x0420>; + dma-coherent; }; /* note: secure cb9 in downstream */ @@ -4179,6 +4190,7 @@ compute-cb@11 { reg = <11>; iommus = <&apps_smmu 0x11ab 0x0420>, <&apps_smmu 0x118b 0x0420>; + dma-coherent; }; compute-cb@12 { @@ -4186,6 +4198,7 @@ compute-cb@12 { reg = <12>; iommus = <&apps_smmu 0x11ac 0x0420>, <&apps_smmu 0x118c 0x0420>; + dma-coherent; }; compute-cb@13 { @@ -4193,6 +4206,7 @@ compute-cb@13 { reg = <13>; iommus = <&apps_smmu 0x11ad 0x0420>, <&apps_smmu 0x118d 0x0420>; + dma-coherent; }; compute-cb@14 { @@ -4200,6 +4214,7 @@ compute-cb@14 { reg = <14>; iommus = <&apps_smmu 0x11ae 0x0420>, <&apps_smmu 0x118e 0x0420>; + dma-coherent; }; }; };