All of lore.kernel.org
 help / color / mirror / Atom feed
From: sashiko-bot@kernel.org
To: "Mario Limonciello (AMD)" <superm1@kernel.org>
Cc: linux-pci@vger.kernel.org
Subject: Re: [PATCH v6 2/2] PCI: Align hibernate poweroff flow with suspend flow for bridges
Date: Wed, 30 Sep 2026 21:50:21 +0000	[thread overview]
Message-ID: <20260930215022.5D03C1F000FF@smtp.kernel.org> (raw)
In-Reply-To: <20260930213923.566846-3-superm1@kernel.org>

> During S3 suspend, pci_pm_suspend_noirq() puts PCIe bridges with
> downstream devices into a low-power state (D3hot or D3cold) when the
> platform allows it.  The hibernate poweroff_noirq path never did this:
> it only called pci_prepare_to_sleep() for devices with no subordinate,
> so bridges with active children were left in D0.
> 
> On many designs the platform firmware leaves bridges alone when the
> system enters S4. This prevents being able to meet various energy
> certification criteria for different parts of the world, particularly
> in designs with a dGPU.
> 
> Align the hibernate flow with suspend by making pci_pm_poweroff_noirq()
> use pci_pm_suspend_noirq_common() instead of the open-coded
> pci_prepare_to_sleep() call.  This reuses exactly the logic the S3
> suspend path uses, including the skip_bus_pm handling that keeps a
> [ ... ]
> Cc: Mark Pearson <mpearson-lenovo@squebb.ca>
> Cc: Denis Benato <benato.denis96@gmail.com>
> Cc: Merthan Karakaş <m3rthn.k@gmail.com>
> Tested-by: Eric Naim <dnaim@cachyos.org>
> Signed-off-by: Mario Limonciello (AMD) <superm1@kernel.org>

Sashiko has reviewed this patch and found no issues. It looks great!

-- 
Sashiko AI review · https://sashiko.dev/#/patchset/20260930213923.566846-1-superm1@kernel.org?part=2


  reply	other threads:[~2026-09-30 21:50 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-09-30 21:39 [PATCH v6 0/2] Unify PCI suspend and hibernate paths Mario Limonciello (AMD)
2026-09-30 21:39 ` [PATCH v6 1/2] PCI/PM: Split out code from pci_pm_suspend_noirq() into helper Mario Limonciello (AMD)
2026-09-30 21:45   ` sashiko-bot
2026-09-30 21:39 ` [PATCH v6 2/2] PCI: Align hibernate poweroff flow with suspend flow for bridges Mario Limonciello (AMD)
2026-09-30 21:50   ` sashiko-bot [this message]
2026-09-30 22:09 ` [PATCH v6 0/2] Unify PCI suspend and hibernate paths Bjorn Helgaas

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20260930215022.5D03C1F000FF@smtp.kernel.org \
    --to=sashiko-bot@kernel.org \
    --cc=linux-pci@vger.kernel.org \
    --cc=sashiko-reviews@lists.linux.dev \
    --cc=superm1@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.