[PATCH v7 05/15] swiotlb: Add a new get_io_tlb_mem getter

Claire Chang tientzu at chromium.org
Tue May 18 16:51:52 AEST 2021


Still keep this function because directly using dev->dma_io_tlb_mem
will cause issues for memory allocation for existing devices. The pool
can't support atomic coherent allocation so we need to distinguish the
per device pool and the default pool in swiotlb_alloc.


More information about the Linuxppc-dev mailing list