All of lore.kernel.org
 help / color / mirror / Atom feed
From: sashiko-bot@kernel.org
To: "Enrique Hernández Bello" <ehbello@gmail.com>
Cc: linux-pci@vger.kernel.org
Subject: Re: [PATCH v5 2/2] PCI: rockchip-host: Make the PERST# inactive delay configurable
Date: Wed, 04 Nov 2026 22:04:49 +0000	[thread overview]
Message-ID: <sashiko-outbox-198195@kernel.org> (raw)
In-Reply-To: <20261104215848.2087944-3-ehbello@gmail.com>

> rockchip_pcie_host_init_port() waits T_PVPERL, 100 ms, before releasing
> PERST#. The GPIO is acquired with GPIOD_OUT_LOW early in probe, so PERST#
> is already asserted when that wait starts, and the wait therefore sets the
> reset pulse width as well.
> 
> That suits a board which powers the slot at the moment it asserts PERST#,
> but endpoints do not agree on what they want. On a ROCK Pi 4C carrying a
> JMB585 SATA controller, a pulse that long stops the endpoint answering
> configuration reads at all. Measured on that board with a single kernel and
> two module parameters, one sleeping before the GPIO is acquired and one in
> place of the wait, timing the pulse with a ktime delta across the two
> gpiod_set_value() calls:
> 
>   pre (ms)  post (ms)  pulse      trials  enumerated
>   0         0          1-11 ms    5       5
> [ ... ]
> specification sets, which covers T_PERST and T_PERST-CLK.
> 
> Suggested-by: Shawn Lin <shawn.lin@rock-chips.com>
> Link: https://lore.kernel.org/all/95aeecc0-2794-4cc6-a635-5c042afc1405@rock-chips.com/
> Signed-off-by: Enrique Hernández Bello <ehbello@gmail.com>

Sashiko has reviewed this patch and found no issues.

-- 
Sashiko AI review · https://sashiko.dev/#/patchset/20261104215848.2087944-1-ehbello@gmail.com?part=2


  reply	other threads:[~2026-11-04 22:04 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-04 21:58 [PATCH v5 0/2] PCI: rockchip-host: Make the PERST# inactive delay configurable Enrique Hernández Bello
2026-11-04 21:58 ` Enrique Hernández Bello
2026-11-04 21:58 ` [PATCH v5 1/2] dt-bindings: PCI: rockchip,rk3399-pcie: Add PERST# inactive delay properties Enrique Hernández Bello
2026-11-04 21:58   ` Enrique Hernández Bello
2026-11-04 22:06   ` sashiko-bot
2026-11-05 12:23   ` Krzysztof Kozlowski
2026-11-05 12:23     ` Krzysztof Kozlowski
2026-11-05 17:40     ` Enrique Hernández Bello
2026-11-05 17:40       ` Enrique Hernández Bello
2026-11-05 18:24       ` Krzysztof Kozlowski
2026-11-05 18:24         ` Krzysztof Kozlowski
2026-11-04 21:58 ` [PATCH v5 2/2] PCI: rockchip-host: Make the PERST# inactive delay configurable Enrique Hernández Bello
2026-11-04 21:58   ` Enrique Hernández Bello
2026-11-04 22:04   ` sashiko-bot [this message]
2026-11-05  1:44 ` [PATCH v5 0/2] " Igor Velkov
2026-11-05  1:44   ` Igor Velkov

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-198195@kernel.org \
    --to=sashiko-bot@kernel.org \
    --cc=ehbello@gmail.com \
    --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.