Re: [PATCH] dma: swiotlb: use KiB in restricted pool allocation log
From: Marek Szyprowski
Date: Thu Oct 08 2026 - 06:10:43 EST
On 08.10.2026 00:05, Francesco Valla wrote:
> Update the allocation logs for restricted memory pools to use KiBs
> instead of MiBs, to avoid truncation when the size of the memory area is
> not a multiple of a MiB.
>
> Without this modification, pools smaller than 1MiB are logged as 0MiB.
>
> The same modification has already been performed for coherent memory
> pools [1].
>
> Link: https://lore.kernel.org/all/20260629223759.2637162-1-sharaienko@xxxxxxxxxx/ [1]
> Signed-off-by: Francesco Valla <francesco@xxxxxxxx>
Applied to dma-mapping-for-next. Thanks!
Best regards
--
Marek Szyprowski, PhD
Samsung R&D Institute Poland