Received: by 2002:ab2:1689:0:b0:1f7:5705:b850 with SMTP id d9csp1429959lqa; Mon, 29 Apr 2024 08:15:24 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCW+JSOPJ9P/TIMcL8mWNKoeufHJv0JNbayWr1iDhZl1ZHkx6KMOKDRlK/Af+1+t3BysMCFtqg2WduO5E0xdf0X3Th2pDjFSXajVkleMqw== X-Google-Smtp-Source: AGHT+IEuY2zq7SPnh+NJm70AE+B77R13sE92hiPtl9JjpWn9p+SQwu8sgWuUYyvWhwg1iqVGG7gf X-Received: by 2002:a17:90a:d397:b0:2a2:930c:9a8f with SMTP id q23-20020a17090ad39700b002a2930c9a8fmr9894211pju.32.1714403724664; Mon, 29 Apr 2024 08:15:24 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1714403724; cv=pass; d=google.com; s=arc-20160816; b=D9ISqpdWqOPgSx9ygUjnp0UAZlBOdS/5PwHvdCQYW3i10B/H1lJqej3kJbmKTuv+1a s3LsAmW1CJawGIc7B/+izSlaVcE+XZ0YIaYob1C8BfeWVci4EyHqcZJzrVqk/Kr852ab 21J1XXrjqK68xhK9PwygFVPL4o9/4WBu1s8BQnJBW1SrlGKRn7jNoatLUU6DpP3u2yxd 66yl0xujZyoiajiqtCr7Tmon22q02iVuABjpsObQiW732Wnb0W/KODNl4UF9PQTjD9Y1 RPFsmjCuUIJ3ylaHo8UTRRlHwsaUgfhEVWIh2IvmQZgZaTb19+hOKXBF7waMrM6HgX2U KcWA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=J3MkBQveSqbgv1qLwife74C/OufxRRTfwIrGIDwboyw=; fh=u4edG9a8GeNtK8v7kfk54ZZDYIo7KDCNxPlpxdlA500=; b=zNNL2uf/OtFbuKgKLZx0br6/jo2xpnGVuloW+uEY67P+Y0RJ6CylWxKMoHOKupj5Mu SFYlyu/98+zG6ZroYfK1pJhDEz77fe/Z0yJeA95ENcak102+EbVvE++SCzEO7DrA9Kz7 CFQ/cLAOoFhmO9ZM/MlmIl4t7dTnnomNJJ9ULIyFpba+F6QDogN/Sr/H0gUSBmeEKXxX W6U+agtpjLWQqOK6T4inBSvawg7vHkZiEIt200/uq81+8KRtexRjMiDjcvgf5dpyEQ8c sprrAA0yP5/Hi/GPLun4AT5OAIw9Rm1ppGAHyUyas102dwBfZEYfS72la/qYUpwHaU/e B7NQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=scBbbaYA; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-162538-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-162538-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id nv5-20020a17090b1b4500b002a53a81c01bsi20556402pjb.134.2024.04.29.08.15.24 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 29 Apr 2024 08:15:24 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-162538-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=scBbbaYA; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-162538-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-162538-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 163A728123B for ; Mon, 29 Apr 2024 15:13:25 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 2AE6983A0E; Mon, 29 Apr 2024 15:06:06 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="scBbbaYA" 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 3D59281724; Mon, 29 Apr 2024 15:06:04 +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=1714403165; cv=none; b=VUv4YSXsTURjy0OWas2sEsRkklkIue7koVEka9EyScBFC8n/Yexe+P5pcFRjrUtwk+tbtqOCMVM532SelxQbsXYmgIPWXFSaG/JmLw9wDZWsJSYYpAWXjjvHSRgnOuseQHO6QlzxtBpe0J5GZf/M76k7PPIh/z3yF4DQ5/dvCYs= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714403165; c=relaxed/simple; bh=1OdOnmCWuTc9Eh7r0KmldnxLczyf/ys8U2hdOy5J3N8=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=kMPJ7dbD3epwO9lTvtf4OIfjJ14IycEpmOB0FCbUPAN/i9JiradhjaZvmhrDUWjnrSMIIQfoeUiOcuRZJlvEcWGLA6+OQKTao+0oLdUxwA1rIlfLtxunFSgu2zjdLHxIEHsFNAi1RCh/X1WdDCC4g7UD2MEZjIDU3v4nX7EiWm0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=scBbbaYA; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 76D30C113CD; Mon, 29 Apr 2024 15:06:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1714403164; bh=1OdOnmCWuTc9Eh7r0KmldnxLczyf/ys8U2hdOy5J3N8=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=scBbbaYA4rJz5CH8YYOuBSqX07Sw2T/oCE5T93nMfzNOsa4xrjtowT4TWJIOdEgfD AEU8HSykITPmrrDL1xwW4M8vtYYCp+W0D60YJDij0H7YWNtcp//+9OnHoSUu2N4fwK WzjTxTCJk/XLcrBbySwA/EyJ+jEknAzWVGGHo9nmgBFGDnSPGkTmRCMzX8ZmKQjsb2 INKi3UZs5roerA/+i4QCjRO+oPrIEpO5ykRcUCnryGQC8F7SrLJP4+zZoETigtFKJD 9FVjDpofz1g1Z++OK6p0NJwE3rHD0YwM46sWLDI6QcIR5nQoz6tUa7yQR6qsLqwFNd ONIzT38gzFPSA== Date: Mon, 29 Apr 2024 10:06:00 -0500 From: Rob Herring To: Manivannan Sadhasivam Cc: Frank Li , Richard Zhu , Lucas Stach , Lorenzo Pieralisi , Krzysztof =?utf-8?Q?Wilczy=C5=84ski?= , Bjorn Helgaas , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team , Philipp Zabel , Liam Girdwood , Mark Brown , Krzysztof Kozlowski , Conor Dooley , linux-pci@vger.kernel.org, imx@lists.linux.dev, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, bpf@vger.kernel.org, devicetree@vger.kernel.org Subject: Re: [PATCH v3 08/11] PCI: imx: Config look up table(LUT) to support MSI ITS and IOMMU for i.MX95 Message-ID: <20240429150600.GB1709920-robh@kernel.org> References: <20240402-pci2_upstream-v3-0-803414bdb430@nxp.com> <20240402-pci2_upstream-v3-8-803414bdb430@nxp.com> <20240427113643.GM1981@thinkpad> 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=us-ascii Content-Disposition: inline In-Reply-To: <20240427113643.GM1981@thinkpad> On Sat, Apr 27, 2024 at 05:06:43PM +0530, Manivannan Sadhasivam wrote: > PCI: imx6: Add support for configuring BDF to SID mapping for i.MX95 > > On Tue, Apr 02, 2024 at 10:33:44AM -0400, Frank Li wrote: > > i.MX95 need config LUT to convert bpf to stream id. IOMMU and ITS use the > > Did you mean BDF? Here and everywhere. > > > same stream id. Check msi-map and smmu-map and make sure the same PCI bpf > > map to the same stream id. Then config LUT related registers. > > > > These DT properties not documented in the binding. They are in the common binding. Rob