]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit6a7f63a41f8c1c9982074d324d2b107e39d5bc38
tree293174d4ca09193bbb664111ae6dc14d6842150d
parentb4bbc3eaeb9988e38e5cf20408796e81f8cb4e7a
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