Received: by 2002:a05:7412:b995:b0:f9:9502:5bb8 with SMTP id it21csp4672138rdb; Fri, 29 Dec 2023 09:18:24 -0800 (PST) X-Google-Smtp-Source: AGHT+IFDIhlfDS3EKE7EBc9N6RaGHjlmVKQD+o1XufAH5GHCpKkbjESfm3as0pT63SCH1+Pb6XlY X-Received: by 2002:a92:cda3:0:b0:35f:d8a1:1e6 with SMTP id g3-20020a92cda3000000b0035fd8a101e6mr16925276ild.4.1703870303862; Fri, 29 Dec 2023 09:18:23 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1703870303; cv=none; d=google.com; s=arc-20160816; b=PvEJURfYGqk+6JvbuDUe4hbDcsfY3Rs7UZB360EpV8ussxJHsbjabbWk91bHxYzYO/ 8bIurFCbCgI+5oPAb11EixCfUDWkGso3S3dSak6icSlei3HHpJeSBjhR/+ZgfY6NkWI1 pejrLaspghpWBu3McHAq4x1dJxiz1/85eAIIpnluFZ16vpbENqrLAruoEgpeXWLPKDlz Wm5gfNJ0ILm/bgILDBDEM9cA4H0Y+20YhhAO1fRRukK5WmlpQV7jUbJnuLtFe7WbDCr1 qIeOI+aoZm88aOFF8ElOUqqOnf6qqyZXCnD8K3ntJUX6+yWI+zXt4/U8vvOngi7YuEus xt1g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :references:message-id:subject:cc:to:from:date; bh=T0++LyAcsPu09FKoODg5fusUwvLX9k/VSjzdOxgHde8=; fh=Qi+/L3x8W6OHrOmv6Z6Z+wVZFeyAiYTcQxUMn6OzCFw=; b=KVN9ZXlYN9KzZX+hgl+rvBbvTiigi8jA6vUHKr6exR+3MOfqg/wIS3NxPvx/rvceQx /yfzI3kseZXhV10i8mvIZqo5pQVgisbNMji7+yd7Ut8kE4eiB1NwvA8MRr4MSsoSUY7v 62H7WxwW6kUjGHH7PLQC3DZtZRWgwH53Lq5Pg7IUwEJ4dCMz/MKTBC2kROEbFVmgBA3X 95Kfcpd2ckrJuAiEqbv0r8fUvgkjjlC7XLMsfMH66is+k6q5rhXpa7M6uf6UzgXAaQrP SaKGxIoVLtZs5QYpUOByXOx37KWBU29ESAtnrYujBYYcYdx8dhLaBwlCRPAnMHdlNDXD JZhw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel+bounces-13176-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-13176-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id z189-20020a6365c6000000b0057d7cff25besi14438330pgb.829.2023.12.29.09.18.23 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 29 Dec 2023 09:18:23 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-13176-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel+bounces-13176-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-13176-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id ADA8AB21C6F for ; Fri, 29 Dec 2023 17:18:21 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 2FF5312B88; Fri, 29 Dec 2023 17:18:12 +0000 (UTC) X-Original-To: linux-kernel@vger.kernel.org Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 A5BB412B6B; Fri, 29 Dec 2023 17:18:10 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id EF049C433C7; Fri, 29 Dec 2023 17:18:04 +0000 (UTC) Date: Fri, 29 Dec 2023 22:47:54 +0530 From: Manivannan Sadhasivam To: David Cc: krzysztof.kozlowski@linaro.org, agross@kernel.org, andersson@kernel.org, bhelgaas@google.com, conor+dt@kernel.org, conor.dooley@microchip.com, devicetree@vger.kernel.org, konrad.dybcio@linaro.org, krzysztof.kozlowski+dt@linaro.org, kw@linux.com, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, linux-pci@vger.kernel.org, lpieralisi@kernel.org, mani@kernel.org, robh@kernel.org Subject: Re: [PATCH v2 1/2] dt-bindings: PCI: qcom: adjust iommu-map for different SoC Message-ID: <20231229171754.GD9098@thinkpad> References: <20231120070910.16697-1-krzysztof.kozlowski@linaro.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: On Fri, Dec 29, 2023 at 04:36:31PM +0100, David wrote: > > + minItems: 1 > Hello Krzysztof, > > the driver will accept 0 just fine, so I think this definition may be wrong. > It's not entirely wrong but the actual SID mapping differs between SoCs. > I sent just generic "dt-bindings: PCI: qcom: delimit number of iommu-map entries" which doesn't care about the numbers (in similar fashion as other bindings having iommu-map). > No, we should not just ignore the MAX limit. If you add number of entries exceeding the max SID assigned to PCIe bus, it will fail. - Mani > Tell me what you think. > > David > -- மணிவண்ணன் சதாசிவம்