From patchwork Tue Dec 3 23:27:14 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Frank Li X-Patchwork-Id: 13893078 Received: from EUR03-VI1-obe.outbound.protection.outlook.com (mail-vi1eur03on2054.outbound.protection.outlook.com [40.107.103.54]) (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 0FCFA1AE00E for ; Tue, 3 Dec 2024 23:27:34 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.103.54 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1733268457; cv=fail; b=MW6xP75SNjwlHWJkxvPFsiz/kXqZOWZIGqUTnkbF+MKScWSg11zOO/icuDSiRwCwIQUZjv9KsYZLjOetf5CH+j3BYKGyXv5kS6LmrsR7NQLoW5qat/QHHwXuyi7hgeUuJVk2vQjNIt9AhngKYc0axOWqEFDP4vLvtj2IUMDF0OI= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1733268457; c=relaxed/simple; bh=shOHe7cmTF1H6vKadfS0HmYw8AgCeZm86jLE6+lRuW0=; h=From:Subject:Date:Message-Id:Content-Type:To:Cc:MIME-Version; b=eMLY0mB7IaSNO1bsVbYNoZ4dRGGG16A8GCPXdFX7SQ/8KKAVDqntqt3JDU1R2yqeINlupcAj3+1SaviWwyGJrlhkX/hOoZl89G7vj3oPPFKIDjImVNBxwurZNXor4fKsebkZ2yC9zsxRU2ifL0DTLeB4meZoTrPKPEoJZpwNc2E= 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 (2048-bit key) header.d=nxp.com header.i=@nxp.com header.b=HixhssCB; arc=fail smtp.client-ip=40.107.103.54 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 (2048-bit key) header.d=nxp.com header.i=@nxp.com header.b="HixhssCB" ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=x2G3EpSTQzknsTXms4LBl9O7O/qDSRlFI2htdn/HxkhWr7MhhUeYTizRG8JIBOTR2ezM+hQf2/dOc2Ux6xA2rWPcJ9X9pwW12y74rryxWwvoZG+0/3ZEamhb2L1MkMD8oLzXG/s+vY8ujqcALLdHnVpGK6BifVhbHW8VJoXk27nCrzCj6q8qDVTKeOO9+q2ADfBN6gEEJJTqnVYjVw5QqbeKpMUmOw6Je87A4sWcusDnvPnZO60GVQmZAEmmk3T0GMMZZvF6JeAfOJXr+XLomDCtLB3FxNkB57c5WwPAtMDOGfBVkVN1ZDkkxfbEHI5IJ7o6YNqv2OAv/JAyegmXFQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; 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=OOTTAJFcSrB46TDyuVyN4UfDPuhoFiUbIOqMeTRxmxo=; b=UAs+tngQz2qIZr/5wTZmS4Mt/QnNzRUawalX+vb9OXtM6oT9QPTyOM+3h0z5JzKTJ2zJ+qXs51wlSouBU3bPtKpQryx7xe/K0xrH2yJsOoG/HI4j0yeUIiDqjEc5X/NPopLFLZCPXp/SStRTKre+hqscgkudfaxk1xYw9FL9z5AGSxfu+3VIXF8Ie+MM0lnNtas95Ils+7Tss3yeOna7UoyG7qtOqvBbMc9gSj7D8I2NN2UbAoS9MOzj7PHzoRnSoWLXhrtZHOB+0fk4kz3SADfwdRrhNC9INC1sogpno6a8cSHXFOOg88kOIgpUAh6Rgc/JnE0R+y/251hXSmrOnQ== 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=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=OOTTAJFcSrB46TDyuVyN4UfDPuhoFiUbIOqMeTRxmxo=; b=HixhssCBsRcH/Lhxa+etzZfBtdk4PRw4PFOZJ65UOJ4v2GwDDdmJQyQVFyNpyEe/tbiAFSDG+ZqeAEoypYuETY+LCxgiK1grBwp2pjnS8RSv8JljpJ8AMUVDxPcC+CMZt+HlVSbT1Pa9HRrThI2u+OiVHmST5oLsyOUDk6CaqKEyomD585c5PE/xWzPBfFsx1tvGdX72g2D5Gk+qAO+wd6P4vCovNxkRbCCvF0WLgXDwIJ+YHX0lXXCBJjQKdFxirSA5lOced3iDwd8ugwqijDHe3qYVqvNznv2fGa8h38eYh1Z5LEooYRLE4xbBCoO9DZ7oC9XIikQc6iOyG8z1jA== 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 PAXPR04MB8846.eurprd04.prod.outlook.com (2603:10a6:102:20d::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8207.19; Tue, 3 Dec 2024 23:27:31 +0000 Received: from PAXPR04MB9642.eurprd04.prod.outlook.com ([fe80::9126:a61e:341d:4b06]) by PAXPR04MB9642.eurprd04.prod.outlook.com ([fe80::9126:a61e:341d:4b06%5]) with mapi id 15.20.8207.017; Tue, 3 Dec 2024 23:27:31 +0000 From: Frank Li Subject: [PATCH v7 0/2] PCI: add enabe(disable)_device() hook for bridge Date: Tue, 03 Dec 2024 18:27:14 -0500 Message-Id: <20241203-imx95_lut-v7-0-d0cd6293225e@nxp.com> X-B4-Tracking: v=1; b=H4sIANKTT2cC/23PTWrDMBAF4KsErasyM/qzsuo9SiiSLTWCxg52Y lyC795JFo1cupjFG/S9QTcxpbGkSex3NzGmuUxl6Dm4l51oj6H/TLJ0nAUBafBkZTkt3nx8XS8 SW9sQUQKvteD35zHlsjy63g+cj2W6DOP3o3rG+/a/lhklyA5aS9C4Lob41i/n13Y4iXvHTJVTU Dtip6LV1sVglA9bp34d8tROsXMGfOsjX2vs1umnQ8DaaXaQu+wD5eSM3jpTu809wy6n6B1llVH 9+Z+tHDa1s+wCeYMxoFLaPd26rj/p/6NTuAEAAA== To: Bjorn Helgaas , Richard Zhu , Lucas Stach , Lorenzo Pieralisi , =?utf-8?q?Krzysztof_Wilczy?= =?utf-8?q?=C5=84ski?= , Manivannan Sadhasivam , Rob Herring , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam Cc: linux-pci@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, imx@lists.linux.dev, Frank.li@nxp.com, alyssa@rosenzweig.io, bpf@vger.kernel.org, broonie@kernel.org, jgg@ziepe.ca, joro@8bytes.org, l.stach@pengutronix.de, lgirdwood@gmail.com, maz@kernel.org, p.zabel@pengutronix.de, robin.murphy@arm.com, will@kernel.org, Robin Murphy , Marc Zyngier , Frank Li X-Mailer: b4 0.13-dev-e586c X-Developer-Signature: v=1; a=ed25519-sha256; t=1733268445; l=4531; i=Frank.Li@nxp.com; s=20240130; h=from:subject:message-id; bh=shOHe7cmTF1H6vKadfS0HmYw8AgCeZm86jLE6+lRuW0=; b=x67FwKFG1Dh5ZuuWUNWjgoFPP69OcwvtOXTdLB9D2WDL0GVZM6Ek/SHWjDVWaN8Jo+xiua2MN BrzU7O+8RnBC513OalS+4B09KkXTsftem8gAeiC00FSYHtgpUmyZ5KZ X-Developer-Key: i=Frank.Li@nxp.com; a=ed25519; pk=I0L1sDUfPxpAkRvPKy7MdauTuSENRq+DnA+G4qcS94Q= X-ClientProxiedBy: SJ0PR13CA0128.namprd13.prod.outlook.com (2603:10b6:a03:2c6::13) To PAXPR04MB9642.eurprd04.prod.outlook.com (2603:10a6:102:240::14) Precedence: bulk X-Mailing-List: imx@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: PAXPR04MB9642:EE_|PAXPR04MB8846:EE_ X-MS-Office365-Filtering-Correlation-Id: 851c7ae7-e270-4395-e6e7-08dd13f20f27 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|1800799024|52116014|366016|376014|7416014|38350700014|7053199007|921020; X-Microsoft-Antispam-Message-Info: =?utf-8?q?gxdXl6VvM6Te5PHCf/mh/Oz2vv6i2R0?= =?utf-8?q?j8z3vFY04N6k+R4g+LWU03YCMswKXsj3wiIzWPIYhjoSvkJjx8NuJX8zj9RV47JZU?= =?utf-8?q?OnW3TSook/bVqd0/q541HQWTPOKz4ElOf+PYOz/+8E/0nS6JRRvJeeRf8uGHAHDZi?= =?utf-8?q?aDWtIYSLZRLn/JdZBLF5wjRND4l2KNV0ZTcnPmKAO+SB8A3LIIOA/29Zzwvfl7pMS?= =?utf-8?q?OioOlVlmQHLwP+U/SvllkbhsBCiBcQvnIQ2NUVfqcagiy/Bw6ufKJnzED3aVSwvs7?= =?utf-8?q?oSHPi14crW4ZG+WiRfEJ9QKdPQmIDBg3bew6Xd0/3S67JD6+T+ivHDXH6Hdqt+frw?= =?utf-8?q?tT7aqpnOe4XqKQzZUHaErEnv0ugYLR/RVD56BvK7s94X2EOIQ6E+ykvpRPckARghY?= =?utf-8?q?N8I5S18RTXAi6BnUU3Nwz1ercwYxJDfOhoarbYyW4U28dDp+/MkjFSbLb41a50P6U?= =?utf-8?q?3BNil9xDL1SOP5VET6JparDwV+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R+gwp7zKCgdJctsomgA=3D?= 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)(1800799024)(52116014)(366016)(376014)(7416014)(38350700014)(7053199007)(921020);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?V2diXMv8o4eFFjPP514iB+r0KsLO?= =?utf-8?q?YkalzO+0FT/RnmaOypCze8J5RlA9PLBSdjDQvhYG5qXuJc3P1dL4HiCiyptkUjnTM?= =?utf-8?q?1iAjgoXGobiCBlJ9s2EQlyRF2ua8wjC54gcIolb5HZ7imj5P7Y328xyJp9IR672f2?= =?utf-8?q?U0x9oqGo309D5CBFhcySPwtNVoxWbC76O5s69Ocxq+Z82abYyGy7XNtPZhTCRAPRd?= =?utf-8?q?OFrWyk/wqlenETURuRT6A9KNeIfmNIL/Vv3OHf/J6jTyabIlJR4/1SrXOulp3m/l2?= =?utf-8?q?YN/mo6MBSGipK+fGHmTCmW/bFc30RY+GOKGzk0t4LyS0VAFodYE6/JKFdCfn7z03I?= =?utf-8?q?Rv9rvEXuvysu2WtHxPkT0c/8g8WAJAwKgl+ywu8xEIj30vsi8KTVlXzs59ed1W9sH?= =?utf-8?q?M0qNK5gj+Ee9rX7fkIvjJUCKib9wLy1gzdeh/r9cy+t76KHvri58nQ+jAyEiJTqkZ?= =?utf-8?q?Pa2xczvFQmRzCJoSgoegSbpe5zIUIB+wmLgLx+vpFCEbTJU0GVNbnNyMzNMtRL/PP?= =?utf-8?q?oYpEJw04VMf4MQxRgHoQVNDReNLdyqBrcauas3dkJimF2lIh2h05tVa8geRjC6r3e?= =?utf-8?q?Va5vVqBidK5PlcVtz2Lakltnef20wll8S+hghVfo7Nfi6VbHnU1T36tpZ1060TwN/?= =?utf-8?q?zZSxtcqPr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X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 851c7ae7-e270-4395-e6e7-08dd13f20f27 X-MS-Exchange-CrossTenant-AuthSource: PAXPR04MB9642.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 03 Dec 2024 23:27:31.4804 (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: fk0qwZdx/eHn6vCHuzhAzkEO/5is+tYWmqQP43wyW4i/Bgd83kdoOh5BTDqA62qEQsZrv8p7utH9apwplUyEHA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PAXPR04MB8846 Some system's IOMMU stream(master) ID bits(such as 6bits) less than pci_device_id (16bit). It needs add hardware configuration to enable pci_device_id to stream ID convert. https://lore.kernel.org/imx/20240622173849.GA1432357@bhelgaas/ This ways use pcie bus notifier (like apple pci controller), when new PCIe device added, bus notifier will call register specific callback to handle look up table (LUT) configuration. https://lore.kernel.org/imx/20240429150842.GC1709920-robh@kernel.org/ which parse dt's 'msi-map' and 'iommu-map' property to static config LUT table (qcom use this way). This way is rejected by DT maintainer Rob. Above ways can resolve LUT take or stream id out of usage the problem. If there are not enough stream id resource, not error return, EP hardware still issue DMA to do transfer, which may transfer to wrong possition. Add enable(disable)_device() hook for bridge can return error when not enough resource, and PCI device can't enabled. Basicallly this version can match Bjorn's requirement: 1: simple, because it is rare that there are no LUT resource. 2: EP driver probe failure when no LUT, but lspci can see such device. [ 2.164415] nvme nvme0: pci function 0000:01:00.0 [ 2.169142] pci 0000:00:00.0: Error enabling bridge (-1), continuing [ 2.175654] nvme 0000:01:00.0: probe with driver nvme failed with error -12 > lspci 0000:00:00.0 PCI bridge: Philips Semiconductors Device 0000 0000:01:00.0 Non-Volatile memory controller: Micron Technology Inc 2100AI NVMe SSD [Nitro] (rev 03) To: Bjorn Helgaas To: Richard Zhu To: Lucas Stach To: Lorenzo Pieralisi To: Krzysztof WilczyƄski To: Manivannan Sadhasivam To: Rob Herring To: Shawn Guo To: Sascha Hauer To: Pengutronix Kernel Team To: Fabio Estevam Cc: linux-pci@vger.kernel.org Cc: linux-kernel@vger.kernel.org Cc: linux-arm-kernel@lists.infradead.org Cc: imx@lists.linux.dev Cc: Frank.li@nxp.com \ Cc: alyssa@rosenzweig.io \ Cc: bpf@vger.kernel.org \ Cc: broonie@kernel.org \ Cc: jgg@ziepe.ca \ Cc: joro@8bytes.org \ Cc: l.stach@pengutronix.de \ Cc: lgirdwood@gmail.com \ Cc: maz@kernel.org \ Cc: p.zabel@pengutronix.de \ Cc: robin.murphy@arm.com \ Cc: will@kernel.org \ Cc: Robin Murphy Cc: Marc Zyngier Signed-off-by: Frank Li --- Changes in v7: - Rebase v6.13-rc1 - Update patch 2 according to mani's feedback - Link to v6: https://lore.kernel.org/r/20241118-imx95_lut-v6-0-a2951ba13347@nxp.com Changes in v6: - Bjorn give review tags at v4, but v5 have big change, drop Bjorn's review tag. - Add back Marc Zyngier't review and test tags - Add mani's ack at first patch - Mini change for patch 2 according to mani's feedback - Link to v5: https://lore.kernel.org/r/20241104-imx95_lut-v5-0-feb972f3f13b@nxp.com Changes in v5: - Add help function of pci_bridge_enable(disable)_device - Because big change, removed Bjorn's review tags and have not added Marc Zyngier't review and test tags - Fix pci-imx6.c according to Mani's feedback - Link to v4: https://lore.kernel.org/r/20241101-imx95_lut-v4-0-0fdf9a2fe754@nxp.com Changes in v4: - Add Bjorn Helgaas review tag for patch1 - check 'target' value for patch2 - detail see each patches - Link to v3: https://lore.kernel.org/r/20241024-imx95_lut-v3-0-7509c9bbab86@nxp.com Changes in v3: - disable_device when error happen - use target for of_map_id - Check if rid already in lut table when enable deviced - Link to v2: https://lore.kernel.org/r/20240930-imx95_lut-v2-0-3b6467ba539a@nxp.com Changes in v2: - see each patch - Link to v1: https://lore.kernel.org/r/20240926-imx95_lut-v1-0-d0c62087dbab@nxp.com --- Frank Li (2): PCI: Add enable_device() and disable_device() callbacks for bridges PCI: imx6: Add IOMMU and ITS MSI support for i.MX95 drivers/pci/controller/dwc/pci-imx6.c | 183 +++++++++++++++++++++++++++++++++- drivers/pci/pci.c | 36 ++++++- include/linux/pci.h | 2 + 3 files changed, 219 insertions(+), 2 deletions(-) --- base-commit: 40384c840ea1944d7c5a392e8975ed088ecf0b37 change-id: 20240926-imx95_lut-1c68222e0944 Best regards, --- Frank Li