Re: [Very RFC 03/46] powernv/pci: Remove dma_dev_setup() for NPU PHBs

2019-11-20 Thread Alexey Kardashevskiy
On 20/11/2019 12:28, Oliver O'Halloran wrote: > The pnv_pci_dma_dev_setup() only does something when: > > 1) There PHB contains VFs, or > 2) The PHB defines a dma_dev_setup() callback in the pnv_phb structure. > > Neither is true for NPU PHBs, so don't set the callback in the >

[Very RFC 03/46] powernv/pci: Remove dma_dev_setup() for NPU PHBs

2019-11-19 Thread Oliver O'Halloran
The pnv_pci_dma_dev_setup() only does something when: 1) There PHB contains VFs, or 2) The PHB defines a dma_dev_setup() callback in the pnv_phb structure. Neither is true for NPU PHBs, so don't set the callback in the pci_controller_ops. Signed-off-by: Oliver O'Halloran ---