[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20250422063719.121636-1-huaqian.li@siemens.com>
Date: Tue, 22 Apr 2025 14:37:18 +0800
From: huaqian.li@...mens.com
To: m.szyprowski@...sung.com,
robin.murphy@....com
Cc: baocheng.su@...mens.com,
huaqian.li@...mens.com,
jan.kiszka@...mens.com,
iommu@...ts.linux.dev,
linux-kernel@...r.kernel.org
Subject: [PATCH 0/1] swiotlb: Make IO_TLB_SEGSIZE Configurable
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.
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(-)
--
2.34.1
Powered by blists - more mailing lists