[00/10,PULL,REQUEST] iommu/vt-d: Fixes for v6.8-rc5

Message ID 20240219111601.96405-1-baolu.lu@linux.intel.com
Headers
Series iommu/vt-d: Fixes for v6.8-rc5 |

Message

Baolu Lu Feb. 19, 2024, 11:15 a.m. UTC
  Hi Joerg,

The following patches have been queued for v6.8. They fix some missed
behavior for nested domain implementation in the Intel IOMMU driver. To
be more specific, they aim to achieve comprehensive:

- Cache invalidation for changes in a parent domain;
- Dirty tracking setting for parent and nested domains;
- Fix a constant-out-of-range warning.

As the nested domain implementation in the Intel IOMMU driver was
introduced in v6.8-rc1, I would suggest merging this series in the rc
phase. So,

Please consider them for the iommu/fix branch.

Best regards,
Lu Baolu

Arnd Bergmann (1):
  iommu/vt-d: Fix constant-out-of-range warning

Yi Liu (9):
  iommu/vt-d: Track nested domains in parent
  iommu/vt-d: Add __iommu_flush_iotlb_psi()
  iommu/vt-d: Add missing iotlb flush for parent domain
  iommu/vt-d: Update iotlb in nested domain attach
  iommu/vt-d: Add missing device iotlb flush for parent domain
  iommu/vt-d: Remove domain parameter for
    intel_pasid_setup_dirty_tracking()
  iommu/vt-d: Wrap the dirty tracking loop to be a helper
  iommu/vt-d: Add missing dirty tracking set for parent domain
  iommu/vt-d: Set SSADE when attaching to a parent with dirty tracking

 drivers/iommu/intel/iommu.h  |   7 ++
 drivers/iommu/intel/pasid.h  |   1 -
 drivers/iommu/intel/iommu.c  | 214 ++++++++++++++++++++++++++---------
 drivers/iommu/intel/nested.c |  16 ++-
 drivers/iommu/intel/pasid.c  |   5 +-
 5 files changed, 187 insertions(+), 56 deletions(-)
  

Comments

Joerg Roedel Feb. 21, 2024, 9:29 a.m. UTC | #1
On Mon, Feb 19, 2024 at 07:15:51PM +0800, Lu Baolu wrote:
> Yi Liu (9):
>   iommu/vt-d: Track nested domains in parent
>   iommu/vt-d: Add __iommu_flush_iotlb_psi()
>   iommu/vt-d: Add missing iotlb flush for parent domain
>   iommu/vt-d: Update iotlb in nested domain attach
>   iommu/vt-d: Add missing device iotlb flush for parent domain
>   iommu/vt-d: Remove domain parameter for
>     intel_pasid_setup_dirty_tracking()
>   iommu/vt-d: Wrap the dirty tracking loop to be a helper
>   iommu/vt-d: Add missing dirty tracking set for parent domain
>   iommu/vt-d: Set SSADE when attaching to a parent with dirty tracking

Applied, thanks Baolu.