Message ID | 20240708-pci2_upstream-v7-0-ac00b8174f89@nxp.com (mailing list archive) |
---|---|
Headers | show
Received: from DU2PR03CU002.outbound.protection.outlook.com (mail-northeuropeazon11012034.outbound.protection.outlook.com [52.101.66.34]) (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 01D1B1487F6; Mon, 8 Jul 2024 17:08:26 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=52.101.66.34 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1720458510; cv=fail; b=lYlGKT1aWl5X57V1E1mZQxsYWyMNPM9xcQIekc5vxtmUNWadP5/FLZoIriEffqe9c9HpAS/0G9/TlsDL0AX/iSYU8G5MG6OnfxnvO44LBSKjIxomNloR4nhXbsma0aZXRWQVEMy0OE83/YZAV9RpgC15OLwdBUuyFJou4WrjWhg= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1720458510; c=relaxed/simple; bh=oJdpnvFrwzNO20vBsTXtf1b6RdeVWZxj8gmAXLfTPjo=; h=From:Subject:Date:Message-Id:Content-Type:To:Cc:MIME-Version; b=bZiaCTVZk+xOKBhmbP5l1aPnRQB20j60TVZpb9uOm5/El2IzdvdPUfmjbMxHSKP3MzptzCpC6U/L0l0vxPE718yFBLPj/pb+q5wwGJIPSJFppGIt0r3mYvmHK56/RKcmPWko4HOOsjKzduz8aET4Hr3TtkFSTQUz8KU5SFpq4Rw= ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=nxp.com; spf=pass smtp.mailfrom=nxp.com; dkim=pass (1024-bit key) header.d=nxp.com header.i=@nxp.com header.b=ktxsFH2f; arc=fail smtp.client-ip=52.101.66.34 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=nxp.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=nxp.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=nxp.com header.i=@nxp.com header.b="ktxsFH2f" ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=gc2BudVVbFnpAhm4RXcW8q4nKWAI8cxb/8gCHQLFhiNOIX4JlP1ZQct2Sr2ixUwLz3DnoKpKNwVY/N1sYDKm0M33qtrdUI4OV866nhAXSMFHwmKWcR8JwSajZFndAPpUe7OG+ni5hEcgTX9tdXWRnspZnM9DAe2G9u37dORn32GJoYzzfT3T0Kg+5nhk/+Yn6ML27moTyOtaWdGyzqglCcYP/tjH3Pa/oE7Vz9xo0Y48d3F/IrN5BMlP7fc+ZvRTX2wW3jsYdoJ/++idnXPyeSArP/txTwoTtOErWm4tqhxXFMWAexYyRFmaDEHWZwvHWuSvo00c9PVWYv7hPNORfA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=9AHFoolGVa6F/eMqcRtTi3hGdiBLvFPvivikGVbUnL8=; b=L65Y/lLCJX9uUz7a/NJQQrvKOLwQNMyIoX8YHIIMA8JaFM+3kfDCyeYEW/0LSUehfQPyK0p2cHAPWpxnVjQ1+DyW9bVhxmQXRo1+/jgGv8d2ITYZ1zIdUVt9ydcbpk3svEiQQ3OrzlzY9YukCwyTHx+HMVRIPAsadP6EYz9nQoIIwVjp/nQLRIczOYXMVUOERkG/ytEQAq2Jbf3FJAsA36aswPBB60qsiT6OC0YaSCCahVk/YhxOp74GmdSRYS8bSeDECGXCOLxv7NDr1vOFVmZ57l0ihUAjjGuL73oPiDK76RTypVA4QVWpssRXM4c41GGgo2WSwp84KFKjaJy/cA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nxp.com; dmarc=pass action=none header.from=nxp.com; dkim=pass header.d=nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=9AHFoolGVa6F/eMqcRtTi3hGdiBLvFPvivikGVbUnL8=; b=ktxsFH2f4jTysCb5ciaiSD6IDeGArRPHShgt9V7S/4410IoJ8PE6qjznnANZ8P390t+AurVV0mrC1bdB2S+bwnBxgUb+7M9K2AtyGtim+nCXNYEQQDZ2SoKjX6FOiHw2u5V5mZYPuivIAVfX2jM8SghFwgxmF1e4Ak1RYwbvyd0= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nxp.com; Received: from PAXPR04MB9642.eurprd04.prod.outlook.com (2603:10a6:102:240::14) by DBBPR04MB7867.eurprd04.prod.outlook.com (2603:10a6:10:1e5::6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7741.35; Mon, 8 Jul 2024 17:08:23 +0000 Received: from PAXPR04MB9642.eurprd04.prod.outlook.com ([fe80::9126:a61e:341d:4b06]) by PAXPR04MB9642.eurprd04.prod.outlook.com ([fe80::9126:a61e:341d:4b06%2]) with mapi id 15.20.7741.033; Mon, 8 Jul 2024 17:08:23 +0000 From: Frank Li <Frank.Li@nxp.com> Subject: [PATCH v7 00/10] PCI: imx6: Fix\rename\clean up and add lut information for imx95 Date: Mon, 08 Jul 2024 13:08:04 -0400 Message-Id: <20240708-pci2_upstream-v7-0-ac00b8174f89@nxp.com> Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit X-B4-Tracking: v=1; b=H4sIAPQcjGYC/3XOTW7DIBAF4KtErEs1DL/uqveoogoDbljEtiC1E kW+e8fZOHbU5Rvxvced1VRyquzjcGclTbnmoadg3w4snHz/k3iOlBkCKkC0fAwZv3/HeinJnzm EGEXjhRZGMjJjSV2+Pvq+jpRPuV6GcnvUT2K5/tc0CQ68bTR2TkppwHz21/E9DGe29Ey4Wglqb 5Gsj2CDTq2Jxm6tXC0t760k60AqodrYKglbq1ar4eXPimxywUF0lh7sdvWTRbe3mqzV4L1NsXU Jt9as1oiXXbPsgkOB0nVN87Q7z/MfPdyn5dQBAAA= To: Richard Zhu <hongxing.zhu@nxp.com>, Lucas Stach <l.stach@pengutronix.de>, Lorenzo Pieralisi <lpieralisi@kernel.org>, =?utf-8?q?Krzysztof_Wilczy?= =?utf-8?q?=C5=84ski?= <kw@linux.com>, Rob Herring <robh@kernel.org>, Bjorn Helgaas <bhelgaas@google.com>, Shawn Guo <shawnguo@kernel.org>, Sascha Hauer <s.hauer@pengutronix.de>, Pengutronix Kernel Team <kernel@pengutronix.de>, Fabio Estevam <festevam@gmail.com>, NXP Linux Team <linux-imx@nxp.com>, Philipp Zabel <p.zabel@pengutronix.de>, Liam Girdwood <lgirdwood@gmail.com>, Mark Brown <broonie@kernel.org>, Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>, Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>, Conor Dooley <conor+dt@kernel.org> Cc: 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, Frank Li <Frank.Li@nxp.com>, Jason Liu <jason.hui.liu@nxp.com>, Conor Dooley <conor.dooley@microchip.com> X-Mailer: b4 0.13-dev-e586c X-Developer-Signature: v=1; a=ed25519-sha256; t=1720458497; l=5867; i=Frank.Li@nxp.com; s=20240130; h=from:subject:message-id; bh=oJdpnvFrwzNO20vBsTXtf1b6RdeVWZxj8gmAXLfTPjo=; b=RwfWdQT2Lp0uhLOnkMhSlMJj1IIM7OATlEdLnTlw1uNGhwBjk98gok1HEIrpEcBHIO+KvIeQ4 qLm6hXKd06lCHNhp7UrjkiV47PuOXHdJIbOwcDbazSsE46SB6gONUeM X-Developer-Key: i=Frank.Li@nxp.com; a=ed25519; pk=I0L1sDUfPxpAkRvPKy7MdauTuSENRq+DnA+G4qcS94Q= X-ClientProxiedBy: SJ0PR13CA0198.namprd13.prod.outlook.com (2603:10b6:a03:2c3::23) To PAXPR04MB9642.eurprd04.prod.outlook.com (2603:10a6:102:240::14) Precedence: bulk X-Mailing-List: linux-pci@vger.kernel.org List-Id: <linux-pci.vger.kernel.org> List-Subscribe: <mailto:linux-pci+subscribe@vger.kernel.org> List-Unsubscribe: <mailto:linux-pci+unsubscribe@vger.kernel.org> MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: PAXPR04MB9642:EE_|DBBPR04MB7867:EE_ X-MS-Office365-Filtering-Correlation-Id: 93352382-50cd-486a-8132-08dc9f70933c X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|366016|376014|52116014|7416014|1800799024|38350700014|921020; X-Microsoft-Antispam-Message-Info: =?utf-8?q?w3mjDQSe09SCS/50z2OrDKYykcMUUh4?= =?utf-8?q?VFFO5KNwes2u/Vdi9DJFWg+iQhNinvy7xzCRaG38hPPmM9esAfql6JXQh99PjpCxJ?= =?utf-8?q?fY6k7jW/bkmEykHILXxqjisHhM70WpgAeShEbAdBoQSW/3jDOaZ7h0M92MOyAhnd/?= =?utf-8?q?qFhJrJj9Pt1i/+HCQBOk3PWQrLjwiy2HFio20gGlPjVt/oPT1AYK51ZqxGetU9YjS?= =?utf-8?q?gmya8Oft5JCcSHHGCnCGiGPv7+EJPU5356mSHjfr6++Ib9Djn5DQ35EHBe5pLChxI?= =?utf-8?q?0/fMVu97ijFKopsWOv/tW78v3XwFhBdT6O4GHK1+0oTBOJYRPpN5IBSTpklSik/+a?= =?utf-8?q?+ZMEMoftjnWtrACFAvr/GiEeWMaYnAT5nJktB0LMsGOl3I9RoGV1cSCaDlGiR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DnkiT?= =?utf-8?q?aEw86Ld4LaFxn8QWSoYUpervBxG3UTdgaWL5IPzshBYyANQEYXsnJL3yYNKhgA0pW?= =?utf-8?q?YySVakkJlzS2?= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:PAXPR04MB9642.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230040)(366016)(376014)(52116014)(7416014)(1800799024)(38350700014)(921020);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?p/8SyTrdil9T79uk6/UB7JdJyvWF?= =?utf-8?q?kXVFVKF5yIFX9mtUd7EgJYY6w9cFlhcILy7b10u6mMy7Fpa8jFdpV1Rqsp+FQqH3m?= =?utf-8?q?4D08Z7leqa8L0nBoC5GVeBwRIgytYOcolJmCWgYXSu8HpabIm7iHkKfXn2LCC/Ppj?= =?utf-8?q?kZ+TmFIWj5jjyZ+njcFwfXxRItHB0fDAF2v8XO+QrySNm+u2eGMAytHz+PVTTMM8q?= =?utf-8?q?65bhv/6QWAbyKcCEx68C2bM7tZWNPey5Vzo9OVo+ujrTYMZgQO/Bo92DwtHsUJ+oq?= =?utf-8?q?SL5jkeiyaAbEAUyG7icyzMz6Fj5tFBZSfxiTpFphkEqeZj+XSHlb792Ok6iojCADG?= =?utf-8?q?JEc3FvHeWtguHm5cczvsTvofmCjqS8cIyBwDOrG8wOY/kU0kCvyYbyZ43B/fjso2G?= =?utf-8?q?g4juG+RvnPoEvYysMx8L7CW6Tfnj7DzYKxDoov0WZJTjAxr8TB+UgbVTwREsCzBdf?= =?utf-8?q?c45dulRPes59cXvhslC262ggo+1NYiczA4NExmB0AwZQB5kDEqvRS/F5Sq7j6b3wk?= =?utf-8?q?DoUrypeLTZUJl34nQeTKhG6C36rv9XADtKVvnVCN5wOBb6k/6qVvV2jcv0wcUr4G2?= =?utf-8?q?p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T7P2Ax5rV2jkyY035WR0DIWmeY9TOI8zH7+ey39/bAFTYT67yzATcNRk=3D?= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 93352382-50cd-486a-8132-08dc9f70933c X-MS-Exchange-CrossTenant-AuthSource: PAXPR04MB9642.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 08 Jul 2024 17:08:23.6444 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: /pBAbaaNQT7Rc3vDefr605EshAiqQOXwMZ5DerBEysLa9CfOYdnEFIn/PabIjBGKaDyGCvnYNqVth8H0D3+jFw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DBBPR04MB7867 |
Series |
PCI: imx6: Fix\rename\clean up and add lut information for imx95
|
expand
|
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. Using callback to reduce switch case for core reset and refclk. Add iMX8QXP and iMX8QM support. PHY driver ref: https://git.kernel.org/pub/scm/linux/kernel/git/phy/linux-phy.git/commit/?h=next&id=82c56b6dd24fcdf811f2b47b72e5585c8a79b685 Base on linux 6.10-rc1 To: Richard Zhu <hongxing.zhu@nxp.com> To: Lucas Stach <l.stach@pengutronix.de> To: Lorenzo Pieralisi <lpieralisi@kernel.org> To: Krzysztof WilczyĆski <kw@linux.com> To: Rob Herring <robh@kernel.org> To: Bjorn Helgaas <bhelgaas@google.com> To: Shawn Guo <shawnguo@kernel.org> To: Sascha Hauer <s.hauer@pengutronix.de> To: Pengutronix Kernel Team <kernel@pengutronix.de> To: Fabio Estevam <festevam@gmail.com> To: NXP Linux Team <linux-imx@nxp.com> To: Philipp Zabel <p.zabel@pengutronix.de> To: Liam Girdwood <lgirdwood@gmail.com> To: Mark Brown <broonie@kernel.org> To: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org> To: Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org> To: Conor Dooley <conor+dt@kernel.org> 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 <Frank.Li@nxp.com> Changes in v7: - rework commit message for PCI: imx6: Fix i.MX8MP PCIe EP's occasional failure to trigger MSI - Add Mani's review tags for patch 1, 5 - Fix errata number in commit message for patch 6 - replace set_ref_clk with enable_ref_clk in patch 4 - using regmap_set(clear)_bits in patch 4 - Use exactly the same logic with original code at patch 4 - Add errata doc link for patch 6 - Fix miss "." at comment form patch 6. - order include header for patch 9 - use cap register to set_speed for patch 9 - use PCIe in error msg for patch 9 - Remove reduntant ':' at patch 9' subject. - Change range to ranges for patch 10. - Change error code to -ENODEV for patch 10. - Link to v6: https://lore.kernel.org/r/20240617-pci2_upstream-v6-0-e0821238f997@nxp.com Changes in v6: - Base on Linux 6.10-rc1 by Bjorn's required. - Remove imx95 LUT patch because it need more time to work out the solution. This patch add 8qxp and 8qm and support and some bug fixes. - Link to v5: https://lore.kernel.org/r/20240528-pci2_upstream-v5-0-750aa7edb8e2@nxp.com Changes in v5: - Rebase to linux-pci next. fix conflict with gpiod change - Add rob and cornor's review tag - Link to v4: https://lore.kernel.org/r/20240507-pci2_upstream-v4-0-e8c80d874057@nxp.com Changes in v4: - Improve comment message for patch 1 and 2. - Rework commit message for patch 3 and add mani's review tag - Remove file rename patch and update maintainer patch - [PATCH v3 06/11] PCI: imx: Simplify switch-case logic by involve set_ref_clk callback remove extra space. keep original comments format (wrap at 80 column width) update error message "'Failed to enable PCIe REFCLK'" - PATCH v3 07/11] PCI: imx: Simplify switch-case logic by involve core_reset callback keep exact the logic as original code - Add patch to update comment about workaround ERR010728 - Add patch about help function imx_pcie_match_device() - Using bus device notify to update LUT information for imx95 to avoid parse iommu-map and msi-map in driver code. Bus notify will better and only update lut when device added. - split patch call PHY interface function. - Improve commit message for imx8q. remove local-address dts proptery. and use standard "range" to convert cpu address to bus address. - Check entry in cpu_fix function is too late. Check it at probe - Link to v3: https://lore.kernel.org/r/20240402-pci2_upstream-v3-0-803414bdb430@nxp.com 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 (6): PCI: imx6: Rename imx6_* with imx_* PCI: imx6: Introduce SoC specific callbacks for controlling REFCLK PCI: imx6: Simplify switch-case logic by involve core_reset callback PCI: imx6: Improve comment for workaround ERR010728 PCI: imx6: Consolidate redundant if-checks PCI: imx6: Call common PHY API to set mode, speed, and submode Richard Zhu (4): PCI: imx6: Fix establish link failure in EP mode for iMX8MM and iMX8MP PCI: imx6: Fix i.MX8MP PCIe EP's occasional failure to trigger MSI dt-bindings: imx6q-pcie: Add i.MX8Q pcie compatible string PCI: imx6: Add i.MX8Q PCIe root complex (RC) support .../devicetree/bindings/pci/fsl,imx6q-pcie.yaml | 16 + drivers/pci/controller/dwc/pci-imx6.c | 1005 +++++++++++--------- 2 files changed, 553 insertions(+), 468 deletions(-) --- base-commit: 48f0407456e4e68319a5cfcf409ceb57902acc54 change-id: 20240227-pci2_upstream-0cdd19a15163 Best regards, --- Frank Li <Frank.Li@nxp.com>