[PATCH 00/19] [PULL REQUEST] Intel IOMMU updates for v6.13

Lu Baolu posted 19 patches 2 weeks, 6 days ago
drivers/iommu/intel/Kconfig          |   2 +-
drivers/iommu/intel/Makefile         |   2 +-
drivers/iommu/intel/dmar.c           |  15 +-
drivers/iommu/intel/iommu.c          | 404 +++++++--------------------
drivers/iommu/intel/iommu.h          |  22 +-
drivers/iommu/intel/irq_remapping.c  |   4 +-
drivers/iommu/intel/nested.c         |   3 +-
drivers/iommu/intel/pasid.c          |  34 +--
drivers/iommu/intel/prq.c            | 396 ++++++++++++++++++++++++++
drivers/iommu/intel/svm.c            | 397 --------------------------
drivers/iommu/iommufd/hw_pagetable.c |   3 +-
include/linux/dmar.h                 |   1 -
12 files changed, 517 insertions(+), 766 deletions(-)
create mode 100644 drivers/iommu/intel/prq.c
[PATCH 00/19] [PULL REQUEST] Intel IOMMU updates for v6.13
Posted by Lu Baolu 2 weeks, 6 days ago
Hi Joerg,

The following changes have been queued for v6.13-rc1. They are about new
features and code refactoring, including:

 - Add domain_alloc_paging support
 - Enable user space IOPFs in non-PASID and non-svm cases
 - Small code refactoring and cleanups

These patches are based on v6.12-rc6. The complete patches are also
available at:

https://github.com/LuBaolu/intel-iommu/commits/vtd-update-for-v6.13

Please consider them for iommu next.

Best regards,
baolu

Andy Shevchenko (1):
  iommu/vt-d: Increase buffer size for device name

Dr. David Alan Gilbert (1):
  iommu/vt-d: Remove unused dmar_msi_read

Jinjie Ruan (1):
  iommu/vt-d: Use PCI_DEVID() macro

Joel Granados (3):
  iommu/vt-d: Separate page request queue from SVM
  iommu/vt-d: Move IOMMU_IOPF into INTEL_IOMMU
  iommufd: Enable PRI when doing the iommufd_hwpt_alloc

Klaus Jensen (2):
  iommu/vt-d: Remove the pasid present check in prq_event_thread
  iommu/vt-d: Drop pasid requirement for prq initialization

Lu Baolu (8):
  iommu/vt-d: Add domain_alloc_paging support
  iommu/vt-d: Remove unused domain_alloc callback
  iommu/vt-d: Enhance compatibility check for paging domain attach
  iommu/vt-d: Remove domain_update_iommu_cap()
  iommu/vt-d: Remove domain_update_iommu_superpage()
  iommu/vt-d: Refactor first_level_by_default()
  iommu/vt-d: Refine intel_iommu_domain_alloc_user()
  iommu/vt-d: Drain PRQs when domain removed from RID

Yi Liu (1):
  iommu/vt-d: Drop s1_pgtbl from dmar_domain

Zhenzhong Duan (2):
  iommu/vt-d: Fix checks and print in dmar_fault_dump_ptes()
  iommu/vt-d: Fix checks and print in pgtable_walk()

 drivers/iommu/intel/Kconfig          |   2 +-
 drivers/iommu/intel/Makefile         |   2 +-
 drivers/iommu/intel/dmar.c           |  15 +-
 drivers/iommu/intel/iommu.c          | 404 +++++++--------------------
 drivers/iommu/intel/iommu.h          |  22 +-
 drivers/iommu/intel/irq_remapping.c  |   4 +-
 drivers/iommu/intel/nested.c         |   3 +-
 drivers/iommu/intel/pasid.c          |  34 +--
 drivers/iommu/intel/prq.c            | 396 ++++++++++++++++++++++++++
 drivers/iommu/intel/svm.c            | 397 --------------------------
 drivers/iommu/iommufd/hw_pagetable.c |   3 +-
 include/linux/dmar.h                 |   1 -
 12 files changed, 517 insertions(+), 766 deletions(-)
 create mode 100644 drivers/iommu/intel/prq.c

-- 
2.43.0
Re: [PATCH 00/19] [PULL REQUEST] Intel IOMMU updates for v6.13
Posted by Joerg Roedel 2 weeks, 5 days ago
On Mon, Nov 04, 2024 at 09:40:20AM +0800, Lu Baolu wrote:
> Andy Shevchenko (1):
>   iommu/vt-d: Increase buffer size for device name
> 
> Dr. David Alan Gilbert (1):
>   iommu/vt-d: Remove unused dmar_msi_read
> 
> Jinjie Ruan (1):
>   iommu/vt-d: Use PCI_DEVID() macro
> 
> Joel Granados (3):
>   iommu/vt-d: Separate page request queue from SVM
>   iommu/vt-d: Move IOMMU_IOPF into INTEL_IOMMU
>   iommufd: Enable PRI when doing the iommufd_hwpt_alloc
> 
> Klaus Jensen (2):
>   iommu/vt-d: Remove the pasid present check in prq_event_thread
>   iommu/vt-d: Drop pasid requirement for prq initialization
> 
> Lu Baolu (8):
>   iommu/vt-d: Add domain_alloc_paging support
>   iommu/vt-d: Remove unused domain_alloc callback
>   iommu/vt-d: Enhance compatibility check for paging domain attach
>   iommu/vt-d: Remove domain_update_iommu_cap()
>   iommu/vt-d: Remove domain_update_iommu_superpage()
>   iommu/vt-d: Refactor first_level_by_default()
>   iommu/vt-d: Refine intel_iommu_domain_alloc_user()
>   iommu/vt-d: Drain PRQs when domain removed from RID
> 
> Yi Liu (1):
>   iommu/vt-d: Drop s1_pgtbl from dmar_domain
> 
> Zhenzhong Duan (2):
>   iommu/vt-d: Fix checks and print in dmar_fault_dump_ptes()
>   iommu/vt-d: Fix checks and print in pgtable_walk()

Applied, thanks Baolu.