Received: by 2002:a89:48b:0:b0:1f5:f2ab:c469 with SMTP id a11csp1039762lqd; Thu, 25 Apr 2024 04:31:57 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVXc/+T8yUc+/Vg8Rf8PxUg1t4Sy91QKrX1rCB9gCqIY/CUITviKCmGudShA7P+VVTtsIHELyR7VXC6QOtmco5lUtEc586W9FvWgh3Tcw== X-Google-Smtp-Source: AGHT+IHBW4ox8bZ8OSsxjt+g0ZFkFYFTL9dWwro40L/mv40jb+aJyOJB00svPoRW4ooQ5tTdbwum X-Received: by 2002:a05:6a21:279d:b0:1ac:de56:eeed with SMTP id rn29-20020a056a21279d00b001acde56eeedmr3914466pzb.3.1714044717065; Thu, 25 Apr 2024 04:31:57 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1714044717; cv=pass; d=google.com; s=arc-20160816; b=xm1eKroynZQNBju9C+bUx1EONwBQOx+PTeE4c3uH4BYY16QZVzeur/GKCyZx3HTSWv g2KQKTPd2pBlCO5jodu8xBXhMGD5YNig2BNlJO5zL+VKNaOvY40A1cmmKEcXinNGgXE+ LB0Z4ZOUFpMu4WgsYEv9bVQX+y9AACtkyNXz7iS+Mp/5tjU73fqZjqCfumRPKyqHDutL e13Si2uxPK24hGE9gNiryN7ieGkRgnNeJKC2FwDPcG04UC9h2KdSnCyopswu0McCgNMc NdjXrPIW2ciRK80sS3kq+bQ7LzTZ5mUzju7+DQYnGsrcluUYoLxyYCc6cVE/DLcHaRMN Pzog== ARC-Message-Signature: i=2; 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:dkim-signature; bh=QsbB44EeMQGDiOFPnRm6gwdDqQTA+5PLqDVHUcWTTkw=; fh=uZzZ4YFIKMUSeDlQSmCxa8S9+7v7mnNe+kdcEhwQIb4=; b=BN2mN87BnM8yaTKybnvC0IT2954lwlOG5vB6oK7CazrBKJgHnmNQwryM9yc9zIoIbW x7/bHyvRxvz/nSAv/qBS5gu7lnGWgVqW+7DpRl9yit782s69SMpygkO0XQOyeVXiwBGc TRH04k3h4f4+O7dpmsw4GfnupLuR5k9BY5Yjmflu/qKjiaTQkxXZUBsNnusgrEE47FS0 Ioqm/VRI6ddk42mdn47iI+NQKkTPozu0MBE2c1TVUrgNVnlKRqtrsOkt4US2m0YQETJD 15LWhpypUQydt2Tx78CHiSQshfJtFoJHt8Gsk/6GOXpctDbKO9N+OiSQpFppXLaC3Uvy 7N3Q==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=W7En29Jx; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-158430-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-158430-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (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 l184-20020a6388c1000000b005f807292982si10149333pgd.888.2024.04.25.04.31.56 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 25 Apr 2024 04:31:57 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-158430-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; dkim=pass header.i=@linaro.org header.s=google header.b=W7En29Jx; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-158430-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-158430-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (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 89A76B221D7 for ; Thu, 25 Apr 2024 11:13:27 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 8948484FAA; Thu, 25 Apr 2024 11:13:17 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="W7En29Jx" Received: from mail-ot1-f46.google.com (mail-ot1-f46.google.com [209.85.210.46]) (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 F0B0184E11 for ; Thu, 25 Apr 2024 11:13:14 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.210.46 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714043596; cv=none; b=ugDBcgFoAlWJw5bD8U0JGUQZyVS/PyPL4ortBb8aoR2boOhtA1NGC8u4kS1Bn/yJ9d1jS+y9rPf6ljDz+y9A7ejehuK64ETaH02fUysTU9sDgoqM5Xl4C7gfxLrf2xIo5lcJBuYsru+cPIsHDULcFvXSeItMWqq6Y3MAePVig9w= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714043596; c=relaxed/simple; bh=9KoaB6+HPDJeQljM4fsDBGLmE1iGfG/0qRUTsarWPHA=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=uRAa7qwvcvOa/epSDWOSSq3LKFZq6nsPVe6MSYSU1pijwZVzmqyyEiVK3ImmIyBh3NCAQ8HvN7G239/s43gudORY4L7y8PiNMDXmi9IWVtc59vg0WpD9d39VEP2r0qcvLKO62+om4oSk+avB3XrhlcEfVCQyJvApLHuYNSzMDH0= 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=W7En29Jx; arc=none smtp.client-ip=209.85.210.46 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 Received: by mail-ot1-f46.google.com with SMTP id 46e09a7af769-6ea2ac4607aso425067a34.3 for ; Thu, 25 Apr 2024 04:13:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1714043594; x=1714648394; 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=QsbB44EeMQGDiOFPnRm6gwdDqQTA+5PLqDVHUcWTTkw=; b=W7En29Jx6Z9EtHmbC3mwB/CW+MVtkMDuAgIlrfmDF0mNGAbb+vSfK/4Xbr8SXFsHHA 9e8iyLlNkxni11DD0zn3bWVOJRnEMVm2EUsBJ1EK8qeAc0IWlEf+eY3ZVVsPeTiMOhmS nyy5G33nPu6hJmLNpyQdAa6v1Hd+PVK4edVfJ/rNOOC4KKnp8ee82pqEl+6OizWzzX18 FS7alwGHkS5K7BjyZvWyv1NIUz49e7HKAdDXfTFn7XsGGXhnbIrbT2Mb5e4FafJw6AtM G/ozHhOdt73pVZiZpaIC0Fles+JR2k9uEQU3LNGxV9iu1mcfCi5+RKgDuexcADg5MMdR zgeA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1714043594; x=1714648394; 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=QsbB44EeMQGDiOFPnRm6gwdDqQTA+5PLqDVHUcWTTkw=; b=KvZUoctLuc+0UO1F22KqjneecrgPJZf3HJYvUWVBsRUaEVInUeXmBw227Bhous4po/ wdmi/5Ir0WW0/HqD8oEvNtkXdK7GSaggMuLZ2TRZs/y8Fn6qpoZBJWRGy+4u1aMTtzJD 2dQnuKExu0k8CBXoVsoICpjkJOm4F92yU4kddk3sEQbVDJoZZiNGolL3X+EufndOc6Af I2sttaGzuMKZvBX7leZgW/gaxn6M1vlr2jgTKEhzA+aaaXo7E1dMk6MqMpeis3OFwM7M BftNc4q03gHC4TXpmgpOYHv3dOQGsKghabj8mDLitG+Xj5kON3kt5dr5GyB8XPqckYS+ 1hfA== X-Forwarded-Encrypted: i=1; AJvYcCV/ci5kughoLs8FN3qfZFR+/7h7XkUjT+GHQJ0GJ0JONjfG20UYwwBjM5XIjSlJou00tvArZmDu9cGoxCLdyrB5Dym7YrUYT/BpFDaO X-Gm-Message-State: AOJu0Yy6XiFLWDc2egSzSLswwsMn7DWSvg0r45IdXWZPGV/alLTd33Gl dI+R9nkv4UbBgksX45/6aL6dL72CNfMixDDY/AM8+WdixaJJk7KWZ9Uc/HVPiA== X-Received: by 2002:a05:6870:a119:b0:22e:d324:b888 with SMTP id m25-20020a056870a11900b0022ed324b888mr5826865oae.56.1714043593756; Thu, 25 Apr 2024 04:13:13 -0700 (PDT) Received: from thinkpad ([120.60.75.221]) by smtp.gmail.com with ESMTPSA id fu16-20020a056a00611000b006ecca2f2a32sm12930125pfb.168.2024.04.25.04.13.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 25 Apr 2024 04:13:13 -0700 (PDT) Date: Thu, 25 Apr 2024 16:42:59 +0530 From: Manivannan Sadhasivam To: Frank Li Cc: Richard Zhu , Lucas Stach , Lorenzo Pieralisi , Krzysztof =?utf-8?Q?Wilczy=C5=84ski?= , Rob Herring , 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, Jason Liu Subject: Re: [PATCH v3 00/11] PCI: imx6: Fix\rename\clean up and add lut information for imx95 Message-ID: <20240425111259.GB3449@thinkpad> References: <20240402-pci2_upstream-v3-0-803414bdb430@nxp.com> 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 Tue, Apr 16, 2024 at 10:07:25AM -0400, Frank Li wrote: > On Tue, Apr 02, 2024 at 10:33:36AM -0400, Frank Li wrote: > > Fixed 8mp EP mode problem. > > > > imx6 actaully for all imx chips (imx6*, imx7*, imx8*, imx9*). To avoid > > confuse, rename all imx6_* to imx_*, IMX6_* to IMX_*. pci-imx6.c to > > pci-imx.c to avoid confuse. > > > Mani and lorenzo: > > Do you have chance to look these patches? > Sorry for the delay. Since this is a non-dwc driver, it got into my low priority queue. Will take a look this week. - Mani > Frank > > > > > Using callback to reduce switch case for core reset and refclk. > > > > Add imx95 iommux and its stream id information. > > > > Base on linux-pci/controller/imx > > > > To: Richard Zhu > > To: Lucas Stach > > To: Lorenzo Pieralisi > > To: Krzysztof Wilczyński > > To: Rob Herring > > To: Bjorn Helgaas > > To: Shawn Guo > > To: Sascha Hauer > > To: Pengutronix Kernel Team > > To: Fabio Estevam > > To: NXP Linux Team > > To: Philipp Zabel > > To: Liam Girdwood > > To: Mark Brown > > To: Manivannan Sadhasivam > > To: Krzysztof Kozlowski > > To: Conor Dooley > > Cc: linux-pci@vger.kernel.org > > Cc: imx@lists.linux.dev > > Cc: linux-arm-kernel@lists.infradead.org > > Cc: linux-kernel@vger.kernel.org > > Cc: bpf@vger.kernel.org > > Cc: devicetree@vger.kernel.org > > Signed-off-by: Frank Li > > > > Changes in v3: > > - Add an EP fixed patch > > PCI: imx6: Fix PCIe link down when i.MX8MM and i.MX8MP PCIe is EP mode > > PCI: imx6: Fix i.MX8MP PCIe EP can not trigger MSI > > - Add 8qxp rc support > > dt-bing yaml pass binding check > > make ARCH=arm64 CROSS_COMPILE=aarch64-linux-gnu- -j8 dt_binding_check DT_SCHEMA_FILES=fsl,imx6q-pcie.yaml > > LINT Documentation/devicetree/bindings > > DTEX Documentation/devicetree/bindings/pci/fsl,imx6q-pcie.example.dts > > CHKDT Documentation/devicetree/bindings/processed-schema.json > > SCHEMA Documentation/devicetree/bindings/processed-schema.json > > DTC_CHK Documentation/devicetree/bindings/pci/fsl,imx6q-pcie.example.dtb > > > > - Link to v2: https://lore.kernel.org/r/20240304-pci2_upstream-v2-0-ad07c5eb6d67@nxp.com > > > > Changes in v2: > > - remove file to 'pcie-imx.c' > > - keep CONFIG unchange. > > - Link to v1: https://lore.kernel.org/r/20240227-pci2_upstream-v1-0-b952f8333606@nxp.com > > > > --- > > Frank Li (7): > > PCI: imx6: Rename imx6_* with imx_* > > PCI: imx6: Rename pci-imx6.c to pcie-imx.c > > MAINTAINERS: pci: imx: update imx6* to imx* since rename driver file > > PCI: imx: Simplify switch-case logic by involve set_ref_clk callback > > PCI: imx: Simplify switch-case logic by involve core_reset callback > > PCI: imx: Config look up table(LUT) to support MSI ITS and IOMMU for i.MX95 > > PCI: imx: Consolidate redundant if-checks > > > > Richard Zhu (4): > > PCI: imx6: Fix PCIe link down when i.MX8MM and i.MX8MP PCIe is EP mode > > PCI: imx6: Fix i.MX8MP PCIe EP can not trigger MSI > > dt-bindings: imx6q-pcie: Add i.MX8Q pcie compatible string > > PCI: imx6: Add i.MX8Q PCIe support > > > > .../bindings/pci/fsl,imx6q-pcie-common.yaml | 5 + > > .../devicetree/bindings/pci/fsl,imx6q-pcie.yaml | 18 + > > MAINTAINERS | 4 +- > > drivers/pci/controller/dwc/Makefile | 2 +- > > .../pci/controller/dwc/{pci-imx6.c => pcie-imx.c} | 1173 ++++++++++++-------- > > 5 files changed, 727 insertions(+), 475 deletions(-) > > --- > > base-commit: 2e45e73eebd43365cb585c49b3a671dcfae6b5b5 > > change-id: 20240227-pci2_upstream-0cdd19a15163 > > > > Best regards, > > --- > > Frank Li > > -- மணிவண்ணன் சதாசிவம்