lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20250526121105.434835-1-m.szyprowski@samsung.com>
Date: Mon, 26 May 2025 14:11:05 +0200
From: Marek Szyprowski <m.szyprowski@...sung.com>
To: Linus Torvalds <torvalds@...ux-foundation.org>
Cc: linux-kernel@...r.kernel.org, iommu@...ts.linux.dev, Marek Szyprowski
	<m.szyprowski@...sung.com>, Leon Romanovsky <leon@...nel.org>, Jens Axboe
	<axboe@...nel.dk>, Christoph Hellwig <hch@....de>, Keith Busch
	<kbusch@...nel.org>, Jake Edge <jake@....net>, Jonathan Corbet
	<corbet@....net>, Jason Gunthorpe <jgg@...pe.ca>, Zhu Yanjun
	<zyjzyj2000@...il.com>, Robin Murphy <robin.murphy@....com>, Joerg Roedel
	<joro@...tes.org>, Will Deacon <will@...nel.org>, Sagi Grimberg
	<sagi@...mberg.me>, Bjorn Helgaas <bhelgaas@...gle.com>, Logan Gunthorpe
	<logang@...tatee.com>, Yishai Hadas <yishaih@...dia.com>, Shameer Kolothum
	<shameerali.kolothum.thodi@...wei.com>, Kevin Tian <kevin.tian@...el.com>,
	Alex Williamson <alex.williamson@...hat.com>,
	Jérôme Glisse <jglisse@...hat.com>, Andrew Morton
	<akpm@...ux-foundation.org>, linux-doc@...r.kernel.org,
	linux-block@...r.kernel.org, linux-rdma@...r.kernel.org,
	linux-nvme@...ts.infradead.org, linux-pci@...r.kernel.org,
	kvm@...r.kernel.org, linux-mm@...ck.org, Niklas Schnelle
	<schnelle@...ux.ibm.com>, Chuck Lever <chuck.lever@...cle.com>, Luis
	Chamberlain <mcgrof@...nel.org>, Matthew Wilcox <willy@...radead.org>, Dan
	Williams <dan.j.williams@...el.com>, Kanchan Joshi <joshi.k@...sung.com>,
	Chaitanya Kulkarni <kch@...dia.com>
Subject: [GIT PULL] dma-mapping update for Linux 6.16

The following changes since commit 0af2f6be1b4281385b618cb86ad946eded089ac8:

  Linux 6.15-rc1 (2025-04-06 13:11:33 -0700)

are available in the Git repository at:

  https://git.kernel.org/pub/scm/linux/kernel/git/mszyprowski/linux.git tags/dma-mapping-6.16-2025-05-26

for you to fetch changes up to 3ee7d9496342246f4353716f6bbf64c945ff6e2d:

  docs: core-api: document the IOVA-based API (2025-05-06 08:36:54 +0200)

----------------------------------------------------------------
dma-mapping updates for Linux 6.16:

- new two step DMA mapping API, which is is a first step to a long path
  to provide alternatives to scatterlist and to remove hacks, abuses and
  design mistakes related to scatterlists; this new approach optimizes
  some calls to DMA-IOMMU layer and cache maintenance by batching them,
  reduces memory usage as it is no need to store mapped DMA addresses to
  unmap them, and reduces some function call overhead; it is a combination
  effort of many people, lead and developed by Christoph Hellwig and Leon
  Romanovsky

----------------------------------------------------------------
Christoph Hellwig (6):
      PCI/P2PDMA: Refactor the p2pdma mapping helpers
      dma-mapping: move the PCI P2PDMA mapping helpers to pci-p2pdma.h
      iommu: generalize the batched sync after map interface
      iommu/dma: Factor out a iommu_dma_map_swiotlb helper
      dma-mapping: add a dma_need_unmap helper
      docs: core-api: document the IOVA-based API

Leon Romanovsky (3):
      iommu: add kernel-doc for iommu_unmap_fast
      dma-mapping: Provide an interface to allow allocate IOVA
      dma-mapping: Implement link/unlink ranges API

 Documentation/core-api/dma-api.rst |  71 ++++++
 drivers/iommu/dma-iommu.c          | 482 ++++++++++++++++++++++++++++++++-----
 drivers/iommu/iommu.c              |  84 ++++---
 drivers/pci/p2pdma.c               |  38 +--
 include/linux/dma-map-ops.h        |  54 -----
 include/linux/dma-mapping.h        |  85 +++++++
 include/linux/iommu.h              |   4 +
 include/linux/pci-p2pdma.h         |  85 +++++++
 kernel/dma/direct.c                |  44 ++--
 kernel/dma/mapping.c               |  18 ++
 10 files changed, 764 insertions(+), 201 deletions(-)
----------------------------------------------------------------

Thanks!

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