On Tue, Sep 06, 2022 at 10:44:45PM +0300, Oded Gabbay wrote: > Regardless, it seems we can remove it from the calls to > dma_map_resource. I went over the kernel code and it seems only habana > and amdgpu (and amdkfd) are passing this property to dma_map_resource. > All other callers just pass 0. What really need to happen is a revert of that entire commit, given that dma_map_resource must not be used for PCIe P2P transactions as explained in my previous mail.