Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/1.2/patches/2228569/?format=api
{ "id": 2228569, "url": "http://patchwork.ozlabs.org/api/1.2/patches/2228569/?format=api", "web_url": "http://patchwork.ozlabs.org/project/linux-pci/patch/20260427035341.1425576-5-superm1@kernel.org/", "project": { "id": 28, "url": "http://patchwork.ozlabs.org/api/1.2/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": "<20260427035341.1425576-5-superm1@kernel.org>", "list_archive_url": null, "date": "2026-04-27T03:53:40", "name": "[4/5] PCI/PM: Use pci_power_manageable() in pci_pm_poweroff_noirq()", "commit_ref": null, "pull_url": null, "state": "new", "archived": false, "hash": "7bba2dc48abee69ae00ab66a4768e07679968edf", "submitter": { "id": 88834, "url": "http://patchwork.ozlabs.org/api/1.2/people/88834/?format=api", "name": "Mario Limonciello", "email": "superm1@kernel.org" }, "delegate": null, "mbox": "http://patchwork.ozlabs.org/project/linux-pci/patch/20260427035341.1425576-5-superm1@kernel.org/mbox/", "series": [ { "id": 501568, "url": "http://patchwork.ozlabs.org/api/1.2/series/501568/?format=api", "web_url": "http://patchwork.ozlabs.org/project/linux-pci/list/?series=501568", "date": "2026-04-27T03:53:41", "name": "Improvements to PCI hibernate path", "version": 1, "mbox": "http://patchwork.ozlabs.org/series/501568/mbox/" } ], "comments": "http://patchwork.ozlabs.org/api/patches/2228569/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/2228569/checks/", "tags": {}, "related": [], "headers": { "Return-Path": "\n <linux-pci+bounces-53191-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=kernel.org header.i=@kernel.org header.a=rsa-sha256\n header.s=k20201202 header.b=uYYFoHJl;\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-53191-incoming=patchwork.ozlabs.org@vger.kernel.org;\n receiver=patchwork.ozlabs.org)", "smtp.subspace.kernel.org;\n\tdkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org\n header.b=\"uYYFoHJl\"", "smtp.subspace.kernel.org;\n arc=none smtp.client-ip=10.30.226.201" ], "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 4g3qbL4cjfz1xvV\n\tfor <incoming@patchwork.ozlabs.org>; Mon, 27 Apr 2026 14:00:14 +1000 (AEST)", "from smtp.subspace.kernel.org (conduit.subspace.kernel.org\n [100.90.174.1])\n\tby sin.lore.kernel.org (Postfix) with ESMTP id 769B3300A677\n\tfor <incoming@patchwork.ozlabs.org>; Mon, 27 Apr 2026 03:54:17 +0000 (UTC)", "from localhost.localdomain (localhost.localdomain [127.0.0.1])\n\tby smtp.subspace.kernel.org (Postfix) with ESMTP id A1E1A371CF4;\n\tMon, 27 Apr 2026 03:53:50 +0000 (UTC)", "from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org\n [10.30.226.201])\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 7F663371890;\n\tMon, 27 Apr 2026 03:53:50 +0000 (UTC)", "by smtp.kernel.org (Postfix) with ESMTPSA id A3C01C2BCB7;\n\tMon, 27 Apr 2026 03:53:49 +0000 (UTC)" ], "ARC-Seal": "i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116;\n\tt=1777262030; cv=none;\n b=GA9LgxBzW/sE5Y8e7K6hpu7YI6xLjQbomm+iSgrlJIkClB/G+Xq0vGmdY6PO2xF3lqq9TfYJBvncx3NlbsQptAZ8jabWAnGVNURm3hDmJiLvNm9fzrRWpXKGfMED6RJm8NIznNDbKhrFHwkC28AW0Z6pfYT9qQMNzDw+uj9HcOs=", "ARC-Message-Signature": "i=1; a=rsa-sha256; d=subspace.kernel.org;\n\ts=arc-20240116; t=1777262030; c=relaxed/simple;\n\tbh=3xNfFpNHx12AUoJYARfmg2BOBQiezqeRp4beGxmTQDE=;\n\th=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References:\n\t MIME-Version;\n b=DFmCRDLWd/oMoBkt/yE9Dgq//+SKIL6vjWz8ogeecerWZKWWGs6Im3gMuL6P5XtjRtaNu4I82OaAYeMO8fpCdAnnNcB5l9V/wT/sPaGLYNNQ5F26LdG7sX4n2zsHkiWEXZUB4d4f6UJFpLefbpewKN3NqyeVWWova1GNlagBD0I=", "ARC-Authentication-Results": "i=1; smtp.subspace.kernel.org;\n dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org\n header.b=uYYFoHJl; arc=none smtp.client-ip=10.30.226.201", "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org;\n\ts=k20201202; t=1777262030;\n\tbh=3xNfFpNHx12AUoJYARfmg2BOBQiezqeRp4beGxmTQDE=;\n\th=From:To:Cc:Subject:Date:In-Reply-To:References:From;\n\tb=uYYFoHJlKnpRxsLCc5GDmZs7j31bPU5jxYFfPsd+2R2godQeeJFYuEi9UcG89K1Eh\n\t rjVgRBXLphnJzoTambIPSyEo0VLANodzj5zwBLn24yoW6twCf4GA7quxnszXwl7wm9\n\t tQe7GtgCh6uhVy2yNr27YTGTr7m/KckmhTOCQNXBVDv6Mt31hadH5gBb46P5CwU5JD\n\t Mnidh+AvWbtnJU2uvFzb5AzMOwckwGC0/fjeCMp0sMlgr2jE0FUyb+cw8AEkNgfJPq\n\t ZleNF8jSlPZqf0J5hOwTiLAzTkhO/JDWT8upjvs8ENFNrU/v+5ooDA88InUT3GgguL\n\t b765HnnACCWDw==", "From": "\"Mario Limonciello (AMD)\" <superm1@kernel.org>", "To": "Bjorn Helgaas <bhelgaas@google.com>,\n\tlinux-pci@vger.kernel.org (open list:PCI SUBSYSTEM)", "Cc": "linux-pci@vger.kernel.org (open list:PCI SUBSYSTEM),\n\tlinux-kernel@vger.kernel.org (open list),\n\t\"Rafael J . Wysocki\" <rafael@kernel.org>,\n\tLukas Wunner <lukas@wunner.de>,\n\t\"Mario Limonciello (AMD)\" <superm1@kernel.org>,\n\tEric Naim <dnaim@cachyos.org>", "Subject": "[PATCH 4/5] PCI/PM: Use pci_power_manageable() in\n pci_pm_poweroff_noirq()", "Date": "Sun, 26 Apr 2026 22:53:40 -0500", "Message-ID": "<20260427035341.1425576-5-superm1@kernel.org>", "X-Mailer": "git-send-email 2.43.0", "In-Reply-To": "<20260427035341.1425576-1-superm1@kernel.org>", "References": "<20260427035341.1425576-1-superm1@kernel.org>", "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", "Content-Transfer-Encoding": "8bit" }, "content": "Devices with no subordinate should be put into D3 during hibernate, but\ndevices that have bridge_d3 set should also be put to sleep during\nhibernate. Adjust the check in pci_pm_poweroff_noirq() to use\npci_power_manageable() to cover those as well.\n\nTested-by: Eric Naim <dnaim@cachyos.org>\nSigned-off-by: Mario Limonciello (AMD) <superm1@kernel.org>\n---\n drivers/pci/pci-driver.c | 2 +-\n 1 file changed, 1 insertion(+), 1 deletion(-)", "diff": "diff --git a/drivers/pci/pci-driver.c b/drivers/pci/pci-driver.c\nindex 793af4af2971b..3c82d818ee15b 100644\n--- a/drivers/pci/pci-driver.c\n+++ b/drivers/pci/pci-driver.c\n@@ -1254,7 +1254,7 @@ static int pci_pm_poweroff_noirq(struct device *dev)\n \t\t\treturn error;\n \t}\n \n-\tif (!pci_dev->state_saved && !pci_has_subordinate(pci_dev))\n+\tif (!pci_dev->state_saved && pci_power_manageable(pci_dev))\n \t\tpci_prepare_to_sleep(pci_dev);\n \n \t/*\n", "prefixes": [ "4/5" ] }