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 C6AE844A724 for ; Wed, 21 Jan 2026 06:38:03 +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=1768977487; cv=none; b=N2xtMduxwqNPrLQhCUiHywrhpEPoFTGI83iOWfZ0tBx3FE1orNeu1daYZAv6dbJOZ9EssjnKCp2KZQwZln9P5JrxjEXMujY+Kr4YbYd3q1IzfA+YcuK2d/Ho9rofP0v38nYzRY7gI5bXhSvRIWb2XO0rTBv2nSCyTpL1qEzoago= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1768977487; c=relaxed/simple; bh=JhhV8f9p5OxHC2OlmUgE1BDNnvFKTu0OjyNnlXV50XM=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=JWtEzGFyBHpLVdiudZrmrFF7OL3HbNLZCijnQc+LBmA9eYkQxe/nHFAygFjamMpjpcqL+lEkLhnFxZ6av264ADSwSW/5nDQUcVmaXRgOm3SwLN97cRYDszGaTY/E+3kZosHGs2q7D7b/QFLkDscpo0DaPM91Kg2K9ln0HKGQdbw= 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=VSlS5D1W; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b=VO4hnHfp; 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="VSlS5D1W"; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b="VO4hnHfp" Received: from pps.filterd (m0279870.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 60L5lUJe798784 for ; Wed, 21 Jan 2026 06:38:02 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= Yvd9VsTWTAbkA4hMrcvZeNdIUE2XO3yiPpt/jBXoYVc=; b=VSlS5D1W/ADwqMHX J/ElEI5N7UQcuAogAnA9z0FpP4J2+xwtOqD3eSrMdyNnCn4b2edg8x82tkij9Cym FLZhpywh1pdPWw490jVxAnV0kRQlhGlivR/vk4theyrpGfXSzNYrUOO8AXrBZ5le lzTjaCxvwxH1wEwuDxPELLEED6KbCBGzzKhpEe+3zl9Bwbt1Up6rXblD2YVcIFcV RRCZLOei3X1T005VRqcZu/VO8UjiFXWGu7zAQIQ+fP/gNJN+rQ7HPAHpTf4UQipi rY02i41D2xjzBBwH+SeybgqzvZ1mWxLNXLEiRE3FLrOciji94GhruP/KLDASnet2 X5kS/Q== Received: from mail-pf1-f197.google.com (mail-pf1-f197.google.com [209.85.210.197]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4bta6q3av2-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Wed, 21 Jan 2026 06:38:02 +0000 (GMT) Received: by mail-pf1-f197.google.com with SMTP id d2e1a72fcca58-81e81fbbb8cso6007161b3a.3 for ; Tue, 20 Jan 2026 22:38:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1768977481; x=1769582281; 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=Yvd9VsTWTAbkA4hMrcvZeNdIUE2XO3yiPpt/jBXoYVc=; b=VO4hnHfpcRbrNjesUfeaS7LlSA5kHzqiczFgU9K/sKc+KIOASqucZnR8HgU3XCNgXd KAeiuV3txZ61x1AVCvkFv30kh2nr5i5OFGoIdsN16xRDXnHvkiHPl8RQM0iidaa+7Kpn BYPmPfQIMQeKrpLp7jkrI9jSTJkPHOdrua8LVEQ50H/HyS3k/GgJlNgTFUUUmqwKUqfX RrKxGbqlsh7S94tdB7ptPjO9xgDAyj63s5xmpf9vHExXN6lFsDeRDdWKNue3dB3S0kri s1nlWFtI7iWMnJN30lM6XjhoOBeC8MOA/Pje+LlkoNmUu4FK3mXEXnIu4nutt+NqYCEg 8G+w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1768977481; x=1769582281; 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=Yvd9VsTWTAbkA4hMrcvZeNdIUE2XO3yiPpt/jBXoYVc=; b=FDCZH9zyoC6zbdit7H+QLD5Q75s+Gl3cdAkYG20FPO1wuaeUchWXcMw6QhKy0DP5Dm /YgJchOi35SnWl/e6MBx/tLqpwQFVP4Y1eVvipvtw2gdbuWGj25rnJT5z/nHNbobecPF CwXrLQmyjzf6WuGAUc468mls4VqmSKthcTnhNR1WdQgnOYblxG+ufQPmfrdWLPJCCMsy d3azxGg+s8hBuqz2xFFB+hOAyyRkYquOg/dk8i1a6+MmiGAqo9Zp9B1eS9ABlwjft6RN Qy0CRnpMVInYhcDJHMCOTVCLJQttKYd4uKdhmn4EmvehxuC1/FzMT8kcGzc/UfV5UDR+ bQ7A== X-Forwarded-Encrypted: i=1; AJvYcCXMxR+/YKRnwzQXQz/LqdLtpzkIMrBMkCGtC7GfSXk5P2Cw9Eoi4yzirfc2a9ZSqSTgeyu49oKksK+H9ug=@vger.kernel.org X-Gm-Message-State: AOJu0YwdIAcTq2rqvT75zJ79bfXjGttybHEi66yMSFfM+wka/yr6Jwyr HX3FRkNJQSIGzZeSPc001nxHq92DlTfw0LV4UuVDC5aUmSZIuhswwAp8gwRiAssz+IM3X18hvra kARQfll1qCpJCQ/esNScbE7kVhF8oBMCWh3weTUtvYnjQ/F42AuFew/uhbwNmcEw05yk= X-Gm-Gg: AZuq6aLPXl3mKApXPWgabRXfjeFUmOEKP8I1bkgbxtMV04Ng0w+Ot6BI95KkflB1crg DBtfBkMCKObt9HnFwdjCraiU/IVHXVut24Q7fcUNlXVj/6F1RKD4VJZACLjFc5HsqxwCZhBIe9A GqxfJbMrhw/iGPlEFf3VZiY1tc5qAvrbciZXKBrhn5izHr5kUu20zDuFUNxwznDLphhKEqCDvmf lNEqncsXHa13NGXzVEnqFrTLqtzn0kQlBreNcEE9ME2sUcqs/vz/ruVbizXGaLrHjG5B7mMxVz4 iG915wNTEIJz2/d+sS68vRtM8sOEaC/DfDOAhM/iEAZC7CmBuO1OTNPnDqD5FJHNlSciuRpslzn VFA/21/gj8l230JNtlgnftGIJIXy+PAuGrCqYnMcMNucq X-Received: by 2002:a05:6a00:9197:b0:81f:c6d1:d84e with SMTP id d2e1a72fcca58-81fc6d1d95bmr8377944b3a.42.1768977481005; Tue, 20 Jan 2026 22:38:01 -0800 (PST) X-Received: by 2002:a05:6a00:9197:b0:81f:c6d1:d84e with SMTP id d2e1a72fcca58-81fc6d1d95bmr8377917b3a.42.1768977480517; Tue, 20 Jan 2026 22:38:00 -0800 (PST) Received: from [10.219.57.109] ([202.46.23.19]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-81fa108c23esm14027114b3a.8.2026.01.20.22.37.56 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 20 Jan 2026 22:38:00 -0800 (PST) Message-ID: <21b3f41a-d480-4eb1-a02e-c2ae411f3dd9@oss.qualcomm.com> Date: Wed, 21 Jan 2026 12:06:50 +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> Content-Language: en-US From: Vijayanand Jitta In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Authority-Analysis: v=2.4 cv=QohTHFyd c=1 sm=1 tr=0 ts=6970744a cx=c_pps a=rEQLjTOiSrHUhVqRoksmgQ==:117 a=j4ogTh8yFefVWWEFDRgCtg==:17 a=IkcTkHD0fZMA:10 a=vUbySO9Y5rIA:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=EUspDBNiAAAA:8 a=VwQbUJbxAAAA:8 a=P5lMq7c6Yv-mBqOtWncA:9 a=QEXdDO2ut3YA:10 a=2VI0MkxyNR6bbpdq8BZq:22 X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYwMTIxMDA1MyBTYWx0ZWRfX2NyGikYoB9Lf Z9XBEbHjbAWNCJi65ustBt23437lkDxtGNfyQBOU7RW0EKayCc9LHaR80N889Jnp1XLJzUh564g OdsrF/eAr2lpK9XKDMQiuhTru9V4TZ8E33W8anQTaeleu1si3k4DJXionkNmo61PEQH+ey8yWN/ 0Dp/AM9Ato/uWyydRPnKsFWoesZqejOxcxXWq7BOS2cTd4VBOsIPcUyisOUYN1TDPEii8uOn5bH UM7qnFphOD8bvrJ3PzT8ES0NEG9dQbwN3vAuldAc2kS8vDIaefGVfEe9mZUT5eJcwgOgjiHqVmS r0JMzqAySXkZiEn77PhjyZZ03on4n8e0BPCoU7+Yxydsvpcg4n649PoRVA8FRxQLcOw6LyLJJYd KVdlWXitLHjLNIvZIGm6QzFrGRL8U/T7hERP+PHzauH0X0Y4dWLrVMRJ3HFer3B0MDgBPYhB0fO VfWBn9SXFmOcOptxpuA== X-Proofpoint-GUID: BlUhWFwPTv1Bhxf-Nhmd2f6t_3jJAAdu X-Proofpoint-ORIG-GUID: BlUhWFwPTv1Bhxf-Nhmd2f6t_3jJAAdu 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-21_01,2026-01-20_01,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 bulkscore=0 malwarescore=0 priorityscore=1501 adultscore=0 clxscore=1015 impostorscore=0 lowpriorityscore=0 phishscore=0 suspectscore=0 spamscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2601150000 definitions=main-2601210053 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. 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(-) >> > >