Re: [PATCH v3] dma-buf: cma_heap: Check for device max segment size when attaching

2023-03-10 Thread Andrew Davis
On 3/6/23 8:48 PM, John Stultz wrote: On Mon, Mar 6, 2023 at 8:52 AM Andrew Davis wrote: Although there is usually not such a limitation (and when there is it is often only because the driver forgot to change the super small default), it is still correct here to break scatterlist element into

Re: [PATCH v3] dma-buf: cma_heap: Check for device max segment size when attaching

2023-03-06 Thread John Stultz
On Mon, Mar 6, 2023 at 8:52 AM Andrew Davis wrote: > > Although there is usually not such a limitation (and when there is it is > often only because the driver forgot to change the super small default), > it is still correct here to break scatterlist element into chunks of > dma_max_mapping_size()