get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

GET /api/patches/2194336/?format=api
HTTP 200 OK
Allow: GET, PUT, PATCH, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "id": 2194336,
    "url": "http://patchwork.ozlabs.org/api/patches/2194336/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/linux-pci/patch/20260208180746.2024338-4-mmaddireddy@nvidia.com/",
    "project": {
        "id": 28,
        "url": "http://patchwork.ozlabs.org/api/projects/28/?format=api",
        "name": "Linux PCI development",
        "link_name": "linux-pci",
        "list_id": "linux-pci.vger.kernel.org",
        "list_email": "linux-pci@vger.kernel.org",
        "web_url": null,
        "scm_url": null,
        "webscm_url": null,
        "list_archive_url": "",
        "list_archive_url_format": "",
        "commit_url_format": ""
    },
    "msgid": "<20260208180746.2024338-4-mmaddireddy@nvidia.com>",
    "list_archive_url": null,
    "date": "2026-02-08T18:07:36",
    "name": "[V5,03/13] PCI: tegra194: Don't force the device into the D0 state before L2",
    "commit_ref": null,
    "pull_url": null,
    "state": "new",
    "archived": false,
    "hash": "7fe5107bf3a9949c79aa93e109609d617ac1c514",
    "submitter": {
        "id": 72399,
        "url": "http://patchwork.ozlabs.org/api/people/72399/?format=api",
        "name": "Manikanta Maddireddy",
        "email": "mmaddireddy@nvidia.com"
    },
    "delegate": null,
    "mbox": "http://patchwork.ozlabs.org/project/linux-pci/patch/20260208180746.2024338-4-mmaddireddy@nvidia.com/mbox/",
    "series": [
        {
            "id": 491429,
            "url": "http://patchwork.ozlabs.org/api/series/491429/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/linux-pci/list/?series=491429",
            "date": "2026-02-08T18:07:33",
            "name": "Fixes to pcie-tegra194 driver",
            "version": 5,
            "mbox": "http://patchwork.ozlabs.org/series/491429/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/2194336/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/2194336/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "\n <linux-pci+bounces-46944-incoming=patchwork.ozlabs.org@vger.kernel.org>",
        "X-Original-To": [
            "incoming@patchwork.ozlabs.org",
            "linux-pci@vger.kernel.org"
        ],
        "Delivered-To": "patchwork-incoming@legolas.ozlabs.org",
        "Authentication-Results": [
            "legolas.ozlabs.org;\n\tdkim=pass (2048-bit key;\n unprotected) header.d=Nvidia.com header.i=@Nvidia.com header.a=rsa-sha256\n header.s=selector2 header.b=HvbTPsFb;\n\tdkim-atps=neutral",
            "legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=vger.kernel.org\n (client-ip=104.64.211.4; helo=sin.lore.kernel.org;\n envelope-from=linux-pci+bounces-46944-incoming=patchwork.ozlabs.org@vger.kernel.org;\n receiver=patchwork.ozlabs.org)",
            "smtp.subspace.kernel.org;\n\tdkim=pass (2048-bit key) header.d=Nvidia.com header.i=@Nvidia.com\n header.b=\"HvbTPsFb\"",
            "smtp.subspace.kernel.org;\n arc=fail smtp.client-ip=40.93.194.17",
            "smtp.subspace.kernel.org;\n dmarc=pass (p=reject dis=none) header.from=nvidia.com",
            "smtp.subspace.kernel.org;\n spf=fail smtp.mailfrom=nvidia.com"
        ],
        "Received": [
            "from sin.lore.kernel.org (sin.lore.kernel.org [104.64.211.4])\n\t(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n\t key-exchange x25519 server-signature ECDSA (secp384r1) server-digest SHA384)\n\t(No client certificate requested)\n\tby legolas.ozlabs.org (Postfix) with ESMTPS id 4f8G7H2lxTz1xtr\n\tfor <incoming@patchwork.ozlabs.org>; Mon, 09 Feb 2026 05:09:31 +1100 (AEDT)",
            "from smtp.subspace.kernel.org (conduit.subspace.kernel.org\n [100.90.174.1])\n\tby sin.lore.kernel.org (Postfix) with ESMTP id 3A99D300370C\n\tfor <incoming@patchwork.ozlabs.org>; Sun,  8 Feb 2026 18:08:53 +0000 (UTC)",
            "from localhost.localdomain (localhost.localdomain [127.0.0.1])\n\tby smtp.subspace.kernel.org (Postfix) with ESMTP id A87832FABE1;\n\tSun,  8 Feb 2026 18:08:42 +0000 (UTC)",
            "from SN4PR0501CU005.outbound.protection.outlook.com\n (mail-southcentralusazon11011017.outbound.protection.outlook.com\n [40.93.194.17])\n\t(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))\n\t(No client certificate requested)\n\tby smtp.subspace.kernel.org (Postfix) with ESMTPS id 57A2C2F9998;\n\tSun,  8 Feb 2026 18:08:41 +0000 (UTC)",
            "from BY3PR05CA0044.namprd05.prod.outlook.com (2603:10b6:a03:39b::19)\n by SJ0PR12MB6925.namprd12.prod.outlook.com (2603:10b6:a03:483::13) with\n Microsoft SMTP Server (version=TLS1_2,\n cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.9587.17; Sun, 8 Feb\n 2026 18:08:37 +0000",
            "from MWH0EPF000971E3.namprd02.prod.outlook.com\n (2603:10b6:a03:39b:cafe::37) by BY3PR05CA0044.outlook.office365.com\n (2603:10b6:a03:39b::19) with Microsoft SMTP Server (version=TLS1_3,\n cipher=TLS_AES_256_GCM_SHA384) id 15.20.9611.4 via Frontend Transport; Sun, 8\n Feb 2026 18:08:37 +0000",
            "from mail.nvidia.com (216.228.117.160) by\n MWH0EPF000971E3.mail.protection.outlook.com (10.167.243.70) with Microsoft\n SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id\n 15.20.9587.10 via Frontend Transport; Sun, 8 Feb 2026 18:08:37 +0000",
            "from rnnvmail201.nvidia.com (10.129.68.8) by mail.nvidia.com\n (10.129.200.66) with Microsoft SMTP Server (version=TLS1_2,\n cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.2562.20; Sun, 8 Feb\n 2026 10:08:26 -0800",
            "from mmaddireddy-ubuntu.nvidia.com (10.126.231.35) by\n rnnvmail201.nvidia.com (10.129.68.8) with Microsoft SMTP Server\n (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id\n 15.2.2562.20; Sun, 8 Feb 2026 10:08:20 -0800"
        ],
        "ARC-Seal": [
            "i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116;\n\tt=1770574122; cv=fail;\n b=O4d4/QtdTREcHRv8gCMNRzTjPsJMX5rY5fJEWOGHublusSXtmQtDl98vN85zykmTrtAFaZa9fr51NJHf565+DhggtEwHG/Hq/IHd5h7csyGr8/sbj5WxblanyNVM1Djt8S6DWtgC4aW5xatc9tKFmon7DELSuKki4iFwEo3NXE8=",
            "i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none;\n b=Zv8QVkjxbSWPrNcXFSfbAygKQa1bNYimN4vCLxRJHSpnab6DDmL4u1DSxe4nQp0SoEzWvwzcjptaptFwPnh4yhYDsJgwplhk0KX8Vp3dfz8jMMIV1bhebefNWAs4N8VeaYg3wSY/HadJ68YiL7J8OcjG3bb7fLNImz8caof+YsK0nhwZE7Yzkw8aiU2R8mfNGBlRDkI9mLjedR18e0xhApdrdOKSpdXe7kFPSQabCguArx7SL+l3FvG1X17qCKa1IpZPyBPAerDrSwKi1aXKul3VNRUsLpVqBEFQCWouxIwH04WUILalGas5y3VIh2yvxN2zN+ixGwqZBzP9xGSk/g=="
        ],
        "ARC-Message-Signature": [
            "i=2; a=rsa-sha256; d=subspace.kernel.org;\n\ts=arc-20240116; t=1770574122; c=relaxed/simple;\n\tbh=YAI5yoiWjlpjE36qex4v84naiQw4+QdyXEzMM/CtEO0=;\n\th=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References:\n\t MIME-Version:Content-Type;\n b=dsSQpDRz+S1OybZs1aX2QFH7vH17IrYtxbH7Od04Qgukvee2QBA7QqcZnc2iqMy9/ElEC1pe4PgcdGE60G2VTUlVSIhNronsRotCJdSEKqugmf8xguytxaT7U0uWrlIlX7En9JQmtur2rYhw4f/7qSSGpu9V6FM0ltyzKoAASfs=",
            "i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com;\n s=arcselector10001;\n 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;\n bh=SjupiCA1e4gtL/lve7MJUi1UlycauBcC/omnoNN9+CU=;\n b=IJdvlX4MKEuyaLVojVocl4S91tXnEwQeXKccJDibeXe5yXXenhpx5plhzFziE0SPsF5vcDByoaOzPJxSnNEqWF2gxzg9+PC8C0jBx3/xTwyhzuwmJMIT4roE0/aYIJ5wKi1y4Aulg080932VHgHMK9fx3Ki9G8tlHBSbxQ50yQB9jK46Q4/Hk89+0h7Oc9wTUAo/JSFuN3lBNENfWKaXd3lbWXsG3ufcY0IFpZtBeFB5oaq1ftlhu5xGRcl4mDWnOITeh+6X4+MjssWgNfUdDzLgqAU3epIbAgG/y0jOnmIy4jrBva5NEVaUBg52OgaeXKGA1n0/Fs6zVWO8Juua5g=="
        ],
        "ARC-Authentication-Results": [
            "i=2; smtp.subspace.kernel.org;\n dmarc=pass (p=reject dis=none) header.from=nvidia.com;\n spf=fail smtp.mailfrom=nvidia.com;\n dkim=pass (2048-bit key) header.d=Nvidia.com header.i=@Nvidia.com\n header.b=HvbTPsFb; arc=fail smtp.client-ip=40.93.194.17",
            "i=1; mx.microsoft.com 1; spf=pass (sender ip is\n 216.228.117.160) smtp.rcpttodomain=google.com smtp.mailfrom=nvidia.com;\n dmarc=pass (p=reject sp=reject pct=100) action=none header.from=nvidia.com;\n dkim=none (message not signed); arc=none (0)"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=Nvidia.com;\n s=selector2;\n h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck;\n bh=SjupiCA1e4gtL/lve7MJUi1UlycauBcC/omnoNN9+CU=;\n b=HvbTPsFbejGBP2bHfaDCMXFdrnJVg2X44mceJeNAkkIUpG89399FuS7gjSvp8TYoc2gzkQLudlDStdsyiI7/fXxi/+gGjELRIAfn7e9mgnxp7zR2HzBwWlgGrjxEH3ZKJo1g1BNqWmw/fwcaCJ0oQmA71A3FDdVXzcAHDuitVlAlivME2lD2mmWL2brE0TM1Icpc3XpHd+GmyV1dW1WMuDs2hk7qqOufRTqU4q1QlbQnlM0/65cwGd8KUzDq4fyC2iIwFqlu+OyzveqiJ38Xcwc5FbgyGFp/AW5X0msVhBAIGOwRLBAF4VcbAvg4iaQ6sn82ugDU2ZFuG/Z2UOi/JQ==",
        "X-MS-Exchange-Authentication-Results": "spf=pass (sender IP is 216.228.117.160)\n smtp.mailfrom=nvidia.com; dkim=none (message not signed)\n header.d=none;dmarc=pass action=none header.from=nvidia.com;",
        "Received-SPF": "Pass (protection.outlook.com: domain of nvidia.com designates\n 216.228.117.160 as permitted sender) receiver=protection.outlook.com;\n client-ip=216.228.117.160; helo=mail.nvidia.com; pr=C",
        "From": "Manikanta Maddireddy <mmaddireddy@nvidia.com>",
        "To": "<bhelgaas@google.com>, <lpieralisi@kernel.org>, <kwilczynski@kernel.org>,\n\t<mani@kernel.org>, <robh@kernel.org>, <krzk+dt@kernel.org>,\n\t<conor+dt@kernel.org>, <thierry.reding@gmail.com>, <jonathanh@nvidia.com>,\n\t<jingoohan1@gmail.com>, <vidyas@nvidia.com>, <cassel@kernel.org>,\n\t<18255117159@163.com>",
        "CC": "<linux-pci@vger.kernel.org>, <devicetree@vger.kernel.org>,\n\t<linux-tegra@vger.kernel.org>, <linux-kernel@vger.kernel.org>, \"Manikanta\n Maddireddy\" <mmaddireddy@nvidia.com>",
        "Subject": "[V5,03/13] PCI: tegra194: Don't force the device into the D0 state\n before L2",
        "Date": "Sun, 8 Feb 2026 23:37:36 +0530",
        "Message-ID": "<20260208180746.2024338-4-mmaddireddy@nvidia.com>",
        "X-Mailer": "git-send-email 2.34.1",
        "In-Reply-To": "<20260208180746.2024338-1-mmaddireddy@nvidia.com>",
        "References": "<20260208180746.2024338-1-mmaddireddy@nvidia.com>",
        "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-NVConfidentiality": "public",
        "Content-Transfer-Encoding": "8bit",
        "Content-Type": "text/plain",
        "X-ClientProxiedBy": "rnnvmail203.nvidia.com (10.129.68.9) To\n rnnvmail201.nvidia.com (10.129.68.8)",
        "X-EOPAttributedMessage": "0",
        "X-MS-PublicTrafficType": "Email",
        "X-MS-TrafficTypeDiagnostic": "MWH0EPF000971E3:EE_|SJ0PR12MB6925:EE_",
        "X-MS-Office365-Filtering-Correlation-Id": "a899ebba-7693-4b09-ed93-08de673d1518",
        "X-MS-Exchange-SenderADCheck": "1",
        "X-MS-Exchange-AntiSpam-Relay": "0",
        "X-Microsoft-Antispam": "\n\tBCL:0;ARA:13230040|1800799024|36860700013|7416014|376014|82310400026|921020;",
        "X-Microsoft-Antispam-Message-Info": "\n b6TQALTHdAO9DvGaSSWwMT4iPP5U5MklI1W0kWaaJkC6rLbZUQ23BUPnz2rFo52+RuWVdYfjwE110PkaPhBSe/ho5wPlSntA1A7F8kur1o6QC8WGVneciDIcB6SO11k/PqbcadnSfxVA0zvcp3p6ocICAMS/pqOfyQUIhQZI5Yi6omCt6yTkPp5VrIzvDsIe1dGM1nfdpMKk6ozvaROfxaWAoa5j4A1jjlaUvHKzFOLMX2ts6wODbC3iXQ19SrsSEe3PpMAB51mt13tzzH20lM//NLFx8RJ0ij/1Q7vRDtMBk1skk8p7gGkDKhcZIMkIiVXnYjtqAHwmRRbsmZXxupoIvhsvNf2V/BTxgK0dW31H9aSAJys3zPkEzg4YknrFmoDfJ9t9Z9ejO8PDZ4Yh9pCvm/jb5f8VKCDWZC7/sK6uE53c2VGTJc6FhO9SZFFglKZq6gaVjZoAz3lLjHw0jbmbViJ6rxo/zr+jOYE+4DcnukoSwH05itV5rxtxnUpY6Yf2BkF22+xuq0P7U52pMQ6ZrpWH+tkTgLQhVXqNHC68GYhZTx1Yjw19WyLDPLdL8voHqk/VKTpvecUrkmEBkAFGzk47OJc6A0vK4atnEF761PWj26ZXDiuOuBIv7kBu8MgOc6SCcTzIVMNpG3acKKuQdPVvXp1WHYajtjBJjAlkNTq3BXKhgBuE/rtRkPDoo4jUx4FfQ7idtqvclN2SEYIXdIzRNcqGAdDfSdzplXyBr4ANXCcZ5hUCq3EHGYfms3zzXmG+h3JTvsqIcugcd6QOHUk3A5WC69arkjjcAppGlI2pSESuDDEe3XiYAkktkq4+bG13fqd+2gVRnmMnPM6DFpz68PV15y2XTbUGqQEEN0c5B64ce++nUvnK/IqJb5VjR9q5mRYEPpN4KMWf75lxHSDo0BSoepkSOrr58OaaHNHDfLY5MVssfEtbb8Rdt3Fxzp4YV41nzKCiGWFXN38Kibsf5PirW/hQiQ2GUzZe79jf1YVLFdbAA8ipOfIVAvM9RcezJj1u3eULXDWhdYVHr3rF4fR9vq9A7rc3OaI8QRhpc6K5vjHtxc0L4o8AT7okDqCLnTDctulbAJ5ak+AVyETVHCX3qFcQ1+56qwlxSWnpCxB6uO0/CGmLOIvTtcpTQFB/W96MfFIz9rZhtLN4NEBCyQOm5yNDKsEt8UBZ8X1sgJsVKrrWDvly/XSyHPbP6wL4csp+Swyvso85eTqUv5i1KtXOvrJSKfVSik2VQCLQEZ4J6vzETFjUEwMifj5Bb563DDob87Uo9rqHKtWfa9f1up6lvLPQu3y9g/yNHPhMxBqItOigYjiZaVCWUYw/i1OyGDE3h3lpQg+gcEieJ3BwCQWLjVx3fS3PyA2Ft5b/yj0uzbvAiVdrJD5FBLbtYVadV0p9c0PACjwU6EoAoQ073YH3f2yhtF8RDBZ7kYM+0bH2L5sxzsWPAKGC3ZS4xug7NvdZAa3+5QfdWCl5c0mYhUd6DiM3oEbh+clOgb4zlUP7P+0K38xkM9Guy02sm/0soHO3/68O7yD8sd8Utlt4u3iOzhqKNJxUV4iy1Y5WYzzMG2C9z5JHsRgbQkGnrQ+i8BuNHkQV1nsP8+chPhdBZdY20uq21aCKjQxqk0+kCvyetYPfw53hUUNou88KMVAJEC92BdGPd6Kl2Q==",
        "X-Forefront-Antispam-Report": "\n\tCIP:216.228.117.160;CTRY:US;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:mail.nvidia.com;PTR:dc6edge1.nvidia.com;CAT:NONE;SFS:(13230040)(1800799024)(36860700013)(7416014)(376014)(82310400026)(921020);DIR:OUT;SFP:1101;",
        "X-MS-Exchange-AntiSpam-MessageData-ChunkCount": "1",
        "X-MS-Exchange-AntiSpam-MessageData-0": "\n\tbJqgStkyK2jq+CcOY381D/IRcp2O184qIGD7uHGQJQvJdyngM8TEscTT2aWBF73lL2hIEdJ5skIvsqdwQmA8GldfHJhAHjGDaC4T/w7eWlUE/7Q+djxaY/BZzXL/w/ej+SKYl7IcUFoB3Jjb2PsjGf9JeAIi2X0HKUYmF+srIqusUGlRLdNrliRkpwL/Hzny8J/Av7xqmijEHEOyRsBI5Mz2y2X0cjfwQg2vZOlf/Y7zpbRayogEWkUmmo+7HMsq8LpsiXmxD6BGKoK6CCgFMsjnvLiH9Er0Z7/kK3n1Fu1XhkPdtPBCeg4zH4k1F974WuBC4vDsdI5EEQrAia6RqgiCSTBrX09OfHIjGyX1e3YcbGG1WRVPZb5OQIbXezvHd0H4n18hHBHM8FQkirxsDwtqxA8B9S95Dj+YCDkkGuGRBksHdnk29ANJrQW6pFBL",
        "X-OriginatorOrg": "Nvidia.com",
        "X-MS-Exchange-CrossTenant-OriginalArrivalTime": "08 Feb 2026 18:08:37.6299\n (UTC)",
        "X-MS-Exchange-CrossTenant-Network-Message-Id": "\n a899ebba-7693-4b09-ed93-08de673d1518",
        "X-MS-Exchange-CrossTenant-Id": "43083d15-7273-40c1-b7db-39efd9ccc17a",
        "X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp": "\n TenantId=43083d15-7273-40c1-b7db-39efd9ccc17a;Ip=[216.228.117.160];Helo=[mail.nvidia.com]",
        "X-MS-Exchange-CrossTenant-AuthSource": "\n\tMWH0EPF000971E3.namprd02.prod.outlook.com",
        "X-MS-Exchange-CrossTenant-AuthAs": "Anonymous",
        "X-MS-Exchange-CrossTenant-FromEntityHeader": "HybridOnPrem",
        "X-MS-Exchange-Transport-CrossTenantHeadersStamped": "SJ0PR12MB6925"
    },
    "content": "From: Vidya Sagar <vidyas@nvidia.com>\n\nAs per PCIe CEM spec rev 4.0 ver 1.0 sec 2.3, the PCIe endpoint device\nshould be in D3 state to assert wake# pin. This takes precedence over PCI\nExpress Base r4.0 v1.0 September 27-2017, 5.2 Link State Power Management\nwhich states that the device can be put into D0 state before taking the\nlink to L2 state. So, to enable the wake functionality for endpoints, do\nnot force the devices to D0 state before taking the link to L2 state.\nThere is no functional issue with the endpoints where the link doesn't go\ninto L2 state (the reason why the earlier change was made in the first\nplace) as the root port proceeds with the usual flow post PME timeout.\n\nFixes: 56e15a238d92 (\"PCI: tegra: Add Tegra194 PCIe support\")\nSigned-off-by: Vidya Sagar <vidyas@nvidia.com>\nSigned-off-by: Manikanta Maddireddy <mmaddireddy@nvidia.com>\n---\nV5:\n* None\n\nV4:\n* None\n\nV3:\n* None\n\nV2:\n* None\n\n drivers/pci/controller/dwc/pcie-tegra194.c | 41 ----------------------\n 1 file changed, 41 deletions(-)",
    "diff": "diff --git a/drivers/pci/controller/dwc/pcie-tegra194.c b/drivers/pci/controller/dwc/pcie-tegra194.c\nindex 4ac6b1cea13f..808a1e213b79 100644\n--- a/drivers/pci/controller/dwc/pcie-tegra194.c\n+++ b/drivers/pci/controller/dwc/pcie-tegra194.c\n@@ -1261,44 +1261,6 @@ static int tegra_pcie_bpmp_set_pll_state(struct tegra_pcie_dw *pcie,\n \treturn 0;\n }\n \n-static void tegra_pcie_downstream_dev_to_D0(struct tegra_pcie_dw *pcie)\n-{\n-\tstruct dw_pcie_rp *pp = &pcie->pci.pp;\n-\tstruct pci_bus *child, *root_port_bus = NULL;\n-\tstruct pci_dev *pdev;\n-\n-\t/*\n-\t * link doesn't go into L2 state with some of the endpoints with Tegra\n-\t * if they are not in D0 state. So, need to make sure that immediate\n-\t * downstream devices are in D0 state before sending PME_TurnOff to put\n-\t * link into L2 state.\n-\t * This is as per PCI Express Base r4.0 v1.0 September 27-2017,\n-\t * 5.2 Link State Power Management (Page #428).\n-\t */\n-\n-\tlist_for_each_entry(child, &pp->bridge->bus->children, node) {\n-\t\tif (child->parent == pp->bridge->bus) {\n-\t\t\troot_port_bus = child;\n-\t\t\tbreak;\n-\t\t}\n-\t}\n-\n-\tif (!root_port_bus) {\n-\t\tdev_err(pcie->dev, \"Failed to find downstream bus of Root Port\\n\");\n-\t\treturn;\n-\t}\n-\n-\t/* Bring downstream devices to D0 if they are not already in */\n-\tlist_for_each_entry(pdev, &root_port_bus->devices, bus_list) {\n-\t\tif (PCI_SLOT(pdev->devfn) == 0) {\n-\t\t\tif (pci_set_power_state(pdev, PCI_D0))\n-\t\t\t\tdev_err(pcie->dev,\n-\t\t\t\t\t\"Failed to transition %s to D0 state\\n\",\n-\t\t\t\t\tdev_name(&pdev->dev));\n-\t\t}\n-\t}\n-}\n-\n static int tegra_pcie_get_slot_regulators(struct tegra_pcie_dw *pcie)\n {\n \tpcie->slot_ctl_3v3 = devm_regulator_get_optional(pcie->dev, \"vpcie3v3\");\n@@ -1627,7 +1589,6 @@ static void tegra_pcie_dw_pme_turnoff(struct tegra_pcie_dw *pcie)\n \n static void tegra_pcie_deinit_controller(struct tegra_pcie_dw *pcie)\n {\n-\ttegra_pcie_downstream_dev_to_D0(pcie);\n \tdw_pcie_host_deinit(&pcie->pci.pp);\n \ttegra_pcie_dw_pme_turnoff(pcie);\n \ttegra_pcie_unconfig_controller(pcie);\n@@ -2337,7 +2298,6 @@ static int tegra_pcie_dw_suspend_noirq(struct device *dev)\n \tif (!pcie->link_state)\n \t\treturn 0;\n \n-\ttegra_pcie_downstream_dev_to_D0(pcie);\n \ttegra_pcie_dw_pme_turnoff(pcie);\n \ttegra_pcie_unconfig_controller(pcie);\n \n@@ -2411,7 +2371,6 @@ static void tegra_pcie_dw_shutdown(struct platform_device *pdev)\n \t\t\treturn;\n \n \t\tdebugfs_remove_recursive(pcie->debugfs);\n-\t\ttegra_pcie_downstream_dev_to_D0(pcie);\n \n \t\tdisable_irq(pcie->pci.pp.irq);\n \t\tif (IS_ENABLED(CONFIG_PCI_MSI))\n",
    "prefixes": [
        "V5",
        "03/13"
    ]
}