Re: [PATCH] dma-mapping: Stub out dma_{alloc,free,map}_pages() API

From: Arnd Bergmann
Date: Tue Jun 17 2025 - 04:27:55 EST


On Tue, Jun 17, 2025, at 09:53, Arnd Bergmann wrote:

> Between SH72xx/SH76xx, SUN3 and M68328, I believe the
> supported machines are all limited to between 1MB and 32MB in
> the maximum configuration, which is obviously extremely
> tight.

I checked the exact numbers we're talking about here: enabling
CONFIG_HAS_DMA on rsk7269_defconfig adds 10KB of extra vmlinux
size, which doesn't seem too bad:

text data bss dec hex filename
3295084 1111396 112264 4518744 44f358 vmlinux-before
3302836 1113652 112264 4528752 451a70 vmlinux-after

Arnd