From mboxrd@z Thu Jan 1 00:00:00 1970 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 D0C0B481FDF for ; Tue, 21 Jul 2026 11:57:22 +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=1784635044; cv=none; b=XieMDvs5Z5s0FSu0VoSIAiwushjgc856SUW8Y2fLp7JKF74OS92VJWNF+imyIz8SrapWOlDVZe7GZbHSOSkov65zN/QqiC4dvKg+fpb3E0eDcU8r9ubivFP/VQ32l4/utN53Lq/wKLAXX/JyBc2F2ScG97hugNVni7/7qN3BobU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784635044; c=relaxed/simple; bh=1jija8OEh1ywAonQwvSdwU16zTNI3SofStphjA8zOO0=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=W+7mj49+WJ044TemLgFQZjei03F5ZcvguGBN/TwrOxr26yVmfilnSt+6sbIYHpnkfGn8wYbVO4MvUkyMRcRi9y9w+x0D0aBtcmnxb5O4QwFPmNbO3RRVMu63Ic5UjLuqFk57oeBJD+0NQTd2neKkIrxSFQnkkrdyNWO51zYtQ1k= 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=AxEWXsvm; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b=Pa18d3kh; arc=none smtp.client-ip=205.220.180.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="AxEWXsvm"; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b="Pa18d3kh" Received: from pps.filterd (m0279868.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 66LARJqs1385792 for ; Tue, 21 Jul 2026 11:57:21 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= 5qjUmcggw2BDTIheMS9xNdAXdB5QLoEoMkHyDe70LSo=; b=AxEWXsvmLnem4C1t lwyJ1oFsdXoZs+pr9V/XnenoxPka49AiWHKB60eTSwguPTKPDgWCs48vLJJaYlte NUwKAeh8LTvZ4LsgfPutKBrV8gO6Pz7FOpWio+113sV8ifJpE6ByVc9Ns+qgXk2X l0a3nUkpevNjtHaNfyPmExkoXroVoEiJH+OzePReWoWmfm+ePUU0JzU/TTM8MDzi laIclFSU4IeCBPtQ19Qq4CBlevRlQKALv9vlJxioNs9oFNfN8ntucBQVW1u9jVaX rb7oQj05ajoTan9+B2M13vdtLiVHfNAN34ffeGvosnDf+aS4we6iuqVzuG6Upmut KChK6w== Received: from mail-qk1-f198.google.com (mail-qk1-f198.google.com [209.85.222.198]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4fj1se2083-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Tue, 21 Jul 2026 11:57:21 +0000 (GMT) Received: by mail-qk1-f198.google.com with SMTP id af79cd13be357-92e6415f279so161754385a.2 for ; Tue, 21 Jul 2026 04:57:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1784635041; x=1785239841; 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=5qjUmcggw2BDTIheMS9xNdAXdB5QLoEoMkHyDe70LSo=; b=Pa18d3khmcm43ydtGEGAC50dPYECvHnfiCysSBJwOYG7dAfhjaBNG/34+q+F5QXlpK rUedYKxhfb2l+KclVtvAdK6hHkFcstdGpFFnoDuoca7wcT+HPzIq4f6qY92XwOt37myZ H/bZJaWimiNNKaGh7auEwqD2PqK/m0cZP7pzTkd35mCSsiBQ7lR1GP2gzasl4eYLRUoS iN0qD5lk906MCWs5ismXUZgVPxDI9iIYINTi5iV0rYqwf74GGqxfmJtHJ3sTUePg/xGO NrE/M0HFyP6nRQfdk5eXtjAkUWE0bbNnWVwhOaHfZWeINXJbm2n7brkZXvw39HEirWhR wMKw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1784635041; x=1785239841; 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=5qjUmcggw2BDTIheMS9xNdAXdB5QLoEoMkHyDe70LSo=; b=OvUKJcDW6e6caF6FirgYXqOBvFG407M87wLoyKQcl3jchEkWQInLZBCtk2FI2nxj1B A4DOL4m4dO1LPMGt4Y7jYcJZqV8TPGLHzbqrX2XCysrevhhvuVIcl3WMpfOFXZQJgLde z4HWkWs9HwhfUanmjTXhg184HDDBUcv2gYxowQ6zNuzBG+ZizJbp220dodowF4lmljEh oCZa8zcNCWxx3rUKOcfqURN1UoEGWufrVZAWBh76kmb3yqkA6iw/9J40vc1fO45F24sV 33dF70Zb5oBm7IZl36/CBGPR/yH+7LX/eEJf5SY+6sDl6efZP7ymWf9tSXDXzfJGh5UJ 2JNQ== X-Forwarded-Encrypted: i=1; AHgh+RpGCmGcnM4nJSABq/lXDvFdtm7X/xPrkMep88ACmwG0l4VxYPDBvdmvpayZTvp3XYR8m4Agz6RjcIrDk0o=@vger.kernel.org X-Gm-Message-State: AOJu0Yy7ZJX5GRDfgYFAtTEzrk7wMU8WAmInFuDA0on/qLWaSv3x4gIr lbxZHrdmXCDuGi6e0s9LOoj2zKYMEMtqZsimI8JncjsxeopcOIQ7fm3tFuvcEpDdxcLAsJ4rVzk M1fKTBmL9+HaV7Sg1hBVGtPkynpADBcstUY5QUaYorSie5zSVWwiAoUxe32jkNVL3RZo= X-Gm-Gg: AfdE7cl8Zt+N0ET3zLK7RUKqkQz4JdZIj09IfNEx6fDS5RObeMlKHeVEPnwURXq4FIl 9J4oiYcq9HQAF/dHiqroU+uXOcgRccKD3ysfroJpZtthIrhTcR/5xaoAc1+A6nUQqDRPDUOvapM ytDAmlCN9SvntcEVraxlK/KjOljnVIA6cEUKqeRVgMdDAmmK650MbNUIzPDLZZ5IyBEFWCfI4xs bet1KF63FcRRaO7VP53oGP+VHiordCjODi6vY69YJHpqm+mloDm5eiJexmaxO7IOX0+pC2VxyuZ 5PQJhwy+Jy4f70wuWictPH72YgamjcG+AfPu+W0w8mNLNmYv6lkGj935pJ4kmSDOh4+TIBH4Twc 45xpwa0e7vZ49RFBEtxgp6G5V X-Received: by 2002:a05:620a:371c:b0:92e:6485:f640 with SMTP id af79cd13be357-930e7051f8emr232654085a.4.1784635040942; Tue, 21 Jul 2026 04:57:20 -0700 (PDT) X-Received: by 2002:a05:620a:371c:b0:92e:6485:f640 with SMTP id af79cd13be357-930e7051f8emr232650685a.4.1784635040424; Tue, 21 Jul 2026 04:57:20 -0700 (PDT) Received: from [192.168.120.193] ([178.235.128.140]) by smtp.gmail.com with ESMTPSA id 4fb4d7f45d1cf-69e6fff537csm5702136a12.25.2026.07.21.04.57.17 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 21 Jul 2026 04:57:19 -0700 (PDT) Message-ID: <4fc9743d-3d9e-4130-9ffb-b64318a8373a@oss.qualcomm.com> Date: Tue, 21 Jul 2026 13:57:16 +0200 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH 1/2] dt-bindings: net: qcom,bam-dmux: Add qcom,shikra-bam-dmux compatible To: Vishnu Santhosh , Stephan Gerhold Cc: Stephan Gerhold , Andrew Lunn , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Loic Poulain , Sergey Ryazanov , Johannes Berg , linux-arm-msm@vger.kernel.org, netdev@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, chris.lew@oss.qualcomm.com, Deepak Kumar Singh References: <20260714-qcom-bam-dmux-vmid-ext-v1-0-3f29da7cca76@oss.qualcomm.com> <20260714-qcom-bam-dmux-vmid-ext-v1-1-3f29da7cca76@oss.qualcomm.com> <3a32a44d-4044-4270-beec-565171ad4bff@oss.qualcomm.com> Content-Language: en-US From: Konrad Dybcio In-Reply-To: <3a32a44d-4044-4270-beec-565171ad4bff@oss.qualcomm.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Proofpoint-ORIG-GUID: Dk95sVZtt7ZMZiqY9lz9I2mwD2wuoTQe X-Authority-Analysis: v=2.4 cv=TIZ1jVla c=1 sm=1 tr=0 ts=6a5f5ea1 cx=c_pps a=qKBjSQ1v91RyAK45QCPf5w==:117 a=PRfkaYvzSr8QmIIGAkY2Sg==:17 a=IkcTkHD0fZMA:10 a=RAioF0-LDSMA:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=u7WPNUs3qKkmUXheDGA7:22 a=ZpdpYltYx_vBUK5n70dp:22 a=EUspDBNiAAAA:8 a=TTPXGskHRsZgtGffa1EA:9 a=QEXdDO2ut3YA:10 a=NFOGd7dJGGMPyQGDc5-O:22 X-Proofpoint-Spam-Info: AW1haW4tMjYwNzIxMDEyNiBTYWx0ZWRfX4N+fbG2ZpRLq sjmBoW3co6dKVeEgyrfgMe4fsfldogEZZvuoEU9yTCQJxNG3ZHyZO3NEgORIQo1vqLCZ6sU91Ac tPiHV7Z+MIFJwjPBvxxMqC515NO3R5o= X-Proofpoint-GUID: Dk95sVZtt7ZMZiqY9lz9I2mwD2wuoTQe X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYwNzIxMDEyNiBTYWx0ZWRfXw5kOiIM6zCAv xcfsquDfFC6Tii3XDgUoXpfSoZIb5XEH9wdKosq0+NaAMVchih/ICBl1kchyvIdpFzLkKzVa2kX ZUqA5d6Tt/QOZvQnuCN/7/P+hHkvT9zaAoVTOpx1qIcHcPOgM0BTasBVUoaIpI+aziBp2SIIIzP WFUcISL/hC9VpvHPXtCKh6+xA44nE2xxndRWT+xHHiU1CVdYAFfivBlZ6YOnyc3gEAVbFU7Hosf eVl3JccI+PKyuYju1AawSkWJlpA2UXqxEDk5G+GHa3F4ZpwwuNr2hYcIulptwhzk0ORBboAIvLA FFC35Op2+skt0ZVQyvVSSBoS6Lefs2aQUHCkoGqPbfI4YtG5EyEhvCnziuw2oXEer/55jUHlpFi mXLPpDLxuvGT4t/cw8J0pvQAePIiSrhKdw1v8XHu2XEGYfwLpG6Y6oJ2J85/NpIQpPb0DXsHWGG kQagCoa3SYAOa1FZEdA== X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1143,Hydra:6.1.134,FMLib:17.12.100.49 definitions=2026-07-21_01,2026-07-20_03,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 lowpriorityscore=0 impostorscore=0 priorityscore=1501 spamscore=0 clxscore=1015 malwarescore=0 bulkscore=0 suspectscore=0 adultscore=0 phishscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2606150000 definitions=main-2607210126 On 7/14/26 4:03 PM, Vishnu Santhosh wrote: > > On 14-07-2026 12:41 pm, Stephan Gerhold wrote: >> On Tue, Jul 14, 2026 at 11:02:31AM +0530, Vishnu Santhosh wrote: >>> On platforms where the modem DMAs into the BAM-DMUX RX data buffers and >>> the XPU enforces per-region access control, each individually >>> DMA-mapped RX buffer consumes an XPU resource group. With only ~16 >>> groups available, the per-buffer mappings exhaust the table and inbound >>> transfers fault. >>> >>> Add qcom,shikra-bam-dmux as an additional compatible for the Shikra SoC, >>> paired with the generic qcom,bam-dmux fallback, so the driver can match >>> on it via its of_device_id table. >>> >>> Co-developed-by: Deepak Kumar Singh >>> Signed-off-by: Deepak Kumar Singh >>> Signed-off-by: Vishnu Santhosh >> IMHO (the DT maintainers might disagree) this is not a different >> BAM DMUX hardware block on Shikra, just a different firmware >> configuration. I'm sure the existing SoCs also have those XPU blocks, >> they just don't make use of it. >> >> Personally, I would rather describe this with an optional "qcom,vmid" >> property similar to your bam-dma patch, allowed for all SoCs. >> >> Thanks, >> Stephan > > Thanks Stephan. Adding Konrad (Cc), since this compatible-string / > match-data approach was his suggestion on an earlier revision of this > series send for internal review, specifically because BAM-DMUX is a > singleton per SoC. > > Konrad, given Stephan's point, would you still prefer the > compatible-string / match-data approach, or does the optional > qcom,vmid property (matching the bam-dma series) make more sense here? > > Happy to go either way once you've both aligned. This all depends on whether the DT maintainers grant you the right to introduce a new property and in this case I very much doubt that Konrad