Re: [PATCH 07/12] i2c: qup: use the complete transfer length to choose DMA mode

2018-02-27 Thread Andy Gross
On Sat, Feb 03, 2018 at 01:28:12PM +0530, Abhishek Sahu wrote: > Currently each message length in complete transfer is being > checked for determining DMA mode and if any of the message length > is less than FIFO length then non DMA mode is being used which > will increase overhead. DMA can be

Re: [PATCH 07/12] i2c: qup: use the complete transfer length to choose DMA mode

2018-02-27 Thread Andy Gross
On Sat, Feb 03, 2018 at 01:28:12PM +0530, Abhishek Sahu wrote: > Currently each message length in complete transfer is being > checked for determining DMA mode and if any of the message length > is less than FIFO length then non DMA mode is being used which > will increase overhead. DMA can be

Re: [PATCH 07/12] i2c: qup: use the complete transfer length to choose DMA mode

2018-02-27 Thread Christ, Austin
Tested on Centriq 2400 Reviewed-by: Austin Christ On 2/3/2018 12:58 AM, Abhishek Sahu wrote: Currently each message length in complete transfer is being checked for determining DMA mode and if any of the message length is less than FIFO length then non DMA mode is

Re: [PATCH 07/12] i2c: qup: use the complete transfer length to choose DMA mode

2018-02-27 Thread Christ, Austin
Tested on Centriq 2400 Reviewed-by: Austin Christ On 2/3/2018 12:58 AM, Abhishek Sahu wrote: Currently each message length in complete transfer is being checked for determining DMA mode and if any of the message length is less than FIFO length then non DMA mode is being used which will

Re: [PATCH 07/12] i2c: qup: use the complete transfer length to choose DMA mode

2018-02-19 Thread Abhishek Sahu
On 2018-02-16 10:05, Sricharan R wrote: On 2/3/2018 1:28 PM, Abhishek Sahu wrote: Currently each message length in complete transfer is being checked for determining DMA mode and if any of the message length is less than FIFO length then non DMA mode is being used which will increase overhead.

Re: [PATCH 07/12] i2c: qup: use the complete transfer length to choose DMA mode

2018-02-19 Thread Abhishek Sahu
On 2018-02-16 10:05, Sricharan R wrote: On 2/3/2018 1:28 PM, Abhishek Sahu wrote: Currently each message length in complete transfer is being checked for determining DMA mode and if any of the message length is less than FIFO length then non DMA mode is being used which will increase overhead.

Re: [PATCH 07/12] i2c: qup: use the complete transfer length to choose DMA mode

2018-02-15 Thread Sricharan R
On 2/3/2018 1:28 PM, Abhishek Sahu wrote: > Currently each message length in complete transfer is being > checked for determining DMA mode and if any of the message length > is less than FIFO length then non DMA mode is being used which > will increase overhead. DMA can be used for any length

Re: [PATCH 07/12] i2c: qup: use the complete transfer length to choose DMA mode

2018-02-15 Thread Sricharan R
On 2/3/2018 1:28 PM, Abhishek Sahu wrote: > Currently each message length in complete transfer is being > checked for determining DMA mode and if any of the message length > is less than FIFO length then non DMA mode is being used which > will increase overhead. DMA can be used for any length

[PATCH 07/12] i2c: qup: use the complete transfer length to choose DMA mode

2018-02-03 Thread Abhishek Sahu
Currently each message length in complete transfer is being checked for determining DMA mode and if any of the message length is less than FIFO length then non DMA mode is being used which will increase overhead. DMA can be used for any length and it should be determined with complete transfer

[PATCH 07/12] i2c: qup: use the complete transfer length to choose DMA mode

2018-02-03 Thread Abhishek Sahu
Currently each message length in complete transfer is being checked for determining DMA mode and if any of the message length is less than FIFO length then non DMA mode is being used which will increase overhead. DMA can be used for any length and it should be determined with complete transfer