[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <aFj66Q_TmufwDhyW@smile.fi.intel.com>
Date: Mon, 23 Jun 2025 09:57:45 +0300
From: Andy Shevchenko <andriy.shevchenko@...el.com>
To: David Lechner <dlechner@...libre.com>
Cc: Michael Hennerich <Michael.Hennerich@...log.com>,
Jonathan Cameron <jic23@...nel.org>,
Nuno Sá <nuno.sa@...log.com>,
Andy Shevchenko <andy@...nel.org>, Rob Herring <robh@...nel.org>,
Krzysztof Kozlowski <krzk+dt@...nel.org>,
Conor Dooley <conor+dt@...nel.org>, Mark Brown <broonie@...nel.org>,
linux-iio@...r.kernel.org, linux-kernel@...r.kernel.org,
devicetree@...r.kernel.org, linux-spi@...r.kernel.org
Subject: Re: [PATCH 5/9] iio: adc: ad_sigma_delta: use spi_optimize_message()
On Fri, Jun 20, 2025 at 05:20:11PM -0500, David Lechner wrote:
> Use spi_optimize_message() to improve the performance of buffered reads.
>
> By setting up the SPI message and pre-optimizing it in the buffer
> postenable callback, we can reduce overhead during each sample read.
>
> A rough estimate shows that this reduced the CPU usage of the interrupt
> handler thread from 22% to 16% using an EVAL-AD4112ARDZ board on a
> DE10-Nano (measuring a single channel at the default 6.2 kHz sample
> rate).
...
> samples_buf_size += sizeof(int64_t);
Missed conversion in the second patch?
I have done search for these as
git grep -n 'u?int[0-9][0-9]?_t' -- $FILE(s)
--
With Best Regards,
Andy Shevchenko
Powered by blists - more mailing lists