[PATCH] arm64: mm: warn once for ioremap attempts on RAM mappings

Will Deacon will at kernel.org
Thu Jan 22 08:59:42 PST 2026


On Mon, 22 Dec 2025 07:28:55 -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.
> 
> [...]

Applied to arm64 (for-next/misc), thanks!

[1/1] arm64: mm: warn once for ioremap attempts on RAM mappings
      https://git.kernel.org/arm64/c/53f45f045cbe

Cheers,
-- 
Will

https://fixes.arm64.dev
https://next.arm64.dev
https://will.arm64.dev



More information about the linux-arm-kernel mailing list