From mboxrd@z Thu Jan 1 00:00:00 1970 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 0D484310777 for ; Tue, 27 Jan 2026 04:15:10 +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=1769487312; cv=none; b=nyK1I6gtzbOVJU89/297l+hTQbqbHSapZSF7TImSFZRzYR00epg3DDwOHx9K8HmSEgkiWS6GbOhjVanAVF5gJtHxgvTfIRkjpE8kYC8CEtsXD9v6TXwy/tMMizp2e15rhazSTN57NPKE4qgA1VNY5ADUVZjOSKyjqhhpz6ZH9RA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1769487312; c=relaxed/simple; bh=xDoav1BfW2wI8Iv+YupRqR17ieEF5LHWM/T4d5wyYmI=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=IWhDovgTTxoYHJdO31kkWTFJzhBPV3aeTpGnvO5ADd7H2vMd19FDg1atSZOUIfnxDPmxdnm7tkesqVQ/bl0S4zUyxo/7+IWfqCH1nAeUVDA9C/dEu2HbjlKb9zYNkZTJpj1e6dcnrWZ9gOaUeK6iQ1Ptmljc9WhrpFDDr8ozGbs= 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=D9C3sVbt; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b=OwuQajP9; 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="D9C3sVbt"; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b="OwuQajP9" Received: from pps.filterd (m0279867.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 60QKggpq3481603 for ; Tue, 27 Jan 2026 04:15:10 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= yR3aK7XyKr62djQaHFknCTq+ksn7q374+TYHBAPMHvs=; b=D9C3sVbtyvzpfTpv v4PR7w/M2VJsuPUqxwbgtTnhbREm2J3m5t9umuRiBRCttObko820HzQkhya8qgID /HGeaenw8wGG3dKjCSgg7xVOXJqKwr+3tFz89FSEh65oUYgral2B1/k3CmDVPwbi 1egLMCiXPQpmb3bpUXsJc1lTBov5aSPIskNVPCuWPvYendTLpUMjnOJezaq4FHKw 9pHYvQJwcL8blqxKnz3gGnKBZ83opsHpTaodD+Eiqf51UvIv54htxic6/cYRjmm5 GpNGrrYw1U0QMhlrE2DArNfmrgOrrz1vd6L+CaPPZydxzcP/f0ILhtTMcZ2wV+fl ZPmlDg== Received: from mail-pj1-f71.google.com (mail-pj1-f71.google.com [209.85.216.71]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4bx0v33ng5-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Tue, 27 Jan 2026 04:15:10 +0000 (GMT) Received: by mail-pj1-f71.google.com with SMTP id 98e67ed59e1d1-34c5d6193daso10610092a91.1 for ; Mon, 26 Jan 2026 20:15:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1769487309; x=1770092109; darn=vger.kernel.org; h=content-transfer-encoding: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; bh=yR3aK7XyKr62djQaHFknCTq+ksn7q374+TYHBAPMHvs=; b=OwuQajP9RYNxRBXVcOpnhEuQsqf9p0al2m8fXVjj8QrEQ21nbflXsq/YJ0LSgPOyu1 n4aqIbfAbGKFRhfAKLTbnJ44HHdQosUlBOtJsvKuAm9B/ECm3w/yZCG5Spej/UYef3sl PuVg/nyA5DCXonKvrxG3z+vZETTLSnwhlSvoYLgaCiU2ljq6bCXVR4r2uJn4C0hzS/Bs cICO4x30s0fisjurSy9u8PBkyiK5aVVrkJMTeQL8RehEqHy00U3b3YuOdZqjMuvv1Y9S wjgpfT2KuI9pr/o0IhXHJ392sMFArXz+qDYA1yQRQ2THhWi+DrKE+HfRxViowBSV50XS Fp0Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1769487309; x=1770092109; h=content-transfer-encoding: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; bh=yR3aK7XyKr62djQaHFknCTq+ksn7q374+TYHBAPMHvs=; b=bJUSyNifScCW058eoIWeEgsBM+kMiulz2EdfQl1vWNMP9nQdFbpmeKT8NUeNedco35 PTU0yfmusAYXaGXkBpSTj0838oC1f88gjEgTjDLRV+IKPYX4sVZNo5ebIPwQX+/cYEf4 7dG4/79mqxzxdiuDvyFP3z8o05pBxNOzTsdhnkEsgLXT9z1xFLi4sSQ/LwzRuQQjZ0Mf LMOFzIOs86seDB0ijF6pXhD1ny1u/Nfr265I8Xx51HqzRs0nghsvX6uQLIRPB3vQ6Gh2 5ivq1spHb4rderGxEJdJjhnkSmLGQsS3ZHBSbXVOVD0nEyzRHLCTLks+q+hMZAzAFRMY TIyQ== X-Forwarded-Encrypted: i=1; AJvYcCVGZf6MaGqdYvbhzAz21gaa57B4y05uzzFXIEX/tQtdu57sFhnLWHnFIUA7EOUN27ZJNPB5Ly8hkr/JQ+k=@vger.kernel.org X-Gm-Message-State: AOJu0Yy4vtpS/fpVGIIhD2cycm8fW2D4UDEySYIrRbVU6qDoYFLcXPwU GUqdC6Nr7ThYMVN/9k7QdMauXpFBaZOTf1DFkAINWHi8bnLha6luj8XIiBCMMPvyGi6gOzCHcOb 25VHikCLyQpic3HalkP6DuxeWqCxZ3kOT+iFqZTLzAaeUD+NUu97jt1U5+GqR1FjFZIw= X-Gm-Gg: AZuq6aIvD/5CisJcf3bNW/8SSeUujHiP2/GMRWBDcDDF3jc8X5vo9ZhAiw7KuDrpYgi Dcxaxzrnym+KXwVTCfH78C6MWdza2LCir4yqXqI/I/F2PV4Yv3T9qBPZDdkzWu9F7nO9IePNBTF lMV6mRE2d5QC7uuHEsuzJXd7Ul5P682SJweGkpqsZsOyZGodme7lyxbl1WCztYDVWCay+8v9mnB OmbDL/zS2pBjl41LCs6qYzoJPYcP6V45YznHGEyoDx3YEtI79kBGiOQ4HJi4mkcZoVwJ2S5g9By JLAMPQHqUQ8bXF8KWLwF6dytf3aZBcMIT1L0thiGp6AGXUh/wlzxGel4Ef6IuC39XEhJ5YXqOh3 Hh/GCd2z1+iv9HkMjZhduHVdde61KZ+/ySVMl17AXCS8+ X-Received: by 2002:a17:90b:50:b0:352:fa96:5137 with SMTP id 98e67ed59e1d1-353fed5cb28mr515820a91.21.1769487309466; Mon, 26 Jan 2026 20:15:09 -0800 (PST) X-Received: by 2002:a17:90b:50:b0:352:fa96:5137 with SMTP id 98e67ed59e1d1-353fed5cb28mr515792a91.21.1769487308971; Mon, 26 Jan 2026 20:15:08 -0800 (PST) Received: from [10.219.57.109] ([202.46.23.19]) by smtp.gmail.com with ESMTPSA id 98e67ed59e1d1-353f612917csm931826a91.8.2026.01.26.20.15.04 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 26 Jan 2026 20:15:08 -0800 (PST) Message-ID: Date: Tue, 27 Jan 2026 09:45:00 +0530 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 v6 2/3] of: factor arguments passed to of_map_id() into a struct To: Dmitry Baryshkov Cc: robin.murphy@arm.com, will@kernel.org, joro@8bytes.org, robh@kernel.org, konrad.dybcio@oss.qualcomm.com, bjorn.andersson@oss.qualcomm.com, bod@kernel.org, conor+dt@kernel.org, krzk+dt@kernel.org, prakash.gupta@oss.qualcomm.com, vikash.garodia@oss.qualcomm.com, iommu@lists.linux.dev, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, Charan Teja Kalla References: <20260121055400.937856-1-vijayanand.jitta@oss.qualcomm.com> <20260121055400.937856-3-vijayanand.jitta@oss.qualcomm.com> <21b3f41a-d480-4eb1-a02e-c2ae411f3dd9@oss.qualcomm.com> Content-Language: en-US From: Vijayanand Jitta In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYwMTI3MDAzMiBTYWx0ZWRfX3Vk9KmzlohYp ARdzvHfVTCZYtTCKplo5yPpqpBhUg+8Nn+Wwj5R/yfvLAYCiajiuJiBRjHpJLeHIQo1RHc1RskM omYx/qUX4/yx5lfIHeI1xfjOIdHSS35HtMH7g+afEYqJjFSk3yZyY0X5aK3afYY3CPCFqtkWr3C aF1BfEMsKKxdyVheHpABsv4vsvq2JfuBnDpEYL38pt+1ZJBrX7zzG8ol8qJD/BB2KLHyT61oSUY kNF9CEYMMvc9IXGvWatTLLPAh/bysB+IX3lcPcbhcO1d6tQqpcS9doWrfpo7GSsX7W92s58fSXS wasmreV9vZkYKywcagE0eNbpFBhrvJRJ/9YwFQpGvirJ6jDDh7tRyweAd5tvP5Kc6z4xtiWqdPh I28p4qOXCCi/sem/WQGWPpCs42ReDWfnWdfEJx9bdB6y83TQtVFmSq1Pcw9CducRnd9Drygsj4w IZbWp3J+tOtIcpWP9Nw== X-Proofpoint-GUID: WqSOJzG2tecw6BqfhNb3CmV4Jrc_x-Jn X-Proofpoint-ORIG-GUID: WqSOJzG2tecw6BqfhNb3CmV4Jrc_x-Jn X-Authority-Analysis: v=2.4 cv=JYyxbEKV c=1 sm=1 tr=0 ts=69783bce cx=c_pps a=UNFcQwm+pnOIJct1K4W+Mw==:117 a=j4ogTh8yFefVWWEFDRgCtg==:17 a=IkcTkHD0fZMA:10 a=vUbySO9Y5rIA:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=VwQbUJbxAAAA:8 a=EUspDBNiAAAA:8 a=HnkMKtxlUvcyAqyK8NAA:9 a=QEXdDO2ut3YA:10 a=uKXjsCUrEbL0IQVhDsJ9:22 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1121,Hydra:6.1.20,FMLib:17.12.100.49 definitions=2026-01-27_01,2026-01-26_01,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 spamscore=0 lowpriorityscore=0 adultscore=0 bulkscore=0 clxscore=1015 impostorscore=0 phishscore=0 suspectscore=0 malwarescore=0 priorityscore=1501 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2601150000 definitions=main-2601270032 On 1/21/2026 12:08 PM, Dmitry Baryshkov wrote: > On Wed, 21 Jan 2026 at 08:38, Vijayanand Jitta > wrote: >> >> >> >> On 1/21/2026 11:30 AM, Dmitry Baryshkov wrote: >>> On Wed, 21 Jan 2026 at 07:54, Vijayanand Jitta >>> wrote: >>>> >>>> From: Charan Teja Kalla >>>> >>>> Introduce a new struct type where the optional arguments passed to >>>> of_map_id() are Currently embedded as of_phandle_args struct. >>>> Subsequent patches add additional arguments to the struct that the >>>> caller expects to be filled of_map_id(). >>> >>> Which additional arguments? I don't see anything being added in 3/3 of >>> this series. >>> >>> Can we use of_phandle_args and switch to of_map_id_args when it's >>> actually required. >>> >> >> As mentioned in the cover letter, this change prepares the interface for a >> follow-up series adding multi-map support, which we will be sending out >> shortly and which extends these arguments. Keeping this in place avoids a >> subsequent rework and keeps the overall transition incremental. > > Could you please point out patches adding more args. > Please refer to the below patch series, it extends the args: https://lore.kernel.org/linux-media/20260126-kaanapali-iris-v1-0-e2646246bfc1@oss.qualcomm.com/ Thanks, Vijay >> >> >> Thanks, >> Vijay >> >>>> >>>> Suggested-by: Rob Herring (Arm) >>>> Signed-off-by: Charan Teja Kalla >>>> Signed-off-by: Vijayanand Jitta >>>> --- >>>> drivers/cdx/cdx_msi.c | 2 +- >>>> drivers/iommu/of_iommu.c | 12 ++++++--- >>>> drivers/of/base.c | 37 +++++++++++++-------------- >>>> drivers/pci/controller/dwc/pci-imx6.c | 10 ++++++-- >>>> drivers/pci/controller/pcie-apple.c | 4 ++- >>>> drivers/xen/grant-dma-ops.c | 20 +++++++++------ >>>> include/linux/of.h | 32 ++++++++++++++++++----- >>>> 7 files changed, 75 insertions(+), 42 deletions(-) >>>> >>> >>> >> > >