public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Lu Baolu <baolu.lu@linux.intel.com>
To: Joerg Roedel <joro@8bytes.org>
Cc: Jason Gunthorpe <jgg@nvidia.com>,
	Kevin Tian <kevin.tian@intel.com>, Will Deacon <will@kernel.org>,
	Robin Murphy <robin.murphy@arm.com>,
	Jean-Philippe Brucker <jean-philippe@linaro.com>,
	iommu@lists.linux.dev, linux-kernel@vger.kernel.org
Subject: [RESEND PATCH v14 00/13] iommu: SVA and IOPF refactoring
Date: Mon, 31 Oct 2022 08:59:04 +0800	[thread overview]
Message-ID: <20221031005917.45690-1-baolu.lu@linux.intel.com> (raw)

Hi Joerg,

This is a resent version of v14 which was posted here:
https://lore.kernel.org/linux-iommu/20220924001204.4005613-1-baolu.lu@linux.intel.com/

No further comments since the last post. So I rebased it on the top of
v6.1-rc3 so that you can easily take it for v6.2 if you have interest.

It's purely a rebased version, no functional change. Please refer to
the original post for series description and change history.

This series is also available on github:

https://github.com/LuBaolu/intel-iommu/commits/iommu-sva-refactoring-v14-resend

Please consider it for your iommu tree.

Best regards,
baolu

Lu Baolu (13):
  iommu: Add max_pasids field in struct iommu_device
  iommu: Add max_pasids field in struct dev_iommu
  iommu: Remove SVM_FLAG_SUPERVISOR_MODE support
  PCI: Enable PASID only when ACS RR & UF enabled on upstream path
  iommu: Add attach/detach_dev_pasid iommu interfaces
  iommu: Add IOMMU SVA domain support
  iommu/vt-d: Add SVA domain support
  arm-smmu-v3/sva: Add SVA domain support
  iommu/sva: Refactoring iommu_sva_bind/unbind_device()
  iommu: Remove SVA related callbacks from iommu ops
  iommu: Prepare IOMMU domain for IOPF
  iommu: Per-domain I/O page fault handling
  iommu: Rename iommu-sva-lib.{c,h}

 include/linux/intel-svm.h                     |  13 -
 include/linux/iommu.h                         | 116 ++++++--
 drivers/iommu/arm/arm-smmu-v3/arm-smmu-v3.h   |  23 +-
 drivers/iommu/intel/iommu.h                   |  18 +-
 .../iommu/{iommu-sva-lib.h => iommu-sva.h}    |  14 +-
 drivers/dma/idxd/cdev.c                       |   3 +-
 drivers/dma/idxd/init.c                       |  25 +-
 .../iommu/arm/arm-smmu-v3/arm-smmu-v3-sva.c   | 104 ++++---
 drivers/iommu/arm/arm-smmu-v3/arm-smmu-v3.c   |  21 +-
 drivers/iommu/intel/dmar.c                    |   7 +
 drivers/iommu/intel/iommu.c                   |  30 +-
 drivers/iommu/intel/svm.c                     | 145 ++++-----
 drivers/iommu/io-pgfault.c                    |  77 ++---
 drivers/iommu/iommu-sva-lib.c                 |  71 -----
 drivers/iommu/iommu-sva.c                     | 240 +++++++++++++++
 drivers/iommu/iommu.c                         | 277 ++++++++++++------
 drivers/misc/uacce/uacce.c                    |   2 +-
 drivers/pci/ats.c                             |   3 +
 drivers/iommu/Makefile                        |   2 +-
 19 files changed, 732 insertions(+), 459 deletions(-)
 rename drivers/iommu/{iommu-sva-lib.h => iommu-sva.h} (83%)
 delete mode 100644 drivers/iommu/iommu-sva-lib.c
 create mode 100644 drivers/iommu/iommu-sva.c

-- 
2.34.1


             reply	other threads:[~2022-10-31  1:06 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-10-31  0:59 Lu Baolu [this message]
2022-10-31  0:59 ` [RESEND PATCH v14 01/13] iommu: Add max_pasids field in struct iommu_device Lu Baolu
2022-10-31  0:59 ` [RESEND PATCH v14 02/13] iommu: Add max_pasids field in struct dev_iommu Lu Baolu
2022-10-31  0:59 ` [RESEND PATCH v14 03/13] iommu: Remove SVM_FLAG_SUPERVISOR_MODE support Lu Baolu
2022-10-31  0:59 ` [RESEND PATCH v14 04/13] PCI: Enable PASID only when ACS RR & UF enabled on upstream path Lu Baolu
2022-10-31  0:59 ` [RESEND PATCH v14 05/13] iommu: Add attach/detach_dev_pasid iommu interfaces Lu Baolu
2022-10-31  0:59 ` [RESEND PATCH v14 06/13] iommu: Add IOMMU SVA domain support Lu Baolu
2022-10-31  0:59 ` [RESEND PATCH v14 07/13] iommu/vt-d: Add " Lu Baolu
2022-10-31  0:59 ` [RESEND PATCH v14 08/13] arm-smmu-v3/sva: " Lu Baolu
2022-10-31  0:59 ` [RESEND PATCH v14 09/13] iommu/sva: Refactoring iommu_sva_bind/unbind_device() Lu Baolu
2022-10-31  0:59 ` [RESEND PATCH v14 10/13] iommu: Remove SVA related callbacks from iommu ops Lu Baolu
2022-10-31  0:59 ` [RESEND PATCH v14 11/13] iommu: Prepare IOMMU domain for IOPF Lu Baolu
2022-10-31  0:59 ` [RESEND PATCH v14 12/13] iommu: Per-domain I/O page fault handling Lu Baolu
2022-10-31  0:59 ` [RESEND PATCH v14 13/13] iommu: Rename iommu-sva-lib.{c,h} Lu Baolu
2022-11-03 14:48 ` [RESEND PATCH v14 00/13] iommu: SVA and IOPF refactoring Joerg Roedel

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20221031005917.45690-1-baolu.lu@linux.intel.com \
    --to=baolu.lu@linux.intel.com \
    --cc=iommu@lists.linux.dev \
    --cc=jean-philippe@linaro.com \
    --cc=jgg@nvidia.com \
    --cc=joro@8bytes.org \
    --cc=kevin.tian@intel.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=robin.murphy@arm.com \
    --cc=will@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox