From: gowtham <gowtham@ferryfair.com>
To: linux-kernel@vger.kernel.org, linux-pci@vger.kernel.org,
yue.wang@Amlogic.com
Subject: [PULL] PCI: meson: Fix PERST# timing by asserting reset before LTSSM enable
Date: Sun, 14 Jun 2026 10:30:09 +0530 [thread overview]
Message-ID: <20260614103009.0a37953b@slick.ferryfair.com> (raw)
The following changes since commit
bb532bfaf7919c7c98caab81864e9ce2646e11e3:
Linux 7.0.11 (2026-06-01 17:54:55 +0200)
are available in the Git repository at:
https://github.com/GowthamKudupudi/linux.git
tags/meson-pcie-warm-reset-linux-7.0.y
for you to fetch changes up to 852811b11795ee389ea6a953ed0db69b76722469:
PCI: meson: Fix PERST# timing by asserting reset before LTSSM enable
(2026-06-14 09:41:01 +0530)
----------------------------------------------------------------
PCI: meson: Fix PERST# timing by asserting reset before LTSSM enable
On warm reboot, the PCIe controller's LTSSM starts link training
immediately if PERST# is already deasserted from the previous boot.
The driver then pulses PERST# for only 500us, which is too short to
properly reset the endpoint device that has already started training.
Fix by moving the PERST# assert/deassert pulse BEFORE enabling LTSSM,
so the endpoint gets a clean reset cycle before link training begins.
This was found on Amlogic G12B (A311D) with NVMe on an M.2 slot.
Cold boot worked because POR held PERST# low; warm reboot did not.
The fix was confirmed on a Banana Pi CM4 with Waveshare IO base board.
----------------------------------------------------------------
Gowtham Kudupudi (1):
PCI: meson: Fix PERST# timing by asserting reset before LTSSM
enable
drivers/pci/controller/dwc/pci-meson.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
reply other threads:[~2026-06-14 5:00 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=20260614103009.0a37953b@slick.ferryfair.com \
--to=gowtham@ferryfair.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pci@vger.kernel.org \
--cc=yue.wang@Amlogic.com \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox