]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
dmaengine: ioat: Move system_has_dca_enabled() to dma.h
authorDavid Matlack <dmatlack@google.com>
Fri, 22 Aug 2025 21:25:05 +0000 (21:25 +0000)
committerAlex Williamson <alex.williamson@redhat.com>
Wed, 27 Aug 2025 18:14:07 +0000 (12:14 -0600)
commitb7f086912c1d3ce1e8c2753e0ff329947219d0f6
treee83bbdeb0eae8cd1f101159c7c14a085c7fa2bef
parentdc0e216cf00b74cf61fdc882f8373beb8cdbec5e
dmaengine: ioat: Move system_has_dca_enabled() to dma.h

Move the function prototype for system_has_dca_enabled() from hw.h to
dma.h. This allows hw.h to be included from tools/, which will be used
in a subsysequent commit to implement a userspace driver for Intel CBDMA
devices in tools/testing/selftests/vfio.

No functional change intended.

Acked-by: Dave Jiang <dave.jiang@intel.com>
Acked-by: Shuah Khan <skhan@linuxfoundation.org>
Signed-off-by: David Matlack <dmatlack@google.com>
Link: https://lore.kernel.org/r/20250822212518.4156428-19-dmatlack@google.com
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
drivers/dma/ioat/dma.h
drivers/dma/ioat/hw.h