All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] Remove iommu_group_remove_device() from fsl
@ 2023-05-16  0:27 Jason Gunthorpe
  2023-05-16  0:27 ` [PATCH 1/2] iommu/fsl: Do not use iommu_group_remove_device() under ops->device_group() Jason Gunthorpe
  2023-05-16  0:27 ` [PATCH 2/2] iommu/fsl: Always allocate a group for non-pci devices Jason Gunthorpe
  0 siblings, 2 replies; 7+ messages in thread
From: Jason Gunthorpe @ 2023-05-16  0:27 UTC (permalink / raw)
  To: iommu, Joerg Roedel, Robin Murphy, Will Deacon

With POWER SPAPR now having a real iommu driver and using the normal group
lifecycle stuff fixing FSL will leave only VFIO's no-iommu support as a
user for the iommu_group_add/remove_device() calls. This will help
simplify the understanding of what the core code should be doing for these
functions.

Fix FSL to not need to call iommu_group_remove_device() at all.

Jason Gunthorpe (2):
  iommu/fsl: Do not use iommu_group_remove_device() under
    ops->device_group()
  iommu/fsl: Always allocate a group for non-pci devices

 drivers/iommu/fsl_pamu_domain.c | 55 +++++++++++++--------------------
 1 file changed, 21 insertions(+), 34 deletions(-)


base-commit: 1421774b874bfd5fd1b2b05b59b67c0c5e0d513e
-- 
2.40.1


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2023-05-16 19:52 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-05-16  0:27 [PATCH 0/2] Remove iommu_group_remove_device() from fsl Jason Gunthorpe
2023-05-16  0:27 ` [PATCH 1/2] iommu/fsl: Do not use iommu_group_remove_device() under ops->device_group() Jason Gunthorpe
2023-05-16 15:00   ` Robin Murphy
2023-05-16 16:09     ` Jason Gunthorpe
2023-05-16 18:24       ` Robin Murphy
2023-05-16 19:52         ` Jason Gunthorpe
2023-05-16  0:27 ` [PATCH 2/2] iommu/fsl: Always allocate a group for non-pci devices Jason Gunthorpe

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.