MIPS/octeon: use swiotlb_init instead of open coding it
authorChristoph Hellwig <hch@lst.de>
Mon, 14 Feb 2022 08:27:47 +0000 (09:27 +0100)
committerChristoph Hellwig <hch@lst.de>
Mon, 18 Apr 2022 05:21:10 +0000 (07:21 +0200)
commitf39f8d0eb081407e470396fd4cc376c526d13066
tree293174d4ca09193bbb664111ae6dc14d6842150d
parent9bbe7a7fc126e3d14fefa4b035854aba080926d9
MIPS/octeon: use swiotlb_init instead of open coding it

Use the generic swiotlb initialization helper instead of open coding it.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Acked-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Reviewed-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Tested-by: Boris Ostrovsky <boris.ostrovsky@oracle.com>
arch/mips/cavium-octeon/dma-octeon.c
arch/mips/pci/pci-octeon.c