From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-pl1-f172.google.com (mail-pl1-f172.google.com [209.85.214.172]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 49DE912E55 for ; Tue, 16 Jul 2024 04:05:47 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.214.172 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1721102748; cv=none; b=gG6qjhSJiAk/5/MSbdIKsvLttVWicq2Sfmsu4j4s+HgHgl/TD58IXrON4QPXP8661/noJqiLOJCV5yRcUmNJwcnRicCWxNWnL2Dp5MTT652AK0RpJMc24/4Vwdp8Y6QryoLTeygiju/92+CTyAph3y8d74GGuZnaNwl6DaOZvEQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1721102748; c=relaxed/simple; bh=VS6EfNK47CI9CCIESYrotd9kMA1ov2RmVpon6OM+jKQ=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=Mtu5F6WwyyTJeYvthm84K0H1xlk6gj/LwWde0P4m+/OvxmSlkqwykd3WNRX8lmAZPzbgnOLfE2PaghP/0NTDVDxCn3YrD2/O1SiyO2uOt3rineMkonY+0tKy78xhNbpU8dBoHdGGx6imBh+wpPNC5HLPnOL+qpLOcc5dSlkzYnQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=E3hPXilY; arc=none smtp.client-ip=209.85.214.172 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="E3hPXilY" Received: by mail-pl1-f172.google.com with SMTP id d9443c01a7336-1fb457b53c8so41077995ad.0 for ; Mon, 15 Jul 2024 21:05:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1721102746; x=1721707546; darn=vger.kernel.org; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:references:message-id:subject:cc:to:from:date:from:to :cc:subject:date:message-id:reply-to; bh=rA6xNk3KrlizNp5+s2A1cTpaTQXoSxtZU7FnGPFRjJg=; b=E3hPXilYXZrfCIqkDBNR94Z5WxTCIItYno6cCzFzpsfoA/hGN8U/05eZenZlSmv1ci m6RHhlrNV9c1awnxOFAnDqpJagNnIRH4dKjOv6QTS9h8d36oSM0LH385iZrE8vws2kIR 7dNKlml5eX3YZgjo3cbNYNqSW/IOxqCWrn+0QCd6PmylTQY3zF1bby+DbgYXhomU1Uct nH1JV6hq/4Rki2N3U1KclW3gVgLVdM8rf6wSK/jU4DoUb6a7FmvrdWxCwKw3IacfPd8E RTe+jxDiSU06+8sLpOIxEmwNI3zfPILYGqPO0gGgqokgjpPiGXIQ75BFF2nIDueDaAnq QMwg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1721102746; x=1721707546; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=rA6xNk3KrlizNp5+s2A1cTpaTQXoSxtZU7FnGPFRjJg=; b=lj2ADl/I42rBX0mR66S7rOvox38lEuiuy7rq25PGM1u/h7ciWORb/Deiqi10uH0bvh OHf+kX2WR5/geme0lJOj3pqP0JOCJMAcsTJEFLcJyBILnuaz+4ghRVmPSjUHWIEpGRjb CwcmFrCpD6kd3y34xgHSklGYhsFDw5l5/llnkhnV5fMNWRMacF5qdkU0Nl77sw7Si6Kd xIvh+xJMcJ7xXOlR2f5bSy3vXhutLhUYhFofGeWH1CiO3BU/SSdG4nMzdL00mKf/SgT7 BSdnAHJv7TTeMuuBu3S2TELgtpA+YBzlPNu3ZnsHGUHj8x7i4YxOGW537bN7PXf/xpiF bC+w== X-Forwarded-Encrypted: i=1; AJvYcCVPb+uzxR1xDsqQuo4Ug8/2uJvAn2tmjhU03g3Tcv5DUEq885QrB3Iy2zIF2VAgKR1INWg7zEu7jJD7klFSs9Mj7rywAUXup98F X-Gm-Message-State: AOJu0YzPtv5iSqpzYsH65hKzHn/jO2KOCU/m55pSpsbhqjP8SjUueqxg e8JfSkdvHjaRDWonyl/ukRQtkVTv3UBUBV9vs+sVbd662tTv6Dv14bgHycGGtA== X-Google-Smtp-Source: AGHT+IEEp12N7H9rdwF7a6ALoUF5nLk0VlGH0DjnjAF23n1gqZqPTmDQQlr65ikW50Oczrb310hp7A== X-Received: by 2002:a17:902:f54f:b0:1fb:29e1:7635 with SMTP id d9443c01a7336-1fc3d9144cdmr7484105ad.13.1721102746522; Mon, 15 Jul 2024 21:05:46 -0700 (PDT) Received: from thinkpad ([220.158.156.207]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-1fc0bc38a81sm48592855ad.220.2024.07.15.21.05.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 15 Jul 2024 21:05:46 -0700 (PDT) Date: Tue, 16 Jul 2024 09:35:40 +0530 From: Manivannan Sadhasivam To: Konrad Dybcio Cc: Lorenzo Pieralisi , Krzysztof =?utf-8?Q?Wilczy=C5=84ski?= , Rob Herring , Bjorn Helgaas , Krzysztof Kozlowski , Conor Dooley , Kishon Vijay Abraham I , Bjorn Andersson , linux-pci@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org Subject: Re: [PATCH 04/14] dt-bindings: PCI: pci-ep: Document 'linux,pci-domain' property Message-ID: <20240716040540.GB3446@thinkpad> References: <20240715-pci-qcom-hotplug-v1-0-5f3765cc873a@linaro.org> <20240715-pci-qcom-hotplug-v1-4-5f3765cc873a@linaro.org> <0690964e-fe50-428b-aa84-be298cd6dfa0@linaro.org> Precedence: bulk X-Mailing-List: linux-pci@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: <0690964e-fe50-428b-aa84-be298cd6dfa0@linaro.org> On Mon, Jul 15, 2024 at 09:59:12PM +0200, Konrad Dybcio wrote: > On 15.07.2024 7:33 PM, Manivannan Sadhasivam via B4 Relay wrote: > > From: Manivannan Sadhasivam > > > > 'linux,pci-domain' property provides the PCI domain number for the PCI > > endpoint controllers in a SoC. If this property is not present, then an > > unstable (across boots) unique number will be assigned. > > > > Devicetrees can specify the domain number based on the actual hardware > > instance of the PCI endpoint controllers in the SoC. > > > > Signed-off-by: Manivannan Sadhasivam > > --- > > Hm, perhaps pci-controller-common.yaml could make sense here? > For RC, this property is defined in 'pci-host-bridge.yaml' which is hosted in dtschema repo. And the description of this property varies between host and endpoint, so we cannot use a common one. TBH, endpoint doesn't really need _this_ property as there is no PCIe domain here. But I used this one since it already exist and does the job pretty well. - Mani -- மணிவண்ணன் சதாசிவம்