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 D16A54F68A4 for ; Wed, 23 Sep 2026 16:22:51 +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=1790180573; cv=none; b=l4aOj2lK7Fg55xOpb0u0FDJMYulvarRSIZ7TfsoPWZRKMbgS7nnjkZT8ZL3/jPjHRFQDA3mAq9OrPbr2p8zj8DcblDnu4+0Is1zqGmeD12/g+EqKLpM+Wa0HldObFVUFAXhGpcBdx1FpYbJHFP25RGibs9rX6x7C1w0GHpmVaSw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1790180573; c=relaxed/simple; bh=+Fr2pb3MlceLafCJN3oInlXw5sC9AmlPwt+XBu/LWmY=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=G6vdCtFgskEBxRazplgtccxAGxtylX0R9H3EjryJqu7LZb40uFRbVVkEbC+noCbV1h0nmcMQK3VpGIarNIgN3kgFYxNO5EcywuBL5mdoL2aA3279p83eRBHhL3OasVdOc+ridCIyTAr486ukT2WDYpvNFuwyQfzF5If2K3srb1k= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=oss.qualcomm.com; spf=pass smtp.mailfrom=oss.qualcomm.com; dkim=pass (2048-bit key) header.d=qualcomm.com header.i=@qualcomm.com header.b=JOUvwRZJ; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b=Ns1+rBnQ; arc=none smtp.client-ip=205.220.168.131 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=oss.qualcomm.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=oss.qualcomm.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=qualcomm.com header.i=@qualcomm.com header.b="JOUvwRZJ"; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b="Ns1+rBnQ" Received: from pps.filterd (m0279863.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 68NG9kUb3893652 for ; Wed, 23 Sep 2026 16:22:51 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=qualcomm.com; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to; s=qcppdkim1; bh= pgBNUPHEEKVkm4oZQk6Lvcojji4szSfv3iV2gwgCPzc=; b=JOUvwRZJMomDM9DA OznHK4Jr+4VZkFTDf0IMAZQWSmopNpAP3JSePnQEb55SzUuw78etHe7MMXpzDuPl 5iQmLeYva14qYS6EW3ZpiDrQEfBHYj3Amq7YT5BqicIn+iT/HRdymXNCq3HZZG1h TPybkF+a3zzAoa43XefFi2B9jDXKHMAqdi1Fpv3cqC29OBEejT1KzcnTXNhPVTZR jDplJZO6vULBdxAd08WctjkA2jvtwqvknzSAPLZQRLe24cBQ0oHQd3MElLu8dMBm mVWfjKfrtPzUVqu1hUNmbKKmNyCEwTh7M2p61y8WivJmc7HR7p/FvbSBHbUd4rGY SaWkhg== Received: from mail-pg1-f199.google.com (mail-pg1-f199.google.com [209.85.215.199]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4gvbwm9tme-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Wed, 23 Sep 2026 16:22:50 +0000 (GMT) Received: by mail-pg1-f199.google.com with SMTP id 41be03b00d2f7-cbb92868263so783805a12.2 for ; Wed, 23 Sep 2026 09:22:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1790180570; x=1790785370; darn=vger.kernel.org; h=content-transfer-encoding:content-type:in-reply-to:from :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id:from:to:cc:subject:date:message-id:reply-to :content-type; bh=pgBNUPHEEKVkm4oZQk6Lvcojji4szSfv3iV2gwgCPzc=; b=Ns1+rBnQorCE0NFEIR53EjNuQh5hPWFEMY7pX9EfdAioMHRU/cqrTH5hote1mo8QUU 44Y+0atw8+m4seSaw3efVZCf2bYeUWz6jJdQPjqC/Fy7Yz5IuxxXVtm1hhFM49yopKXG QpiiXb3xurO3v9CgmcU5QU6TuXsYO+ZUvU13ZNROe+Gb7Gljl3cfSUdkv8vGeK+e5s/u //oRp2T3dAcTq7OW8xIXojx4a0ySYSWXABk1PbMU4PjFxwiDdUFFGraNCcC9xuZIAPCn Z9gThQU2JY1Ue9XEGEwQIKJ6P/u9k0Ybodj66d+wbmOXcB7XiySEZBPkmrxRQ8miwCvL G7gg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1790180570; x=1790785370; h=content-transfer-encoding:content-type:in-reply-to:from :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id:x-gm-gg:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to:content-type; bh=pgBNUPHEEKVkm4oZQk6Lvcojji4szSfv3iV2gwgCPzc=; b=VgaAY2fLcZ/UBUyo8bpnN5M6A5KDdNUZYLZlaY0vc2Bgl37S2IMNnprF570ohxUXws 1Uy07AOE0UYvDRUGklyYuKeXpE0kqfmESYzB4y9GQ7V51+XYBwfV4++eCPknOFJm6dDq +2wp14+xU7nEtMBosGWNN6S/R3ouyRRC9lWyA+isTHLmTHFt+Ky/35NwReV6v/IDXVWY GjTWJvSq1inYWe8ZY1yWw1pt6JicirLU1hpm3KbmgBKeZFQeK3hVB6hC7XMzVvmiy/Hm a0a2PTtw6CCf/aWXYozEN6EW7XtVW8aYL9+4ITPj7zsnqW0fg16OPWLWthcEVqAQHuvu +XUg== X-Forwarded-Encrypted: i=1; AKwUvByU/qc9XwwbGPZO46YvAb9Vo7tzev5tBrsN2vVC4qCSJLBzb+aCZvZV/nCV72MadKTtwDkABwAqvYsa@vger.kernel.org X-Gm-Message-State: AFuF++mpXnIHJJljdviZ8q+/PKzlO4MIBAg0eEpGcUpr8TikYEUUj3vQ UkiVhVVzOk2p3JaVtm5qILiz99drf9FvBqdfJxBdd1MqCxnOgk5QyEGrJvFJl6z7Ds+wElptxn1 VIWxlj7htyabwodhjOJQz1t4oTX+thNXka0XoliN4QNzsCsRo5gQaGOZ+trA4lK5h X-Gm-Gg: AYBFou1Gnw/UwtfvtjudQqTWHVuG1xddp47a2/gKiITx/wEhvt8Oe6pDYY62dL4cDaN kDtmCmXpeuP7F4Xx1XQoeVhKpdMuts1PhRnDZxPP9U2yqXrR8cqVo/YjWvbyuHvB3+qvV7PTM9m 5MlJxu80S2DpfnHIdHgqHISWCMkWNry1C8RslyN802RzC8f+DNztIA/8viUSxsVo07Qg+uG1CUt z7Rx2UMMTFLGNLx6GOv9SwfinpzAoH4toK06bGJYExE6CSrSXxS3Nmg3fBX29VNTBuYgVrNfRuA /HiU3f3QWWwjG8QoEYMj0bLMyMggroYd8t8yaOyoAhKsf+mQNQvPow+42834Xe+dfBUbkZY69ip zOiOIOgX5J3cVKCN9APSY+4jo0oc1 X-Received: by 2002:a05:6a21:151b:b0:3dd:a196:3090 with SMTP id adf61e73a8af0-3ddf830c18amr3182997637.64.1790180570111; Wed, 23 Sep 2026 09:22:50 -0700 (PDT) X-Received: by 2002:a05:6a21:151b:b0:3dd:a196:3090 with SMTP id adf61e73a8af0-3ddf830c18amr3182957637.64.1790180569474; Wed, 23 Sep 2026 09:22:49 -0700 (PDT) Received: from [192.168.1.25] ([122.183.173.25]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-87d1cfbcc08sm1623120b3a.15.2026.09.23.09.22.37 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 23 Sep 2026 09:22:49 -0700 (PDT) Message-ID: <50b1dabd-4e5f-49a6-b682-1059681b00a0@oss.qualcomm.com> Date: Wed, 23 Sep 2026 21:52:33 +0530 Precedence: bulk X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v5 3/4] dt-bindings: sound: qcom,q6apm-dai: add memory-region and relax iommus To: Krzysztof Kozlowski , Srinivas Kandagatla , Liam Girdwood , Mark Brown , Jaroslav Kysela , Takashi Iwai , Pierre-Louis Bossart , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: linux-sound@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org References: <20260922-vmid-v4-v5-0-e79cfd7af5b3@oss.qualcomm.com> <20260922-vmid-v4-v5-3-e79cfd7af5b3@oss.qualcomm.com> <0d2a8e7b-6a7c-4cb8-a6e4-98a7a5615764@kernel.org> Content-Language: en-US From: Ajay Kumar Nandam In-Reply-To: <0d2a8e7b-6a7c-4cb8-a6e4-98a7a5615764@kernel.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Proofpoint-Spam-Info: AW1haW4tMjYwOTIzMDA2NSBTYWx0ZWRfX+WwMdAijEkrb LLhT6USeNA/w+/+TtE2zzhAhSc3v+zi0B49jREK1aB2faKCTS8XHa2TXi6azL8Hzm5GmRcIOsAi XtV9rcbJvWxJjJBqrdTITs5WqZ/Y698= X-Authority-Analysis: v=2.4 cv=R/6WitRX c=1 sm=1 tr=0 ts=6ab3fcda cx=c_pps a=Oh5Dbbf/trHjhBongsHeRQ==:117 a=uk8ae9/F1LYL5lfeGCaUoA==:17 a=IkcTkHD0fZMA:10 a=VdqzKS8jKosA:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=u7WPNUs3qKkmUXheDGA7:22 a=yOCtJkima9RkubShWh1s:22 a=t8jTToblx4jCBEoCdggA:9 a=QEXdDO2ut3YA:10 a=_Vgx9l1VpLgwpw_dHYaR:22 X-Proofpoint-GUID: kidM1RY-EEqubt-zeHQQdW8XfAQSWB_w X-Proofpoint-ORIG-GUID: kidM1RY-EEqubt-zeHQQdW8XfAQSWB_w X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYwOTIzMDA2NSBTYWx0ZWRfX4Wkwp26prGMm iOdytSBemSeRD8k5xTroNzRr1RnaeOZq1KcnYIih4zXjBy+zY5xdpR/aLmPhS70BZJTABXy7Gnp TwfZnvVoNWoexEiR7vx8RpD0yVPJZy9nDxFvdaJHsUMAkSX7ieO46STPMQQlaeSia06fq20DnuD m2ILe2L4turP545FNTUUvDFeZ8k/WM4gY+7vM8rlDqvTgCl9wbFvn1GHh8tzIhDuxKZZkofVAhq KmuNOXgdXjKmk19eaClUMQJcwQH4R2gHpTbKCdZqNB1B4hPj0Fqkxi/iYR/bJYc7tVTwqXJqv+h F7ZwGBum+m/mOlIONIxR68M7Dd70D6duf3+Y7IstPhiF7CNg/d9of3fu1CYPNfPlYa4UjnesHYU pEz1dV854xLTN8b8I9qqGnHen4wWfsRV27EQK+ng9i7y5g45dv3ZMh9oQ4snG8z99CLBFmSxRAx DhNdX2AXZ6rVYnuLNog== X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1176,Hydra:6.1.134,FMLib:17.12.100.49 definitions=2026-09-23_05,2026-09-21_02,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 bulkscore=0 clxscore=1015 malwarescore=0 impostorscore=0 priorityscore=1501 lowpriorityscore=0 spamscore=0 suspectscore=0 phishscore=0 adultscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2609040000 definitions=main-2609230065 On 9/23/2026 5:27 PM, Krzysztof Kozlowski wrote: >> diff --git a/Documentation/devicetree/bindings/sound/qcom,q6apm-dai.yaml b/Documentation/devicetree/bindings/sound/qcom,q6apm-dai.yaml >> index 9e5b30d9c6e6..7d0415f2463a 100644 >> --- a/Documentation/devicetree/bindings/sound/qcom,q6apm-dai.yaml >> +++ b/Documentation/devicetree/bindings/sound/qcom,q6apm-dai.yaml >> @@ -20,9 +20,19 @@ properties: >> minItems: 1 >> maxItems: 2 >> >> + memory-region: >> + minItems: 1 >> + maxItems: 2 >> + items: >> + - description: >> + Control-path buffer (audio_heap_mem) for platforms where the DSP >> + runs in a stage-2 protected context (e.g. modem-DSP). >> + - description: >> + Data-path buffer pool from which per-stream DMA buffers are >> + allocated. >> + >> required: >> - compatible >> - - iommus > I imagine you either have iommus or memory-region, no? IOW, > oneOf: > - required: > - iommus > - required: > - memory-region > ? Yes, that matches the intended split. For existing ADSP/SMMU platforms, q6apm-dais uses iommus. For the mDSP/VMID path, the DSP cannot access normal SMMU-backed system memory,so the buffers have to come from reserved-memory carveouts which the driver SCM-assigns to the fixed VMIDs. I will add the oneOf constraint in v6 to require either iommus or memory-region. VMIDs remain internal to the driver and are not described in DT. Thanks Ajay Kumar Nandam > > Best regards, > Krzysztof