Subject: [GIT PULL] Please pull IOMMUFD subsystem changes
From: Jason Gunthorpe <jgg@nvidia.com>
To: Linus Torvalds <torvalds@linux-foundation.org>
Cc: iommu@lists.linux.dev, kvm@vger.kernel.org,
	linux-kernel@vger.kernel.org, Kevin Tian <kevin.tian@intel.com>
Date: Mon, 23 Sep 2024 14:45:35 -0300

--tuLoZ1SXOKftaOK1
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

Hi Linus,

Nothing big this time, I was hoping viommu would make it, but not yet.

There is a small merge conflict "take mine" to resolve, the mm tree
added a debugfs.h include to a file that mine already has.

The tag for-linus-iommufd-merged with my merge resolution to your tree
is also available to pull.

Thanks,
Jason

The following changes since commit 5be63fc19fcaa4c236b307420483578a56986a37:

  Linux 6.11-rc5 (2024-08-25 19:07:11 +1200)

are available in the Git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/jgg/iommufd.git tags/for-linus-iommufd

for you to fetch changes up to 79805c1bbbf9846fe91c16933d64614cbbff1dee:

  iommu: Set iommu_attach_handle->domain in core (2024-09-11 20:14:07 -0300)

----------------------------------------------------------------
iommufd 6.12 merge window pull

Collection of small cleanup and one fix:

- Sort headers and struct forward declarations

- Fix random selftest failures in some cases due to dirty tracking tests

- Have the reserved IOVA regions mechanism work when a HWPT is used as a
  nesting parent. This updates the nesting parent's IOAS with the reserved
  regions of the device and will also install the ITS doorbell page on
  ARM.

- Add missed validation of parent domain ops against the current iommu

- Fix a syzkaller bug related to integer overflow during ALIGN()

- Tidy two iommu_domain attach paths

----------------------------------------------------------------
Jason Gunthorpe (4):
      iommufd/selftest: Fix buffer read overrrun in the dirty test
      Merge branch 'nesting_reserved_regions' into iommufd.git for-next
      iommufd: Check the domain owner of the parent before creating a nesting domain
      iommufd: Protect against overflow of ALIGN() during iova allocation

Nicolin Chen (3):
      iommufd: Reorder include files
      iommufd/device: Enforce reserved IOVA also when attached to hwpt_nested
      iommufd: Reorder struct forward declarations

Yi Liu (2):
      iommufd: Avoid duplicated __iommu_group_set_core_domain() call
      iommu: Set iommu_attach_handle->domain in core

 drivers/iommu/iommu.c                   |  1 +
 drivers/iommu/iommufd/device.c          | 56 ++++++++++++++++-----------------
 drivers/iommu/iommufd/fault.c           |  5 ++-
 drivers/iommu/iommufd/hw_pagetable.c    |  3 +-
 drivers/iommu/iommufd/io_pagetable.c    | 16 +++++++---
 drivers/iommu/iommufd/io_pagetable.h    |  2 +-
 drivers/iommu/iommufd/ioas.c            |  2 +-
 drivers/iommu/iommufd/iommufd_private.h | 32 ++++++++++++++++---
 drivers/iommu/iommufd/iommufd_test.h    |  2 +-
 drivers/iommu/iommufd/iova_bitmap.c     |  2 +-
 drivers/iommu/iommufd/main.c            |  8 ++---
 drivers/iommu/iommufd/pages.c           | 10 +++---
 drivers/iommu/iommufd/selftest.c        | 19 ++++++-----
 include/linux/iommufd.h                 | 12 +++----
 include/uapi/linux/iommufd.h            |  2 +-
 15 files changed, 101 insertions(+), 71 deletions(-)
(diffstat from tag for-linus-iommufd-merged)

--tuLoZ1SXOKftaOK1
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iHUEABYIAB0WIQRRRCHOFoQz/8F5bUaFwuHvBreFYQUCZvGpPQAKCRCFwuHvBreF
YT40AQDAYrybnBfy8Y+K26+xqUc1f/TEe7zF/gn2ZqUR/7GAdgEAzAAl0WJWfnxi
gBpdiNjHwTNbSJtu8vkj7/0W2DMZ1Qo=
=dQ9d
-----END PGP SIGNATURE-----

--tuLoZ1SXOKftaOK1--

