mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Marek Szyprowski <m.szyprowski@samsung.com>
To: Francesco Valla <francesco@valla.it>,
	Robin Murphy <robin.murphy@arm.com>
Cc: iommu@lists.linux.dev, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] dma: swiotlb: use KiB in restricted pool allocation log
Date: Thu, 8 Oct 2026 12:08:08 +0200	[thread overview]
Message-ID: <8a43211a-4f13-4e5a-a549-289a633762f5@samsung.com> (raw)
In-Reply-To: <20261008-swiotlb-size-print-v1-1-374493b5c5a6@valla.it>

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@google.com/ [1]
> Signed-off-by: Francesco Valla <francesco@valla.it>

Applied to dma-mapping-for-next. Thanks!

Best regards
-- 
Marek Szyprowski, PhD
Samsung R&D Institute Poland


      reply	other threads:[~2026-10-08 10:08 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <CGME20261007220543eucas1p19170ec07885046129718b630c71ab9cb@eucas1p1.samsung.com>
2026-10-07 22:05 ` Francesco Valla
2026-10-08 10:08   ` Marek Szyprowski [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=8a43211a-4f13-4e5a-a549-289a633762f5@samsung.com \
    --to=m.szyprowski@samsung.com \
    --cc=francesco@valla.it \
    --cc=iommu@lists.linux.dev \
    --cc=linux-kernel@vger.kernel.org \
    --cc=robin.murphy@arm.com \
    /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

all inboxes | Powered by JetHome®