Re: [PATCH kernel] powerpc/powernv/npu: Remove dead iommu code

2017-02-21 Thread David Gibson
On Tue, Feb 21, 2017 at 01:40:20PM +1100, Alexey Kardashevskiy wrote: > PNV_IODA_PE_DEV is only used for NPU devices (emulated PCI bridges > representing NVLink). These are added to IOMMU groups with corresponding > NVIDIA devices after all non-NPU PEs are setup; a special helper - > pnv_pci_ioda_s

Re: [PATCH kernel] powerpc/powernv/npu: Remove dead iommu code

2017-02-21 Thread Gavin Shan
On Tue, Feb 21, 2017 at 01:40:20PM +1100, Alexey Kardashevskiy wrote: >PNV_IODA_PE_DEV is only used for NPU devices (emulated PCI bridges >representing NVLink). These are added to IOMMU groups with corresponding >NVIDIA devices after all non-NPU PEs are setup; a special helper - >pnv_pci_ioda_setup

[PATCH kernel] powerpc/powernv/npu: Remove dead iommu code

2017-02-20 Thread Alexey Kardashevskiy
PNV_IODA_PE_DEV is only used for NPU devices (emulated PCI bridges representing NVLink). These are added to IOMMU groups with corresponding NVIDIA devices after all non-NPU PEs are setup; a special helper - pnv_pci_ioda_setup_iommu_api() - handles this in pnv_pci_ioda_fixup(). The pnv_pci_ioda2_se