[PATCH 00/14] [PULL REQUEST] Intel IOMMU updates for v6.12

Lu Baolu posted 14 patches 1 year, 3 months ago
drivers/iommu/intel/iommu.h  | 128 ++++++++-
drivers/iommu/intel/cache.c  | 239 ++++++++++++-----
drivers/iommu/intel/dmar.c   | 109 ++------
drivers/iommu/intel/iommu.c  | 503 +++++++++++++++--------------------
drivers/iommu/intel/nested.c |   3 +-
drivers/iommu/intel/pasid.c  |  12 +-
drivers/iommu/intel/svm.c    |   7 +-
7 files changed, 547 insertions(+), 454 deletions(-)
[PATCH 00/14] [PULL REQUEST] Intel IOMMU updates for v6.12
Posted by Lu Baolu 1 year, 3 months ago
Hi Joerg,

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

 - Retire si_domain and convert to use static identity domain
 - Batched IOTLB/dev-IOTLB invalidation
 - Small code refactoring and cleanups

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

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

Please consider them for iommu next.

Best regards,
baolu

Lu Baolu (10):
  iommu/vt-d: Require DMA domain if hardware not support passthrough
  iommu/vt-d: Remove identity mappings from si_domain
  iommu/vt-d: Always reserve a domain ID for identity setup
  iommu/vt-d: Remove has_iotlb_device flag
  iommu/vt-d: Factor out helpers from domain_context_mapping_one()
  iommu/vt-d: Add support for static identity domain
  iommu/vt-d: Cleanup si_domain
  iommu/vt-d: Move PCI PASID enablement to probe path
  iommu/vt-d: Unconditionally flush device TLB for pasid table updates
  iommu/vt-d: Add qi_batch for dmar_domain

Sanjay K Kumar (1):
  iommu/vt-d: Fix potential lockup if qi_submit_sync called with 0 count

Tina Zhang (3):
  iommu/vt-d: Factor out invalidation descriptor composition
  iommu/vt-d: Refactor IOTLB and Dev-IOTLB flush for batching
  iommu/vt-d: Introduce batched cache invalidation

 drivers/iommu/intel/iommu.h  | 128 ++++++++-
 drivers/iommu/intel/cache.c  | 239 ++++++++++++-----
 drivers/iommu/intel/dmar.c   | 109 ++------
 drivers/iommu/intel/iommu.c  | 503 +++++++++++++++--------------------
 drivers/iommu/intel/nested.c |   3 +-
 drivers/iommu/intel/pasid.c  |  12 +-
 drivers/iommu/intel/svm.c    |   7 +-
 7 files changed, 547 insertions(+), 454 deletions(-)

-- 
2.34.1
Re: [PATCH 00/14] [PULL REQUEST] Intel IOMMU updates for v6.12
Posted by Joerg Roedel 1 year, 3 months ago
On Mon, Sep 02, 2024 at 10:27:10AM +0800, Lu Baolu wrote:
> Lu Baolu (10):
>   iommu/vt-d: Require DMA domain if hardware not support passthrough
>   iommu/vt-d: Remove identity mappings from si_domain
>   iommu/vt-d: Always reserve a domain ID for identity setup
>   iommu/vt-d: Remove has_iotlb_device flag
>   iommu/vt-d: Factor out helpers from domain_context_mapping_one()
>   iommu/vt-d: Add support for static identity domain
>   iommu/vt-d: Cleanup si_domain
>   iommu/vt-d: Move PCI PASID enablement to probe path
>   iommu/vt-d: Unconditionally flush device TLB for pasid table updates
>   iommu/vt-d: Add qi_batch for dmar_domain
> 
> Sanjay K Kumar (1):
>   iommu/vt-d: Fix potential lockup if qi_submit_sync called with 0 count
> 
> Tina Zhang (3):
>   iommu/vt-d: Factor out invalidation descriptor composition
>   iommu/vt-d: Refactor IOTLB and Dev-IOTLB flush for batching
>   iommu/vt-d: Introduce batched cache invalidation

Applied, thanks Baolu.