linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* [PATCH kernel 0/2] powerpc/iommu: Redo iommu groups
@ 2018-10-18  7:52 Alexey Kardashevskiy
  2018-10-18  7:52 ` [PATCH kernel 1/2] powerpc/pseries: Remove IOMMU API support for non-LPAR systems Alexey Kardashevskiy
  2018-10-18  7:52 ` [PATCH kernel 2/2] powerpc/powernv/pseries: Rework device adding to IOMMU groups Alexey Kardashevskiy
  0 siblings, 2 replies; 5+ messages in thread
From: Alexey Kardashevskiy @ 2018-10-18  7:52 UTC (permalink / raw)
  To: linuxppc-dev; +Cc: Alexey Kardashevskiy, Sam Bobroff, kvm-ppc, David Gibson

The aim is to:

1. simplify the code

2. get rid of iommu_table_group_link.
Now: iommu_table points to a list of iommu_table_group_link which
point to iommu_table_group (powerpc specific part of an IOMMU group);
one iommu_table_group_link per iommu_table_group per IODA PE.

Plan: add support of multiple IODA PEs per one generic IOMMU group,
I am just not sure how yet. We already have a case of GPU+NPU groups,
and a worse one is coming, with 3xGPU + 6xNVLink2.


Please comment. Thanks.



Alexey Kardashevskiy (2):
  powerpc/pseries: Remove IOMMU API support for non-LPAR systems
  powerpc/powernv/pseries: Rework device adding to IOMMU groups

 arch/powerpc/include/asm/iommu.h          | 12 +++----
 arch/powerpc/kernel/iommu.c               | 58 ++-----------------------------
 arch/powerpc/platforms/powernv/pci-ioda.c | 10 +-----
 arch/powerpc/platforms/powernv/pci.c      | 43 ++++++++++++++++++++++-
 arch/powerpc/platforms/pseries/iommu.c    | 55 ++++++++++++++---------------
 5 files changed, 76 insertions(+), 102 deletions(-)

-- 
2.11.0


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

end of thread, other threads:[~2018-11-08  6:26 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-10-18  7:52 [PATCH kernel 0/2] powerpc/iommu: Redo iommu groups Alexey Kardashevskiy
2018-10-18  7:52 ` [PATCH kernel 1/2] powerpc/pseries: Remove IOMMU API support for non-LPAR systems Alexey Kardashevskiy
2018-11-08  5:11   ` David Gibson
2018-10-18  7:52 ` [PATCH kernel 2/2] powerpc/powernv/pseries: Rework device adding to IOMMU groups Alexey Kardashevskiy
2018-11-08  5:18   ` David Gibson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).