Re: [PATCH v2] dma-debug: Check for drivers mapping invalid addresses in dma_map_single()

2018-10-02 Thread Robin Murphy
On 01/10/18 22:53, Stephen Boyd wrote: I recently debugged a DMA mapping oops where a driver was trying to map a buffer returned from request_firmware() with dma_map_single(). Memory returned from request_firmware() is mapped into the vmalloc region and this isn't a valid region to map with

Re: [PATCH v2] dma-debug: Check for drivers mapping invalid addresses in dma_map_single()

2018-10-02 Thread Robin Murphy
On 01/10/18 22:53, Stephen Boyd wrote: I recently debugged a DMA mapping oops where a driver was trying to map a buffer returned from request_firmware() with dma_map_single(). Memory returned from request_firmware() is mapped into the vmalloc region and this isn't a valid region to map with