.
Subject: AMD SME fails boot after "dma-mapping: direct calls for dma-iommu"
From: "Alex Xu (Hello71)" <alex_y_xu@yahoo.ca>
To: Leon Romanovsky <leon@kernel.org>, Greg Kroah-Hartman
	<gregkh@linuxfoundation.org>, Christoph Hellwig <hch@lst.de>,
	iommu@lists.linux.dev
Cc: linux-kernel@vger.kernel.org
Date: Mon, 23 Sep 2024 11:09:32 -0400

.
Subject: [GIT PULL] dma-mapping fixes for Linux 6.12
From: Christoph Hellwig <hch@infradead.org>
To: Linus Torvalds <torvalds@linux-foundation.org>
Cc: linux-kernel@vger.kernel.org, iommu@lists.linux.dev
Date: Tue, 24 Sep 2024 08:25:53 +0200

The following changes since commit 88264981f2082248e892a706b2c5004650faac54:

  Merge tag 'sched_ext-for-6.12' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/sched_ext (2024-09-21 09:44:57 -0700)

are available in the Git repository at:

  git://git.infradead.org/users/hch/dma-mapping.git tags/dma-mapping-6.12-2024-09-24

for you to fetch changes up to b348b6d17fd1d5d89b86db602f02bea54a754bd8:

  dma-mapping: report unlimited DMA addressing in IOMMU DMA path (2024-09-23 08:38:56 +0200)

----------------------------------------------------------------
dma-mapping fixes for Linux 6.12

 - sort out a few issues with the direct calls to iommu-dma
   (Christoph Hellwig, Leon Romanovsky)

----------------------------------------------------------------
Christoph Hellwig (2):
      dma-mapping: fix vmap and mmap of noncontiougs allocations
      iommu/dma: remove most stubs in iommu-dma.h

Leon Romanovsky (1):
      dma-mapping: report unlimited DMA addressing in IOMMU DMA path

 drivers/iommu/dma-iommu.c   |  33 +++++++++++++
 include/linux/dma-map-ops.h |  19 --------
 include/linux/iommu-dma.h   | 114 ++++++--------------------------------------
 kernel/dma/mapping.c        |  43 ++++++-----------
 4 files changed, 62 insertions(+), 147 deletions(-)

.
Subject: [PATCH 1/6] arm64: dts: mt8195: Fix dtbs_check error for infracfg_ao node
From: Macpaul Lin <macpaul.lin@mediatek.com>
To: Chun-Kuang Hu <chunkuang.hu@kernel.org>, Philipp Zabel
	<p.zabel@pengutronix.de>, Maarten Lankhorst
	<maarten.lankhorst@linux.intel.com>, Maxime Ripard <mripard@kernel.org>,
	Thomas Zimmermann <tzimmermann@suse.de>, David Airlie <airlied@gmail.com>,
	Simona Vetter <simona@ffwll.ch>, Rob Herring <robh@kernel.org>, Krzysztof
 Kozlowski <krzk+dt@kernel.org>, Conor Dooley <conor+dt@kernel.org>, Yong Wu
	<yong.wu@mediatek.com>, Joerg Roedel <joro@8bytes.org>, Will Deacon
	<will@kernel.org>, Robin Murphy <robin.murphy@arm.com>, Matthias Brugger
	<matthias.bgg@gmail.com>, AngeloGioacchino Del Regno
	<angelogioacchino.delregno@collabora.com>, <dri-devel@lists.freedesktop.org>,
	<linux-mediatek@lists.infradead.org>, <devicetree@vger.kernel.org>,
	<linux-kernel@vger.kernel.org>, <iommu@lists.linux.dev>,
	<linux-arm-kernel@lists.infradead.org>, Alexandre Mergnat
	<amergnat@baylibre.com>
Date: Tue, 24 Sep 2024 18:31:51 +0800

.
Subject: [PATCH V2 0/9] iommu_ioas_map_file
From: Steve Sistare <steven.sistare@oracle.com>
To: iommu@lists.linux.dev
Cc: Jason Gunthorpe <jgg@nvidia.com>, Kevin Tian <kevin.tian@intel.com>,
        Nicolin Chen <nicolinc@nvidia.com>,
        Steve Sistare <steven.sistare@oracle.com>
Date: Tue, 24 Sep 2024 08:05:29 -0700

.
Subject: Bouncing maintainer: Xiang Chen (DMA MAPPING BENCHMARK)
From: Konstantin Ryabitsev <konstantin@linuxfoundation.org>
To: iommu@lists.linux.dev
Cc: linux-kernel@vger.kernel.org, helpdesk@kernel.org
Date: Tue, 24 Sep 2024 16:47:30 -0400

.
