From: Frank Li <Frank.li@nxp.com>
To: Koichiro Den <den@valinux.co.jp>
Cc: jingoohan1@gmail.com, mani@kernel.org, lpieralisi@kernel.org,
kwilczynski@kernel.org, robh@kernel.org, bhelgaas@google.com,
linux-pci@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH 0/2] PCI: dwc: Expose integrated DesignWare eDMA windows
Date: Mon, 26 Jan 2026 12:47:51 -0500 [thread overview]
Message-ID: <aXeoxxG+9cFML1sx@lizhi-Precision-Tower-5810> (raw)
In-Reply-To: <x4cilkxvg5ccqqx244ttxgh2kgj7x6bf2e35suwguels5yiqxc@ij53hgrert7j>
On Mon, Jan 26, 2026 at 04:55:58PM +0900, Koichiro Den wrote:
> On Mon, Jan 26, 2026 at 04:15:48PM +0900, Koichiro Den wrote:
> > This series adds small, query-only helper APIs to the DesignWare PCIe
> > endpoint controller driver to expose resources of an integrated
> > DesignWare eDMA instance. Specifically, it allows querying:
> >
> > - the physical base address and size of the integrated eDMA register
> > aperture, and
> > - the per-channel linked-list (LL) region base and size, keyed by
> > transfer direction and hardware channel identifier.
> >
> > The motivation is that some DesignWare PCIe endpoint platforms integrate
> > an eDMA engine that can be driven either locally by the endpoint or
> > remotely by the host. Remote eDMA use cases (e.g. [1]) need to expose
> > the eDMA register block and LL regions to the host through PCIe BARs,
> > while still allowing the endpoint to boot with a standard EP settings,
> > without DT changes to hide the eDMA instance from the endpoint itself.
> >
> > The hardware channel identifier used by the LL-region helper can be
> > obtained via dma_get_slave_caps().hw_id, introduced by a dmaengine
> > series posted separately.
>
> For reference, the series has been submitted here:
>
> [PATCH 0/5] dmaengine: dw-edma: Add helpers for remote eDMA use scenarios
> https://lore.kernel.org/dmaengine/20260126073652.3293564-1-den@valinux.co.jp/
It'd better post together. It needs API user.
Frank
>
> Kind regards,
> Koichiro
>
> >
> > [1] [RFC PATCH v4 00/38] NTB transport backed by PCI EP embedded DMA
> > https://lore.kernel.org/linux-pci/20260118135440.1958279-1-den@valinux.co.jp/
> >
> > Developed on PCI controller/dwc:
> > commit 0ecd890e3cf5 ("PCI: dwc: Rename dw_pcie_rp::has_msi_ctrl to
> > dw_pcie_rp::use_imsi_rx for clarity")
> >
> > Kind regards,
> >
> > Koichiro Den (2):
> > PCI: dwc: Add helper to query integrated dw-edma register window
> > PCI: dwc: Add helper to query integrated dw-edma linked-list region
> >
> > MAINTAINERS | 2 +-
> > drivers/pci/controller/dwc/pcie-designware.c | 74 ++++++++++++++++++++
> > drivers/pci/controller/dwc/pcie-designware.h | 2 +
> > include/linux/pcie-dwc-edma.h | 72 +++++++++++++++++++
> > 4 files changed, 149 insertions(+), 1 deletion(-)
> > create mode 100644 include/linux/pcie-dwc-edma.h
> >
> > --
> > 2.51.0
> >
next prev parent reply other threads:[~2026-01-26 17:48 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-01-26 7:15 Koichiro Den
2026-01-26 7:15 ` [PATCH 1/2] PCI: dwc: Add helper to query integrated dw-edma register window Koichiro Den
2026-01-27 7:11 ` kernel test robot
2026-01-27 9:45 ` kernel test robot
2026-01-27 11:04 ` kernel test robot
2026-01-26 7:15 ` [PATCH 2/2] PCI: dwc: Add helper to query integrated dw-edma linked-list region Koichiro Den
2026-01-26 7:55 ` [PATCH 0/2] PCI: dwc: Expose integrated DesignWare eDMA windows Koichiro Den
2026-01-26 17:47 ` Frank Li [this message]
2026-01-27 3:41 ` Koichiro Den
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=aXeoxxG+9cFML1sx@lizhi-Precision-Tower-5810 \
--to=frank.li@nxp.com \
--cc=bhelgaas@google.com \
--cc=den@valinux.co.jp \
--cc=jingoohan1@gmail.com \
--cc=kwilczynski@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pci@vger.kernel.org \
--cc=lpieralisi@kernel.org \
--cc=mani@kernel.org \
--cc=robh@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®