From: sashiko-bot@kernel.org
To: "Yuri Zaporozhets" <yuriz@vodafonemail.de>
Cc: linux-pci@vger.kernel.org
Subject: Re: [PATCH] PCI: dwc: Don't warn when the 32-bit MSI address allocation fails
Date: Sat, 28 Nov 2026 22:16:58 +0000 [thread overview]
Message-ID: <sashiko-outbox-239082@kernel.org> (raw)
In-Reply-To: <20261128221127.147325-1-yuriz@vodafonemail.de>
> Since commit f3a296405b6e ("PCI: dwc: Strengthen the MSI address
> allocation logic"), dw_pcie_msi_host_init() first tries to allocate the
> iMSI-RX target address below 4 GiB, and falls back to a 64-bit address
> if that fails. The fallback exists for platforms that have no 32-bit DMA
> addresses, so on those platforms the first allocation is expected to
> fail. The cfg0_base shortcut taken before it does not apply when the
> "config" window itself is above 4 GiB, as it is on the K3.
>
> The page allocator cannot know that, and reports the failure with a
> full warn_alloc() splat on every boot. On a SpacemiT K3, whose RAM
> starts at 4 GiB, with gigabytes free:
>
> page allocation failure: order:0, mode:0xcc4(GFP_KERNEL|GFP_DMA32), [...]
> Call Trace:
> [...]
> [ ... ]
> Pico-ITX: the warn_alloc() splat is gone, the dev_warn() remains, and
> the port's devices get their MSIs from the 64-bit target address.
>
> Fixes: f3a296405b6e ("PCI: dwc: Strengthen the MSI address allocation logic")
> Signed-off-by: Yuri Zaporozhets <yuriz@vodafonemail.de>
Sashiko has reviewed this patch and found no issues.
--
Sashiko AI review · https://sashiko.dev/#/patchset/20261128221127.147325-1-yuriz@vodafonemail.de?part=1
prev parent reply other threads:[~2026-11-28 22:16 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-28 22:11 [PATCH] PCI: dwc: Don't warn when the 32-bit MSI address allocation fails Yuri Zaporozhets
2026-11-28 22:16 ` sashiko-bot [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=sashiko-outbox-239082@kernel.org \
--to=sashiko-bot@kernel.org \
--cc=linux-pci@vger.kernel.org \
--cc=sashiko-reviews@lists.linux.dev \
--cc=yuriz@vodafonemail.de \
/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