> This fixes a problem where the kernel oopses cleaning pages for a buffer > that's mapped into the vmalloc space. The pages are returned from > request_firmware() and passed down directly to the i2c master to write > to the i2c touchscreen device. Mapping vmalloc buffers with > dma_map_single() won't work reliably, causing an oops like below: Exactly the reason why I implemented I2C_M_DMA_SAFE. Did you also notice the helper i2c_get_dma_safe_msg_buf() which you maybe could use for len > 32?
Attachment:
signature.asc
Description: PGP signature