All of lore.kernel.org
 help / color / mirror / Atom feed
From: sashiko-bot@kernel.org
To: "Hans Zhang" <18255117159@163.com>
Cc: linux-pci@vger.kernel.org
Subject: Re: [PATCH v4 10/16] PCI: dwc: qcom-ep: Use cached PCIe capability offset
Date: Tue, 27 Oct 2026 12:33:25 +0000	[thread overview]
Message-ID: <sashiko-outbox-186561@kernel.org> (raw)
In-Reply-To: <20261027122827.2725643-11-18255117159@163.com>

> Replace the three dw_pcie_find_capability(pci, PCI_CAP_ID_EXP) calls in
> the qcom-ep driver with dw_pcie_get_pcie_cap().
> 
> qcom_pcie_perst_deassert() is the point where the controller resources
> have just been enabled and DBI becomes accessible, so the offset is
> looked up and cached there. Both the L0s and the L1 exit latency are
> then programmed using that same cached offset instead of walking the
> capability list again.
> 
> qcom_pcie_ep_icc_update() may run from the global IRQ handler, which is
> requested before the PERST# IRQ. The helper performs its lookup at that
> point of use, i.e. exactly where the open coded search happened before,
> so this change neither adds nor moves a DBI access and does not
> introduce a new race with the PERST# handler.
> 
> Signed-off-by: Hans Zhang <18255117159@163.com>

Sashiko has reviewed this patch and found no issues.

-- 
Sashiko AI review · https://sashiko.dev/#/patchset/20261027122827.2725643-1-18255117159@163.com?part=10


  reply	other threads:[~2026-10-27 12:33 UTC|newest]

Thread overview: 104+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-10-27 12:28 [PATCH v4 00/16] PCI: dwc: Cache PCIe capability offset Hans Zhang
2026-10-27 12:28 ` Hans Zhang
2026-10-27 12:28 ` Hans Zhang
2026-10-27 12:28 ` Hans Zhang
2026-10-27 12:28 ` [PATCH v4 01/16] PCI: dwc: Add pcie_cap field and caching helper Hans Zhang
2026-10-27 12:28   ` Hans Zhang
2026-10-27 12:28   ` Hans Zhang
2026-10-27 12:28   ` Hans Zhang
2026-10-27 12:34   ` sashiko-bot
2026-10-27 13:12   ` Shawn Lin
2026-10-27 13:12     ` Shawn Lin
2026-10-27 13:12     ` Shawn Lin
2026-10-27 13:12     ` Shawn Lin
2026-10-28  3:04     ` Hans Zhang
2026-10-28  3:04       ` Hans Zhang
2026-10-28  3:04       ` Hans Zhang
2026-10-28  3:04       ` Hans Zhang
2026-10-27 12:28 ` [PATCH v4 02/16] PCI: dwc: Use cached PCIe capability offset in core Hans Zhang
2026-10-27 12:28   ` Hans Zhang
2026-10-27 12:28   ` Hans Zhang
2026-10-27 12:28   ` Hans Zhang
2026-10-27 12:33   ` sashiko-bot
2026-10-27 12:28 ` [PATCH v4 03/16] PCI: dwc: imx6: Use cached PCIe capability offset Hans Zhang
2026-10-27 12:28   ` Hans Zhang
2026-10-27 12:28   ` Hans Zhang
2026-10-27 12:28   ` Hans Zhang
2026-10-27 12:33   ` sashiko-bot
2026-10-27 12:28 ` [PATCH v4 04/16] PCI: dwc: layerscape-ep: " Hans Zhang
2026-10-27 12:28   ` Hans Zhang
2026-10-27 12:28   ` Hans Zhang
2026-10-27 12:28   ` Hans Zhang
2026-10-27 12:35   ` sashiko-bot
2026-10-27 12:28 ` [PATCH v4 05/16] PCI: dwc: meson: " Hans Zhang
2026-10-27 12:28   ` Hans Zhang
2026-10-27 12:28   ` Hans Zhang
2026-10-27 12:28   ` Hans Zhang
2026-10-27 12:32   ` sashiko-bot
2026-10-27 12:28 ` [PATCH v4 06/16] PCI: dwc: rockchip: " Hans Zhang
2026-10-27 12:28   ` Hans Zhang
2026-10-27 12:28   ` Hans Zhang
2026-10-27 12:28   ` Hans Zhang
2026-10-27 12:32   ` sashiko-bot
2026-10-27 12:36   ` Shawn Lin
2026-10-27 12:36     ` Shawn Lin
2026-10-27 12:36     ` Shawn Lin
2026-10-27 12:36     ` Shawn Lin
2026-10-27 12:28 ` [PATCH v4 07/16] PCI: dwc: eswin: " Hans Zhang
2026-10-27 12:28   ` Hans Zhang
2026-10-27 12:28   ` Hans Zhang
2026-10-27 12:28   ` Hans Zhang
2026-10-27 12:32   ` sashiko-bot
2026-10-27 12:28 ` [PATCH v4 08/16] PCI: dwc: fu740: " Hans Zhang
2026-10-27 12:28   ` Hans Zhang
2026-10-27 12:28   ` Hans Zhang
2026-10-27 12:28   ` Hans Zhang
2026-10-27 12:32   ` sashiko-bot
2026-10-27 12:28 ` [PATCH v4 09/16] PCI: dwc: intel-gw: " Hans Zhang
2026-10-27 12:28   ` Hans Zhang
2026-10-27 12:28   ` Hans Zhang
2026-10-27 12:28   ` Hans Zhang
2026-10-27 12:32   ` sashiko-bot
2026-10-27 12:28 ` [PATCH v4 10/16] PCI: dwc: qcom-ep: " Hans Zhang
2026-10-27 12:28   ` Hans Zhang
2026-10-27 12:28   ` Hans Zhang
2026-10-27 12:28   ` Hans Zhang
2026-10-27 12:33   ` sashiko-bot [this message]
2026-10-27 12:28 ` [PATCH v4 11/16] PCI: dwc: qcom: " Hans Zhang
2026-10-27 12:28   ` Hans Zhang
2026-10-27 12:28   ` Hans Zhang
2026-10-27 12:28   ` Hans Zhang
2026-10-27 12:34   ` sashiko-bot
2026-10-27 12:28 ` [PATCH v4 12/16] PCI: dwc: sophgo: " Hans Zhang
2026-10-27 12:28   ` Hans Zhang
2026-10-27 12:28   ` Hans Zhang
2026-10-27 12:28   ` Hans Zhang
2026-10-27 12:32   ` sashiko-bot
2026-10-27 12:28 ` [PATCH v4 13/16] PCI: dwc: spacemit-k1: " Hans Zhang
2026-10-27 12:28   ` Hans Zhang
2026-10-27 12:28   ` Hans Zhang
2026-10-27 12:28   ` Hans Zhang
2026-10-27 12:32   ` sashiko-bot
2026-10-27 12:28 ` [PATCH v4 14/16] PCI: dwc: spear13xx: " Hans Zhang
2026-10-27 12:28   ` Hans Zhang
2026-10-27 12:28   ` Hans Zhang
2026-10-27 12:28   ` Hans Zhang
2026-10-27 12:33   ` sashiko-bot
2026-10-27 12:28 ` [PATCH v4 15/16] PCI: dwc: tegra194: " Hans Zhang
2026-10-27 12:28   ` Hans Zhang
2026-10-27 12:28   ` Hans Zhang
2026-10-27 12:28   ` Hans Zhang
2026-10-27 12:34   ` sashiko-bot
2026-10-27 12:28 ` [PATCH v4 16/16] PCI: dwc: ultrarisc: " Hans Zhang
2026-10-27 12:28   ` Hans Zhang
2026-10-27 12:28   ` Hans Zhang
2026-10-27 12:28   ` Hans Zhang
2026-10-27 12:33   ` sashiko-bot
2026-10-27 23:15 ` [PATCH v4 00/16] PCI: dwc: Cache " Bjorn Helgaas
2026-10-27 23:15   ` Bjorn Helgaas
2026-10-27 23:15   ` Bjorn Helgaas
2026-10-27 23:15   ` Bjorn Helgaas
2026-10-28  2:10   ` Hans Zhang
2026-10-28  2:10     ` Hans Zhang
2026-10-28  2:10     ` Hans Zhang
2026-10-28  2:10     ` Hans Zhang

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-186561@kernel.org \
    --to=sashiko-bot@kernel.org \
    --cc=18255117159@163.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.