On 6/7/19 12:29 PM, Christoph Hellwig wrote:
I don't think we should work around this in the driver, we need to fix it in the core. I'm curious why my previous patch didn't work. Can you throw in a few printks what failed? I.e. did dma_direct_supported return false? Did the actual allocation fail?
I agree that that patch should not be sent upstream. I posted it only so that anyone running into the problem would have a work around.
I will try to see why your patch failed. Larry