From: Catalin Marinas <catalin.marinas@arm.com>
To: Breno Leitao <leitao@debian.org>
Cc: Will Deacon <will@kernel.org>,
linux-arm-kernel@lists.infradead.org,
linux-kernel@vger.kernel.org, kernel-team@meta.com, clm@fb.com
Subject: Re: [PATCH] arm64: mm: warn once for ioremap attempts on RAM mappings
Date: Fri, 16 Jan 2026 12:06:31 +0000 [thread overview]
Message-ID: <aWopx48U6A090aIj@arm.com> (raw)
In-Reply-To: <20251222-arm64_ioremap-v1-1-30ff5f718b61@debian.org>
On Mon, Dec 22, 2025 at 07:28:55AM -0800, Breno Leitao wrote:
> Replace WARN_ON with WARN_ONCE when detecting attempts to ioremap
> RAM. This prevents log spam when a misbehaving driver repeatedly tries
> to map RAM via ioremap.
>
> A single warning is more than enough to show the broken code path, and
> extra reports don't add extra information.
>
> Warning floods have been seen in production environments where broken
> external drivers hit this code path thousand of times, causing
> unnecessary messages to be printed and pressure on the serial console.
>
> Signed-off-by: Breno Leitao <leitao@debian.org>
It looks fine to me but it's not urgent for 6.19, so I'll leave it to
Will.
Acked-by: Catalin Marinas <catalin.marinas@arm.com>
next prev parent reply other threads:[~2026-01-16 12:06 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-12-22 15:28 [PATCH] arm64: mm: warn once for ioremap attempts on RAM mappings Breno Leitao
2026-01-16 12:06 ` Catalin Marinas [this message]
2026-01-22 16:59 ` Will Deacon
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=aWopx48U6A090aIj@arm.com \
--to=catalin.marinas@arm.com \
--cc=clm@fb.com \
--cc=kernel-team@meta.com \
--cc=leitao@debian.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.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