[PATCH 0/6] [PULL REQUEST] Intel IOMMU updates for Linux v6.1

Lu Baolu posted 6 patches 3 years, 6 months ago
There is a newer version of this series
drivers/iommu/intel/iommu.h         |  7 ++-
drivers/iommu/intel/cap_audit.c     |  4 +-
drivers/iommu/intel/iommu.c         | 87 ++++++++---------------------
drivers/iommu/intel/irq_remapping.c |  6 +-
drivers/iommu/intel/pasid.c         | 12 +---
drivers/iommu/intel/svm.c           | 62 +++-----------------
drivers/iommu/intel/Kconfig         |  5 +-
7 files changed, 45 insertions(+), 138 deletions(-)
[PATCH 0/6] [PULL REQUEST] Intel IOMMU updates for Linux v6.1
Posted by Lu Baolu 3 years, 6 months ago
Hi Joerg,

This includes patches queued for v6.1. It includes:

 - Decouple PASID and PRI from SVA
 - Add ESRTPS & ESIRTPS capability check
 - Cleanups

The whole series is also available at:
https://github.com/LuBaolu/intel-iommu/commits/vtd-update-for-v6.1

Please consider them for next.

Best regards,
Baolu

Lu Baolu (5):
  iommu/vt-d: Remove unnecessary SVA data accesses in page fault path
  iommu/vt-d: Decouple PASID & PRI enabling from SVA
  iommu/vt-d: Remove pasid_set_eafe()
  iommu/vt-d: Avoid unnecessary global IRTE cache invalidation
  iommu/vt-d: Avoid unnecessary global DMA cache invalidation

Yi Liu (1):
  iommu/vt-d: Rename cap_5lp_support to cap_fl5lp_support

 drivers/iommu/intel/iommu.h         |  7 ++-
 drivers/iommu/intel/cap_audit.c     |  4 +-
 drivers/iommu/intel/iommu.c         | 87 ++++++++---------------------
 drivers/iommu/intel/irq_remapping.c |  6 +-
 drivers/iommu/intel/pasid.c         | 12 +---
 drivers/iommu/intel/svm.c           | 62 +++-----------------
 drivers/iommu/intel/Kconfig         |  5 +-
 7 files changed, 45 insertions(+), 138 deletions(-)

-- 
2.34.1
Re: [PATCH 0/6] [PULL REQUEST] Intel IOMMU updates for Linux v6.1
Posted by Joerg Roedel 3 years, 6 months ago
Hi Baolu,

On Fri, Sep 23, 2022 at 08:42:00AM +0800, Lu Baolu wrote:
> Lu Baolu (5):
>   iommu/vt-d: Remove unnecessary SVA data accesses in page fault path
>   iommu/vt-d: Decouple PASID & PRI enabling from SVA
>   iommu/vt-d: Remove pasid_set_eafe()
>   iommu/vt-d: Avoid unnecessary global IRTE cache invalidation
>   iommu/vt-d: Avoid unnecessary global DMA cache invalidation
> 
> Yi Liu (1):
>   iommu/vt-d: Rename cap_5lp_support to cap_fl5lp_support

These don't apply cleanly on v6.0-rc4 or -rc7. Please rebase these
patches to my x86/vt-d branch and re-send.

Thanks,

	Joerg
Re: [PATCH 0/6] [PULL REQUEST] Intel IOMMU updates for Linux v6.1
Posted by Baolu Lu 3 years, 6 months ago
Hi Joerg,

On 2022/9/26 20:15, Joerg Roedel wrote:
> Hi Baolu,
> 
> On Fri, Sep 23, 2022 at 08:42:00AM +0800, Lu Baolu wrote:
>> Lu Baolu (5):
>>    iommu/vt-d: Remove unnecessary SVA data accesses in page fault path
>>    iommu/vt-d: Decouple PASID & PRI enabling from SVA
>>    iommu/vt-d: Remove pasid_set_eafe()
>>    iommu/vt-d: Avoid unnecessary global IRTE cache invalidation
>>    iommu/vt-d: Avoid unnecessary global DMA cache invalidation
>>
>> Yi Liu (1):
>>    iommu/vt-d: Rename cap_5lp_support to cap_fl5lp_support
> 
> These don't apply cleanly on v6.0-rc4 or -rc7. Please rebase these
> patches to my x86/vt-d branch and re-send.

This pull request is based on the next branch. There's a conflict
between

de9f8a91eb32 iommu/dma: Clean up Kconfig (core branch)

and

iommu/vt-d: Decouple PASID & PRI enabling from SVA (this series).

Do you prefer applying de9f8a91eb32 to vt-d branch, or let me send a new
v6.0-rc7 based pull request?

Best regards,
baolu
Re: [PATCH 0/6] [PULL REQUEST] Intel IOMMU updates for Linux v6.1
Posted by Joerg Roedel 3 years, 6 months ago
On Mon, Sep 26, 2022 at 08:38:09PM +0800, Baolu Lu wrote:
> Do you prefer applying de9f8a91eb32 to vt-d branch, or let me send a new
> v6.0-rc7 based pull request?

Yes, please send a v6.0-rc7 pull-request. I'd like to carry the conflict
resolution in the merge commit for next.

Regards,

	Joerg
Re: [PATCH 0/6] [PULL REQUEST] Intel IOMMU updates for Linux v6.1
Posted by Baolu Lu 3 years, 6 months ago
On 2022/9/26 21:01, Joerg Roedel wrote:
> On Mon, Sep 26, 2022 at 08:38:09PM +0800, Baolu Lu wrote:
>> Do you prefer applying de9f8a91eb32 to vt-d branch, or let me send a new
>> v6.0-rc7 based pull request?
> Yes, please send a v6.0-rc7 pull-request. I'd like to carry the conflict
> resolution in the merge commit for next.

Sure. A new pull request has been posted:

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

Best regards,
baolu