On Wed, Jun 10, 2020 at 12:50 PM Jason Gunthorpe <jgg@xxxxxxxx> wrote: > How is a dma_addr_t being cast to a void *? That can't be right? > Bernard?? I was also confused about that, as I couldn't tell how/if it is able to guarantee the bus address is the same as the cpu address. I just assumed it was my lack of familiarity with the codebase.