[GIT PULL] dma-mapping fixes for Linux 7.4

From: Marek Szyprowski

Date: Wed Nov 18 2026 - 09:01:32 EST


The following changes since commit 6628e7d4c6b25c8d18f1345e3a20d21829aae7e4:

Linux 7.4-rc1 (2026-11-01 13:26:31 -0800)

are available in the Git repository at:

https://git.kernel.org/pub/scm/linux/kernel/git/mszyprowski/linux.git tags/dma-mapping-7.4-2026-11-18

for you to fetch changes up to 14866e632fa48a0b4c385ab0121526575eb8f88c:

dma-pool: decrypt pages before creating the shared remap (2026-11-16 11:29:54 +0100)

----------------------------------------------------------------
dma-mapping fixes for Linux 7.4

Various fixes for the issues identified by sashiko.dev review
system in the dma-mapping helpers (Marek Szyprowski):
- added serialization to reserved memory region initialization
- fixed initialization of the shared memory for confidential
computing memory pools
- fixed error and exit code paths

Signed-off-by: Marek Szyprowski <m.szyprowski@xxxxxxxxxxx>

----------------------------------------------------------------
Marek Szyprowski (6):
dma-coherent: serialize reserved memory pool initialization
dma: swiotlb: Serialize restricted DMA pool initialization
dma-pool: release CMA pages on atomic_pool_expand() error path
dma: swiotlb: Round restricted DMA pool size down to IO_TLB_SEGSIZE
dma: swiotlb: Properly tear down the default pool on exit
dma-pool: decrypt pages before creating the shared remap

kernel/dma/coherent.c | 11 ++++++++++-
kernel/dma/pool.c | 51 ++++++++++++++++++++++++++++-----------------------
kernel/dma/swiotlb.c | 35 ++++++++++++++++++++++++++++++++---
3 files changed, 70 insertions(+), 27 deletions(-)

----------------------------------------------------------------

Thanks!

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