Re: [PATCH 3/3] spi: spi-geni-qcom: Get rid of most overhead in prepare_message()

2020-07-08 Thread Mark Brown
On Wed, Jul 01, 2020 at 05:45:09PM -0700, Douglas Anderson wrote: > There's a bunch of overhead in spi-geni-qcom's prepare_message. Get > rid of it. Before this change spi_geni_prepare_message() took around > 14.5 us. After this change, spi_geni_prepare_message() takes about > 1.75 us (as measur

Re: [PATCH 3/3] spi: spi-geni-qcom: Get rid of most overhead in prepare_message()

2020-07-07 Thread Akash Asthana
On 7/2/2020 6:15 AM, Douglas Anderson wrote: There's a bunch of overhead in spi-geni-qcom's prepare_message. Get rid of it. Before this change spi_geni_prepare_message() took around 14.5 us. After this change, spi_geni_prepare_message() takes about 1.75 us (as measured by ftrace). What's he

[PATCH 3/3] spi: spi-geni-qcom: Get rid of most overhead in prepare_message()

2020-07-01 Thread Douglas Anderson
There's a bunch of overhead in spi-geni-qcom's prepare_message. Get rid of it. Before this change spi_geni_prepare_message() took around 14.5 us. After this change, spi_geni_prepare_message() takes about 1.75 us (as measured by ftrace). What's here: * We're always in FIFO mode, so no need to ca