From: Marek Szyprowski <m.szyprowski@samsung.com>
To: huaqian.li@siemens.com, robin.murphy@arm.com
Cc: baocheng.su@siemens.com, jan.kiszka@siemens.com,
iommu@lists.linux.dev, linux-kernel@vger.kernel.org
Subject: Re: [PATCH 0/1] swiotlb: Make IO_TLB_SEGSIZE Configurable
Date: Tue, 22 Apr 2025 15:36:15 +0200 [thread overview]
Message-ID: <fc2e30eb-2ec7-4795-a2a4-077b7fde7fd5@samsung.com> (raw)
In-Reply-To: <20250422063719.121636-1-huaqian.li@siemens.com>
On 22.04.2025 08:37, huaqian.li@siemens.com wrote:
> From: Li Hua Qian <huaqian.li@siemens.com>
>
> This patchset introduces a change to make the IO_TLB_SEGSIZE parameter
> configurable via a new kernel configuration option (CONFIG_SWIOTLB_SEGSIZE).
>
> In certain applications, the default value of IO_TLB_SEGSIZE (128) may
> not be sufficient for memory allocation, leading to runtime errors. By
> making this parameter configurable, users can adjust the segment size to
> better suit their specific use cases, improving flexibility and system
> stability.
Could You elaborate a bit more what are those certain applications that
require increasing IO_TLB_SEGSIZE? I'm not against it, but such change
should be well justified and described, while the above cover-letter
doesn't provide anything more than is written in the patch description.
> Li Hua Qian (1):
> swiotlb: Make IO_TLB_SEGSIZE configurable
>
> include/linux/swiotlb.h | 2 +-
> kernel/dma/Kconfig | 7 +++++++
> 2 files changed, 8 insertions(+), 1 deletion(-)
>
Best regards
--
Marek Szyprowski, PhD
Samsung R&D Institute Poland
next prev parent reply other threads:[~2025-04-22 13:36 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <CGME20250422063734eucas1p2561ad6f847f6824c9c79a842fa458e41@eucas1p2.samsung.com>
2025-04-22 6:37 ` [PATCH 0/1] swiotlb: Make IO_TLB_SEGSIZE Configurable huaqian.li
2025-04-22 6:37 ` [PATCH 1/1] swiotlb: Make IO_TLB_SEGSIZE configurable huaqian.li
2025-04-22 13:36 ` Marek Szyprowski [this message]
2025-04-24 5:12 ` [PATCH 0/1] swiotlb: Make IO_TLB_SEGSIZE Configurable Li, Hua Qian
2025-04-24 12:58 ` Robin Murphy
2025-04-25 5:32 ` Li, Hua Qian
2025-04-25 10:42 ` Robin Murphy
2025-04-27 1:21 ` Li, Hua Qian
2025-04-28 20:27 ` Konrad Rzeszutek Wilk
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=fc2e30eb-2ec7-4795-a2a4-077b7fde7fd5@samsung.com \
--to=m.szyprowski@samsung.com \
--cc=baocheng.su@siemens.com \
--cc=huaqian.li@siemens.com \
--cc=iommu@lists.linux.dev \
--cc=jan.kiszka@siemens.com \
--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 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.