All of lore.kernel.org
 help / color / mirror / Atom feed
From: sashiko-bot@kernel.org
To: "Aneesh Kumar K.V (Arm)" <aneesh.kumar@kernel.org>
Cc: "Vasily Gorbik" <gor@linux.ibm.com>,
	"Alexander Gordeev" <agordeev@linux.ibm.com>,
	"Christian Borntraeger" <borntraeger@linux.ibm.com>,
	"Heiko Carstens" <hca@linux.ibm.com>,
	linux-s390@vger.kernel.org
Subject: Re: [PATCH v5 6/6] dma: swiotlb: Remove SWIOTLB_ANY
Date: Mon, 21 Sep 2026 06:48:12 +0000	[thread overview]
Message-ID: <20260921064812.CF56F1F000FF@smtp.kernel.org> (raw)
In-Reply-To: <20260921063628.362078-7-aneesh.kumar@kernel.org>

> swiotlb pools are currently allocated below the architecture's low
> address limit by default. SWIOTLB_ANY overrides this and permits
> allocation anywhere in directly mapped memory.
> 
> SWIOTLB_INIT_ADDRESSING_LIMIT now explicitly identifies callers which
> need a pool that is reachable by devices with limited DMA addressing.
> Use it as the placement constraint and remove SWIOTLB_ANY.
> 
> This changes the default behavior for callers which do not set either
> flag. Previously, omitting SWIOTLB_ANY placed the default pool below the
> architecture's low address limit and also constrained dynamically
> allocated pools to the same range. After this change, omitting
> SWIOTLB_INIT_ADDRESSING_LIMIT permits both static and dynamic pools to
> use any directly mapped memory.
> 
> Reviewed-by: Catalin Marinas <catalin.marinas@arm.com>
> Signed-off-by: Aneesh Kumar K.V (Arm) <aneesh.kumar@kernel.org>

Sashiko has reviewed this patch and found no issues. It looks great!

-- 
Sashiko AI review · https://sashiko.dev/#/patchset/20260921063628.362078-1-aneesh.kumar@kernel.org?part=6


  reply	other threads:[~2026-09-21  6:48 UTC|newest]

Thread overview: 48+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-09-21  6:36 [PATCH v5 0/6] dma: swiotlb: Centralize default pool policy and sizing Aneesh Kumar K.V (Arm)
2026-09-21  6:36 ` Aneesh Kumar K.V (Arm)
2026-09-21  6:36 ` [PATCH v5 1/6] dma: swiotlb: Centralize default pool policy selection Aneesh Kumar K.V (Arm)
2026-09-21  6:36   ` Aneesh Kumar K.V (Arm)
2026-09-21  6:56   ` sashiko-bot
2026-09-21 15:25   ` Robin Murphy
2026-09-21 15:25     ` Robin Murphy
2026-09-22  5:32     ` Aneesh Kumar K.V
2026-09-22  5:32       ` Aneesh Kumar K.V
2026-09-21  6:36 ` [PATCH v5 2/6] dma: swiotlb: Track whether the pool size was explicitly set Aneesh Kumar K.V (Arm)
2026-09-21  6:36   ` Aneesh Kumar K.V (Arm)
2026-09-21  6:44   ` sashiko-bot
2026-09-21 12:50   ` Catalin Marinas
2026-09-21 12:50     ` Catalin Marinas
2026-09-21 15:45   ` Robin Murphy
2026-09-21 15:45     ` Robin Murphy
2026-09-22  5:42     ` Aneesh Kumar K.V
2026-09-22  5:42       ` Aneesh Kumar K.V
2026-09-21  6:36 ` [PATCH v5 3/6] dma: swiotlb: Centralize minimal pool sizing Aneesh Kumar K.V (Arm)
2026-09-21  6:36   ` Aneesh Kumar K.V (Arm)
2026-09-21  6:45   ` sashiko-bot
2026-09-21 12:52   ` Catalin Marinas
2026-09-21 12:52     ` Catalin Marinas
2026-09-21 16:49   ` Robin Murphy
2026-09-21 16:49     ` Robin Murphy
2026-09-22  6:56     ` Aneesh Kumar K.V
2026-09-22  6:56       ` Aneesh Kumar K.V
2026-09-21  6:36 ` [PATCH v5 4/6] dma: swiotlb: Centralize memory-encryption " Aneesh Kumar K.V (Arm)
2026-09-21  6:36   ` Aneesh Kumar K.V (Arm)
2026-09-21  6:52   ` sashiko-bot
2026-09-22  7:02     ` Aneesh Kumar K.V
2026-09-23 12:47   ` Robin Murphy
2026-09-23 12:47     ` Robin Murphy
2026-09-23 14:28     ` Aneesh Kumar K.V
2026-09-23 14:28       ` Aneesh Kumar K.V
2026-09-21  6:36 ` [PATCH v5 5/6] dma: swiotlb: Add an overridable architecture pool opt-out Aneesh Kumar K.V (Arm)
2026-09-21  6:36   ` Aneesh Kumar K.V (Arm)
2026-09-21  6:51   ` sashiko-bot
2026-09-22  7:04     ` Aneesh Kumar K.V
2026-09-23 13:04   ` Robin Murphy
2026-09-23 13:04     ` Robin Murphy
2026-09-23 14:18     ` Aneesh Kumar K.V
2026-09-23 14:18       ` Aneesh Kumar K.V
2026-09-21  6:36 ` [PATCH v5 6/6] dma: swiotlb: Remove SWIOTLB_ANY Aneesh Kumar K.V (Arm)
2026-09-21  6:36   ` Aneesh Kumar K.V (Arm)
2026-09-21  6:48   ` sashiko-bot [this message]
2026-09-23 13:12   ` Robin Murphy
2026-09-23 13:12     ` Robin Murphy

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=20260921064812.CF56F1F000FF@smtp.kernel.org \
    --to=sashiko-bot@kernel.org \
    --cc=agordeev@linux.ibm.com \
    --cc=aneesh.kumar@kernel.org \
    --cc=borntraeger@linux.ibm.com \
    --cc=gor@linux.ibm.com \
    --cc=hca@linux.ibm.com \
    --cc=linux-s390@vger.kernel.org \
    --cc=sashiko-reviews@lists.linux.dev \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.