On Wed, Mar 29, 2023 at 04:28:08PM +0200, Linus Walleij wrote: > I'm a bit puzzled: could the above code (which exist in > three instances in the driver) even work as it is? Or is it not used? > Or is there some failover from DMA to something else that is constantly > happening? The physical address dma type IB_MR_TYPE_DMA is rarely used and maybe nobody ever tested it, at least in a configuration where kva != pa Then again, maybe I got it wrong and it is still a kva in this case because it is still ultimately DMA mapped when using IB_MR_TYPE_DMA? Bob? Jason