Re: [PATCH V2 1/5] common: bouncebuf: Permit passing custom alignment check function

2020-04-06 Thread Jaehoon Chung
On 4/6/20 7:55 PM, Marek Vasut wrote: > On 4/6/20 4:58 AM, Jaehoon Chung wrote: >> On 4/4/20 7:45 PM, Marek Vasut wrote: >>> Add extended version of the bounce_buffer_start(), which permits passing in >>> a custom alignment checker function for the buffer. This is useful e.g. on >>> systems with va

Re: [PATCH V2 1/5] common: bouncebuf: Permit passing custom alignment check function

2020-04-06 Thread Marek Vasut
On 4/6/20 4:58 AM, Jaehoon Chung wrote: > On 4/4/20 7:45 PM, Marek Vasut wrote: >> Add extended version of the bounce_buffer_start(), which permits passing in >> a custom alignment checker function for the buffer. This is useful e.g. on >> systems with various DMA restrictions and where the checker

Re: [PATCH V2 1/5] common: bouncebuf: Permit passing custom alignment check function

2020-04-05 Thread Jaehoon Chung
On 4/4/20 7:45 PM, Marek Vasut wrote: > Add extended version of the bounce_buffer_start(), which permits passing in > a custom alignment checker function for the buffer. This is useful e.g. on > systems with various DMA restrictions and where the checker function might > be more complex than a simp

[PATCH V2 1/5] common: bouncebuf: Permit passing custom alignment check function

2020-04-04 Thread Marek Vasut
Add extended version of the bounce_buffer_start(), which permits passing in a custom alignment checker function for the buffer. This is useful e.g. on systems with various DMA restrictions and where the checker function might be more complex than a simple CPU cache alignment check. Signed-off-by: