raw/ioat: start and stop idxd device
authorBruce Richardson <bruce.richardson@intel.com>
Thu, 8 Oct 2020 09:51:26 +0000 (10:51 +0100)
committerThomas Monjalon <thomas@monjalon.net>
Thu, 8 Oct 2020 12:33:20 +0000 (14:33 +0200)
commit2f22aeb197b9f95c78e1a2b0d5b98c46e10d8aa0
tree47effba0c396862e413aabf91c1249270c9f2465
parent69c4162643e5b4e06c5de12bc02d0f20ce27ffca
raw/ioat: start and stop idxd device

Add the start and stop functions for DSA hardware devices using the
vfio/uio kernel drivers. For vdevs using the idxd kernel driver, the device
must be started using sysfs before the device node appears for vdev use -
making start/stop functions in the driver unnecessary.

Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
Reviewed-by: Kevin Laatz <kevin.laatz@intel.com>
Acked-by: Radu Nicolau <radu.nicolau@intel.com>
drivers/raw/ioat/idxd_pci.c