[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <fc2e30eb-2ec7-4795-a2a4-077b7fde7fd5@samsung.com>
Date: Tue, 22 Apr 2025 15:36:15 +0200
From: Marek Szyprowski <m.szyprowski@...sung.com>
To: huaqian.li@...mens.com, robin.murphy@....com
Cc: baocheng.su@...mens.com, jan.kiszka@...mens.com, iommu@...ts.linux.dev,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH 0/1] swiotlb: Make IO_TLB_SEGSIZE Configurable
On 22.04.2025 08:37, huaqian.li@...mens.com wrote:
> From: Li Hua Qian <huaqian.li@...mens.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
Powered by blists - more mailing lists