From: "Uwe Kleine-König" <u.kleine-koenig@baylibre.com>
To: Magnus Lindholm <linmag7@gmail.com>,
Jakub Kicinski <kuba@kernel.org>,
Marek Szyprowski <m.szyprowski@samsung.com>
Cc: richard.henderson@linaro.org, mattst88@gmail.com,
linux-kernel@vger.kernel.org, linux-alpha@vger.kernel.org,
linux-next@vger.kernel.org, netdev@vger.kernel.org,
iommu@lists.linux.dev, joro@8bytes.org, will@kernel.org,
Mark Brown <broonie@kernel.org>
Subject: Re: [PATCH v3 2/2] alpha: enable contiguous memory allocation for coherent DMA
Date: Wed, 25 Nov 2026 11:53:00 +0100 [thread overview]
Message-ID: <awa6Owm3eDW3EitJ@monoceros> (raw)
In-Reply-To: <3467269e-9929-4c9f-bc19-847976f49527@samsung.com>
[-- Attachment #1: Type: text/plain, Size: 1533 bytes --]
Hello,
On Wed, Nov 25, 2026 at 09:54:08AM +0100, Marek Szyprowski wrote:
> Hi Magnus,
>
> On 25.11.2026 00:22, Magnus Lindholm wrote:
> > Thanks for catching this and identifying the interacting commits.
> >
> > I reproduced the error on next-20261123. In
> > arch/alpha/kernel/pci_iommu.c, I changed:
> >
> > page = (gfp & GFP_DMA) ? NULL : dma_alloc_contiguous(dev, size, gfp);
> >
> > to:
> >
> > page = (gfp & GFP_DMA) ? NULL :
> > dma_alloc_contiguous(dev, size, gfp, dev_to_node(dev));
> >
> > This fixes the allmodconfig pci_iommu.o build. A full DP264 UP build
> > with CMA enabled also passed, as did an object build with CMA disabled.
> > The full allmodconfig build hit an unrelated cgroup sample error
> > involving PATH_MAX and LINE_MAX.
> >
> > I'd prefer to keep the Alpha tree independent of the DMA series.
That's up to you, but in my eyes merging in the immutable branch
provided by Jakub into your tree (or rebasing on top of it as suggested
by Marek) is really the easiest option. That way you don't have to wait
for the change to hit Linus' tree and there is no further need for
coordination or others paying attention to not create non-bisectable
commit graphs.
However looking at the immutable branch I see it contains both the dma
API change and then separately various adaptions to ethernet drivers.
IMHO the immutable branch should only contain the API changes (that is
the commits up to 31f7e12d621b) to reduce the amount of possible
conflict.
Best regards
Uwe
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]
prev parent reply other threads:[~2026-11-25 10:53 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-15 10:37 [PATCH v3 0/2] alpha: enable DMA CMA support Magnus Lindholm
2026-11-15 10:37 ` [PATCH v3 1/2] alpha: parse early parameters before reserving contiguous memory Magnus Lindholm
2026-11-15 10:37 ` [PATCH v3 2/2] alpha: enable contiguous memory allocation for coherent DMA Magnus Lindholm
2026-11-15 16:32 ` Matt Turner
2026-11-24 11:32 ` Uwe Kleine-König
2026-11-24 23:22 ` Magnus Lindholm
2026-11-25 8:54 ` Marek Szyprowski
2026-11-25 10:53 ` Uwe Kleine-König [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=awa6Owm3eDW3EitJ@monoceros \
--to=u.kleine-koenig@baylibre.com \
--cc=broonie@kernel.org \
--cc=iommu@lists.linux.dev \
--cc=joro@8bytes.org \
--cc=kuba@kernel.org \
--cc=linmag7@gmail.com \
--cc=linux-alpha@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-next@vger.kernel.org \
--cc=m.szyprowski@samsung.com \
--cc=mattst88@gmail.com \
--cc=netdev@vger.kernel.org \
--cc=richard.henderson@linaro.org \
--cc=will@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®