Skip to contentSkip to conversation

linux-next: manual merge of the iommufd tree with the iommu tree

DISCUSSION Stephen Rothwell 3 participants 5 messages Oct 25, 2023 Linux-next tree

lore
Share & tools
lore
#0 lore raw

Hi all,

Today's linux-next merge of the iommufd tree got a conflict in:

drivers/iommu/intel/pasid.c

between commit:

c61c255e114c ("iommu/vt-d: Remove unused function")

from the iommu tree and commits:

f35f22cc760e ("iommu/vt-d: Access/Dirty bit support for SS domains") cbf8b441ea08 ("iommu/vt-d: Add helper to setup pasid nested translation")

from the iommufd tree.

I fixed it up (the latter added a use of the function removed by the former, so I just used the latter) and can carry the fix as necessary. This is now fixed as far as linux-next is concerned, but any non trivial conflicts should be mentioned to your upstream maintainer when your tree is submitted for merging. You may also want to consider cooperating with the maintainer of the conflicting tree to minimise any particularly complex conflicts.

Signature · 2 lines
Cheers,
Stephen Rothwell
#1 lore raw
Quoted 15 lines · Stephen Rothwell

Hi all,

Today's linux-next merge of the iommufd tree got a conflict in:

drivers/iommu/intel/pasid.c

between commit:

c61c255e114c ("iommu/vt-d: Remove unused function")

from the iommu tree and commits:

f35f22cc760e ("iommu/vt-d: Access/Dirty bit support for SS domains") cbf8b441ea08 ("iommu/vt-d: Add helper to setup pasid nested translation")

Quoted 6 lines

from the iommufd tree.

I fixed it up (the latter added a use of the function removed by the former, so I just used the latter) and can carry the fix as necessary. This is now fixed as far as linux-next is concerned, but any non trivial

Intel folks, this is not nice :( Why was the first commit done at all if the nesting series needs this?

Thanks Stephen, it looks good
Jason

#2 lore raw
Quoted 16 lines · Jason Gunthorpe
Quoted 15 lines · Stephen Rothwell

Hi all,

Today's linux-next merge of the iommufd tree got a conflict in:

drivers/iommu/intel/pasid.c

between commit:

   c61c255e114c ("iommu/vt-d: Remove unused function")

from the iommu tree and commits:

f35f22cc760e ("iommu/vt-d: Access/Dirty bit support for SS domains") cbf8b441ea08 ("iommu/vt-d: Add helper to setup pasid nested translation")

Quoted 8 lines
Quoted 6 lines

from the iommufd tree.

I fixed it up (the latter added a use of the function removed by the former, so I just used the latter) and can carry the fix as necessary. This is now fixed as far as linux-next is concerned, but any non trivial

Intel folks, this is not nice 🙁 Why was the first commit done at all if the nesting series needs this?

It's my fault. My apologies for not realizing that the helper would still be used by the nesting translation series. I will be more careful in the future.

Best regards,
baolu

#3 lore raw
Quoted 23 lines · Baolu Lu
Quoted 22 lines · Jason Gunthorpe
Quoted 21 lines · Stephen Rothwell

Hi all,

Today's linux-next merge of the iommufd tree got a conflict in:

drivers/iommu/intel/pasid.c

between commit:

   c61c255e114c ("iommu/vt-d: Remove unused function")

from the iommu tree and commits:

f35f22cc760e ("iommu/vt-d: Access/Dirty bit support for SS domains") cbf8b441ea08 ("iommu/vt-d: Add helper to setup pasid nested translation")

from the iommufd tree.

I fixed it up (the latter added a use of the function removed by the former, so I just used the latter) and can carry the fix as necessary. This is now fixed as far as linux-next is concerned, but any non trivial

Quoted 6 lines
Quoted 2 lines

Intel folks, this is not nice 🙁 Why was the first commit done at all if the nesting series needs this?

It's my fault. My apologies for not realizing that the helper would still be used by the nesting translation series. I will be more careful in the future.

Can you send a revert of c61c255e114c ASAP to Joerg please?

Jason

#4 lore raw
Quoted 24 lines · Jason Gunthorpe
Quoted 23 lines · Baolu Lu
Quoted 22 lines · Jason Gunthorpe
Quoted 21 lines · Stephen Rothwell

Hi all,

Today's linux-next merge of the iommufd tree got a conflict in:

drivers/iommu/intel/pasid.c

between commit:

    c61c255e114c ("iommu/vt-d: Remove unused function")

from the iommu tree and commits:

f35f22cc760e ("iommu/vt-d: Access/Dirty bit support for SS domains") cbf8b441ea08 ("iommu/vt-d: Add helper to setup pasid nested translation")

from the iommufd tree.

I fixed it up (the latter added a use of the function removed by the former, so I just used the latter) and can carry the fix as necessary. This is now fixed as far as linux-next is concerned, but any non trivial

Quoted 6 lines
Quoted 5 lines
Quoted 2 lines

Intel folks, this is not nice 🙁 Why was the first commit done at all if the nesting series needs this?

It's my fault. My apologies for not realizing that the helper would still be used by the nesting translation series. I will be more careful in the future.

Can you send a revert of c61c255e114c ASAP to Joerg please?

Sure!

Best regards,
baolu