From: sashiko-bot@kernel.org
To: "Igor Velkov" <iav@iav.lv>
Cc: linux-pci@vger.kernel.org
Subject: Re: [PATCH 1/2] PCI: meson: Power the PHY on and reset the controller in host .init
Date: Sat, 14 Nov 2026 22:23:09 +0000 [thread overview]
Message-ID: <sashiko-outbox-215062@kernel.org> (raw)
In-Reply-To: <20261114-b4-pci-meson-suspend-v1-1-be3d04a13304@iav.lv>
> From: Igor Velkov <iav@iav.lv>
>
> Move the PHY power on and the PHY and controller reset from probe into
> the host .init callback, and add a .deinit that asserts PERST# and
> powers the PHY off, and a .stop_link that disables the LTSSM.
> dw_pcie_host_init() calls .deinit on a later probe error and
> dw_pcie_host_deinit() calls it at remove, so probe and remove do not
> power the PHY off themselves.
>
> This prepares for system suspend, where dw_pcie_suspend_noirq() and
> dw_pcie_resume_noirq() run the same callbacks.
>
> It also changes the order in probe: the clocks are enabled before the
> PHY is powered on and the controller is reset. Resume runs .init with
> the clocks still on, so both take the same order.
>
> Signed-off-by: Igor Velkov <iav@iav.lv>
Sashiko has reviewed this patch and found no issues.
--
Sashiko AI review · https://sashiko.dev/#/patchset/20261114-b4-pci-meson-suspend-v1-0-be3d04a13304@iav.lv?part=1
next prev parent reply other threads:[~2026-11-14 22:23 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-14 22:12 [PATCH 0/2] PCI: meson: Add system suspend/resume support Igor Velkov
2026-11-14 22:12 ` Igor Velkov via B4 Relay
2026-11-14 22:12 ` Igor Velkov via B4 Relay
2026-11-14 22:12 ` [PATCH 1/2] PCI: meson: Power the PHY on and reset the controller in host .init Igor Velkov
2026-11-14 22:12 ` Igor Velkov via B4 Relay
2026-11-14 22:12 ` Igor Velkov via B4 Relay
2026-11-14 22:23 ` sashiko-bot [this message]
2026-11-14 22:12 ` [PATCH 2/2] PCI: meson: Add system suspend/resume support Igor Velkov
2026-11-14 22:12 ` Igor Velkov via B4 Relay
2026-11-14 22:12 ` Igor Velkov via B4 Relay
2026-11-14 22:25 ` sashiko-bot
2026-11-14 22:25 ` sashiko-bot
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=sashiko-outbox-215062@kernel.org \
--to=sashiko-bot@kernel.org \
--cc=iav@iav.lv \
--cc=linux-pci@vger.kernel.org \
--cc=sashiko-reviews@lists.linux.dev \
/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.