[0/7,PULL,REQUEST] Intel IOMMU updates for Linux v6.2

Message ID 20221122002949.148140-1-baolu.lu@linux.intel.com
Headers
Series Intel IOMMU updates for Linux v6.2 |

Message

Baolu Lu Nov. 22, 2022, 12:29 a.m. UTC
  Hi Joerg,

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

 - Add blocking domain support
 - Cleanups

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

Please consider them for next.

Best regards,
Baolu

Lu Baolu (7):
  iommu/vt-d: Allocate pasid table in device probe path
  iommu/vt-d: Add device_block_translation() helper
  iommu/vt-d: Add blocking domain support
  iommu/vt-d: Rename iommu_disable_dev_iotlb()
  iommu/vt-d: Rename domain_add_dev_info()
  iommu/vt-d: Remove unnecessary domain_context_mapped()
  iommu/vt-d: Use real field for indication of first level

 drivers/iommu/intel/iommu.h |  15 ++--
 drivers/iommu/intel/iommu.c | 169 ++++++++++++++++++------------------
 2 files changed, 90 insertions(+), 94 deletions(-)
  

Comments

Joerg Roedel Nov. 22, 2022, 9:06 a.m. UTC | #1
Hi Baolu,

On Tue, Nov 22, 2022 at 08:29:42AM +0800, Lu Baolu wrote:
> Lu Baolu (7):
>   iommu/vt-d: Allocate pasid table in device probe path
>   iommu/vt-d: Add device_block_translation() helper
>   iommu/vt-d: Add blocking domain support
>   iommu/vt-d: Rename iommu_disable_dev_iotlb()
>   iommu/vt-d: Rename domain_add_dev_info()
>   iommu/vt-d: Remove unnecessary domain_context_mapped()
>   iommu/vt-d: Use real field for indication of first level

Applied the first 6 patches. The last one has conflicts and doesn't
apply on top of my x86/vt-d branch. Could you please have a look please?

Thanks,

	Joerg
  
Baolu Lu Nov. 22, 2022, 9:41 a.m. UTC | #2
Hi Joerg,

On 2022/11/22 17:06, Joerg Roedel wrote:
> Hi Baolu,
> 
> On Tue, Nov 22, 2022 at 08:29:42AM +0800, Lu Baolu wrote:
>> Lu Baolu (7):
>>    iommu/vt-d: Allocate pasid table in device probe path
>>    iommu/vt-d: Add device_block_translation() helper
>>    iommu/vt-d: Add blocking domain support
>>    iommu/vt-d: Rename iommu_disable_dev_iotlb()
>>    iommu/vt-d: Rename domain_add_dev_info()
>>    iommu/vt-d: Remove unnecessary domain_context_mapped()
>>    iommu/vt-d: Use real field for indication of first level
> 
> Applied the first 6 patches. The last one has conflicts and doesn't
> apply on top of my x86/vt-d branch. Could you please have a look please?

I guess the last patch conflicts with below commit:

242b0aaeabbe ("iommu/vt-d: Preset Access bit for IOVA in FL non-leaf 
paging entries")

which was merged in v6.1-rc6. Can you please bring the x86/vt-d branch
to v6.1-rc6, or do you want me to rebase that patch on the existing top
of the branch?

Best regards,
baolu
  
Joerg Roedel Nov. 22, 2022, 1:06 p.m. UTC | #3
On Tue, Nov 22, 2022 at 05:41:19PM +0800, Baolu Lu wrote:
> which was merged in v6.1-rc6. Can you please bring the x86/vt-d branch
> to v6.1-rc6, or do you want me to rebase that patch on the existing top
> of the branch?

Okay, moved the vt-d branch to be based on rc6 and applied these
changes. Thanks, Baolu!