From: Niklas Cassel <cassel@kernel.org>
To: Xincheng Ji <jixincheng@ultrarisc.com>
Cc: sashiko-reviews@lists.linux.dev, linux-pci@vger.kernel.org
Subject: Re: [PATCH 2/2] PCI: ultrarisc: Remove bypass_ob_mem_iatu variable on DP1000
Date: Mon, 19 Oct 2026 14:12:12 +0200 [thread overview]
Message-ID: <atYJHP_d2BWYtnXI@ryzen> (raw)
In-Reply-To: <179239875333.3277712.11479056245012803076.b4-reply@b4>
On Mon, Oct 19, 2026 at 04:32:33PM +0800, Xincheng Ji wrote:
> Hi,
>
> On 2026-10-19 06:53 +0000, sashiko-bot@kernel.org wrote:
> > > diff --git a/drivers/pci/controller/dwc/pcie-ultrarisc.c b/drivers/pci/controller/dwc/pcie-ultrarisc.c
> > > index 523f454c6c524..a0d328c0c09b7 100644
> > > --- a/drivers/pci/controller/dwc/pcie-ultrarisc.c
> > > +++ b/drivers/pci/controller/dwc/pcie-ultrarisc.c
> > > @@ -154,12 +154,6 @@ static int ultrarisc_pcie_probe(struct platform_device *pdev)
> > >
> > > pp = &pci->pp;
> > >
> > > - /*
> > > - * DP1000 routes MEM transactions without outbound iATU windows, which
> > > - * avoids the 16-window/4GB-per-window aperture limit.
> > > - */
> > > - pp->bypass_ob_mem_iatu = true;
> > > -
> >
> > [Severity: Low]
> > Does splitting this removal from the preceding commit ("PCI: dwc: Skip MEM
> > outbound iATU setup for identity mappings") break bisectability when
> > CONFIG_PCIE_ULTRARISC is enabled?
> >
> > The preceding commit already removed the bypass_ob_mem_iatu field from
> > struct dw_pcie_rp in drivers/pci/controller/dwc/pcie-designware.h:
> >
> > struct dw_pcie_rp {
> > ...
> > bool ecam_enabled;
> > bool native_ecam;
> > - bool bypass_ob_mem_iatu;
> > bool skip_l23_ready;
> >
> > while ultrarisc_pcie_probe() in drivers/pci/controller/dwc/pcie-ultrarisc.c
> > still sets pp->bypass_ob_mem_iatu = true until this patch, causing a build
> > failure at the intermediate commit.
> >
> > Should this change be squashed into the preceding commit (whose commit
> > message already states "Remove bypass_ob_mem_iatu and the UltraRISC-specific
> > setting"), or ordered before the struct member is removed from
> > struct dw_pcie_rp?
> >
> > > platform_set_drvdata(pdev, ultra);
> > >
> > > ret = ultrarisc_pcie_init_clks(ultra);
> >
> Thanks for pointing this out.
>
> Am I correct in understanding that the issue is with the dependency
> between the patches,as the intermediate commit would fail to build
> when `CONFIG_PCIE_ULTRARISC` is enabled?
>
> Would you prefer that I reorder the patches so that the UltraRISC-specific
> assignment is removed first, or squash the change into the preceding commit
> that removes `bypass_ob_mem_iatu`?
>
> I'm happy to revise the series accordingly to ensure that each commit
> builds independently.
I think squashing the two patches would be okay.
Kind regards,
Niklas
prev parent reply other threads:[~2026-10-19 12:12 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-10-19 6:47 [PATCH 0/2] PCI: dwc: Fix MEM outbound iATU setup Xincheng Ji
2026-10-19 6:47 ` [PATCH 1/2] PCI: dwc: Skip MEM outbound iATU setup for identity mappings Xincheng Ji
2026-10-19 6:54 ` sashiko-bot
2026-10-19 6:47 ` [PATCH 2/2] PCI: ultrarisc: Remove bypass_ob_mem_iatu variable on DP1000 Xincheng Ji
2026-10-19 6:53 ` sashiko-bot
2026-10-19 8:32 ` Xincheng Ji
2026-10-19 12:12 ` Niklas Cassel [this message]
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=atYJHP_d2BWYtnXI@ryzen \
--to=cassel@kernel.org \
--cc=jixincheng@ultrarisc.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.