[PATCH v2 00/17] [PULL REQUEST] Intel IOMMU updates for Linux v6.4

Lu Baolu posted 17 patches 2 years, 8 months ago
drivers/iommu/intel/iommu.h         |  36 +++---
drivers/iommu/intel/pasid.h         |   7 --
drivers/dma/idxd/init.c             |  31 ++++-
drivers/iommu/intel/dmar.c          |   7 +-
drivers/iommu/intel/iommu.c         | 173 +++++++++++++++++-----------
drivers/iommu/intel/irq_remapping.c |   2 +-
drivers/iommu/intel/pasid.c         |  43 -------
7 files changed, 155 insertions(+), 144 deletions(-)
[PATCH v2 00/17] [PULL REQUEST] Intel IOMMU updates for Linux v6.4
Posted by Lu Baolu 2 years, 8 months ago
Hi Joerg,

This includes patches queued for v6.4. They are:

 - Allow the VT-d driver to support non-PRI IOPF
 - Remove PASID supervisor request support
 - Various small and misc cleanups

This series also includes an idxd patch to avoid driver regression after
changes in the IOMMU driver. It has been reviewed and acked by the
maintainers.

The whole series is based on v6.3-rc6 and also available at:
https://github.com/LuBaolu/intel-iommu/commits/vtd-update-for-v6.4

Please pull them for x86/vt-d branch.

Best regards,
Baolu

Change log:
 - v2:
   - Avoid using "fix" wording in the commit message of a cleanup patch,
     no functional change. [David Laight]
   - Add Acked-by from Vinod Koul to the idxd patch.

 - v1: https://lore.kernel.org/linux-iommu/20230411064815.31456-1-baolu.lu@linux.intel.com/

Christophe JAILLET (1):
  iommu/vt-d: Do not use GFP_ATOMIC when not needed

Jacob Pan (2):
  iommu/vt-d: Use non-privileged mode for all PASIDs
  iommu/vt-d: Remove PASID supervisor request support

Lu Baolu (7):
  dmaengine: idxd: Add enable/disable device IOPF feature
  iommu/vt-d: Allow SVA with device-specific IOPF
  iommu/vt-d: Move iopf code from SVA to IOPF enabling path
  iommu/vt-d: Move pfsid and ats_qdep calculation to device probe path
  iommu/vt-d: Move PRI handling to IOPF feature path
  iommu/vt-d: Remove unnecessary checks in iopf disabling path
  iommu/vt-d: Remove extern from function prototypes

Tina Zhang (7):
  iommu/vt-d: Make size of operands same in bitwise operations
  iommu/vt-d: Remove BUG_ON on checking valid pfn range
  iommu/vt-d: Remove BUG_ON in handling iotlb cache invalidation
  iommu/vt-d: Remove BUG_ON when domain->pgd is NULL
  iommu/vt-d: Remove BUG_ON in map/unmap()
  iommu/vt-d: Remove a useless BUG_ON(dev->is_virtfn)
  iommu/vt-d: Remove BUG_ON in dmar_insert_dev_scope()

 drivers/iommu/intel/iommu.h         |  36 +++---
 drivers/iommu/intel/pasid.h         |   7 --
 drivers/dma/idxd/init.c             |  31 ++++-
 drivers/iommu/intel/dmar.c          |   7 +-
 drivers/iommu/intel/iommu.c         | 173 +++++++++++++++++-----------
 drivers/iommu/intel/irq_remapping.c |   2 +-
 drivers/iommu/intel/pasid.c         |  43 -------
 7 files changed, 155 insertions(+), 144 deletions(-)

-- 
2.34.1
Re: [PATCH v2 00/17] [PULL REQUEST] Intel IOMMU updates for Linux v6.4
Posted by Joerg Roedel 2 years, 8 months ago
On Thu, Apr 13, 2023 at 12:06:28PM +0800, Lu Baolu wrote:
> Lu Baolu (7):
>   dmaengine: idxd: Add enable/disable device IOPF feature
>   iommu/vt-d: Allow SVA with device-specific IOPF
>   iommu/vt-d: Move iopf code from SVA to IOPF enabling path
>   iommu/vt-d: Move pfsid and ats_qdep calculation to device probe path
>   iommu/vt-d: Move PRI handling to IOPF feature path
>   iommu/vt-d: Remove unnecessary checks in iopf disabling path
>   iommu/vt-d: Remove extern from function prototypes
> 
> Tina Zhang (7):
>   iommu/vt-d: Make size of operands same in bitwise operations
>   iommu/vt-d: Remove BUG_ON on checking valid pfn range
>   iommu/vt-d: Remove BUG_ON in handling iotlb cache invalidation
>   iommu/vt-d: Remove BUG_ON when domain->pgd is NULL
>   iommu/vt-d: Remove BUG_ON in map/unmap()
>   iommu/vt-d: Remove a useless BUG_ON(dev->is_virtfn)
>   iommu/vt-d: Remove BUG_ON in dmar_insert_dev_scope()

Applied, thanks.