Re: [PATCH 2/2] counter: microchip-tcb-capture: Add DMA support for TC_RAB register reads

From
David Lechner <dlechner@baylibre.com>
Date
2025-05-29 15:33:22
Also in
linux-iio, lkml
Reply to
Dharma Balasubiramani, 2025-05-28
On 5/28/25 1:13 AM, Dharma Balasubiramani wrote:
Add optional DMA-based data transfer support to read the TC_RAB register,
which provides the next unread captured value from either RA or RB. This
improves performance and offloads CPU when mchp,use-dma-cap is enabled in
the device tree.
It looks like this is using DMA to read a single register in the implementation
of a sysfs read. Do you have measurements to show the performance difference?
I find it hard to believe that this would actually make a significant difference
compared to the overhead of the read syscall to read the sysfs attribute.

Thread (6 messages) 6 messages, 3 authors, last reply 2025-05-29
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help