[PATCH 2/2] counter: microchip-tcb-capture: Add DMA support for TC_RAB register reads
David Lechner
dlechner at baylibre.com
Thu May 29 08:33:20 PDT 2025
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.
More information about the linux-arm-kernel
mailing list