From mboxrd@z Thu Jan 1 00:00:00 1970 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 9D16F2D8DA3; Tue, 15 Apr 2025 23:27:56 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1744759676; cv=none; b=T3xTEz3ftC0usgrgMrUi3IwT/6Kqy4FW0ryyZcsBTnSsTVSmgoGr7iofPUWJH3vgzpR5awHClaX4lfMBwCP914PFYD/mHoNOcOdAbEOcf0qrx1aC4G6fGZLswKCV/J/JKv+NUxhGEePFw4jLUGN/aeICF7YXbktlgCCT1+Cnsng= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1744759676; c=relaxed/simple; bh=xFZThZAwd6sgcs4jLPlvefAr9HMS2oFrx8khX6DALzw=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=Lz6UZp8+OHywzTANf01h353/3ZhLG7EjppU0fmfllUgJE62vXVZlW7XyYGqHypPdEM7jWidPPtQgfla+LyOxGbe11OBHK1TlDW+eIEBPtAimcsqQft/XP1GRSsvOWdYh7SQT90FTdH5a9R8Gd5xT33+/KHAPaCK4rpqsSAinM0k= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=s55FM5NH; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="s55FM5NH" Received: by smtp.kernel.org (Postfix) with ESMTPSA id E5ACEC4CEE7; Tue, 15 Apr 2025 23:27:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1744759676; bh=xFZThZAwd6sgcs4jLPlvefAr9HMS2oFrx8khX6DALzw=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=s55FM5NHKn9UWkQGkkp3Lm71ct0k86m3v6URIEpcNFl91F7Um+aotyx9yOzTJEU/C bCkdTGLxKsY6W+ndO+e6/hXMooFhnlfJY5LpwR1onOAYr0gBQ9DAV8V+Rr6jHBwZuC X2W2XJ+xuH5aW8+bEM31KoE18yb94akbx2TcOPeuDe9V0PclQsAQqm1fnLMKy9FzFf bmMiAYOSIqfORFs6S/iZaz5r3JImTARJzvxrhHxBZKVAOrOQyqBFmIg0S2CR9BAUAV 75QpbV+iJ8pN/TffgLnQF5hfJWho48CMjNbLQ4qrrjetIzhgLmvqhXgH4H97ZUpWms aAp1Zzix7Hqcg== Date: Tue, 15 Apr 2025 18:27:54 -0500 From: "Rob Herring (Arm)" To: Frank Li Cc: Conor Dooley , Shuah Khan , Krzysztof Kozlowski , linux-pci@vger.kernel.org, Marc Zyngier , imx@lists.linux.dev, Thomas Gleixner , devicetree@vger.kernel.org, Anup Patel , Kishon Vijay Abraham I , Lucas Stach , Danilo Krummrich , Sascha Hauer , Manivannan Sadhasivam , Lorenzo Pieralisi , Pengutronix Kernel Team , dlemoal@kernel.org, linux-arm-kernel@lists.infradead.org, Richard Zhu , "Rafael J. Wysocki" , Krzysztof =?utf-8?Q?Wilczy=C5=84ski?= , Bjorn Helgaas , linux-kernel@vger.kernel.org, Fabio Estevam , Arnd Bergmann , Greg Kroah-Hartman , Niklas Cassel , jdmason@kudzu.us, Shawn Guo , linux-kselftest@vger.kernel.org Subject: Re: [PATCH v18 04/15] dt-bindings: PCI: pci-ep: Add support for iommu-map and msi-map Message-ID: <174475967369.1016540.6220438967935307132.robh@kernel.org> References: <20250414-ep-msi-v18-0-f69b49917464@nxp.com> <20250414-ep-msi-v18-4-f69b49917464@nxp.com> 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=us-ascii Content-Disposition: inline In-Reply-To: <20250414-ep-msi-v18-4-f69b49917464@nxp.com> On Mon, 14 Apr 2025 14:30:58 -0400, Frank Li wrote: > Document the use of (msi|iommu)-map for PCI Endpoint (EP) controllers, > which can use MSI as a doorbell mechanism. Each EP controller can support > up to 8 physical functions and 65,536 virtual functions. > > Define how to construct device IDs using function bits [2:0] and virtual > function index bits [31:3], enabling (msi|iommu)-map to associate each > child device with a specific (msi|iommu)-specifier. > > The EP cannot rely on PCI Requester ID (RID) because the RID is determined > by the PCI topology of the host system. Since the EP may be connected to > different PCI hosts, the RID can vary between systems and is therefore not > a reliable identifier. > > Signed-off-by: Frank Li > --- > Change from v17 to v18 > - mask max value should 0x7ffff > - order according to property name > > Change from v16 to v17 > - new patch > --- > Documentation/devicetree/bindings/pci/pci-ep.yaml | 68 +++++++++++++++++++++++ > 1 file changed, 68 insertions(+) > Reviewed-by: Rob Herring (Arm)