[PATCH 0/2] UIO support for dfl devices

From: Xu Yilun
Date: Fri Oct 16 2020 - 02:07:45 EST


This patchset supports some dfl device drivers written in userspace.

The usage is like:

# echo dfl_dev.1 > /sys/bus/dfl/drivers/<kernel driver>/unbind
# echo dfl-uio-pdev > /sys/bus/dfl/devices/dfl_dev.1/driver_override
# echo dfl_dev.1 > /sys/bus/dfl/drivers_probe


Xu Yilun (2):
fpga: dfl: add driver_override support
fpga: dfl: add the userspace I/O device support for DFL devices

Documentation/ABI/testing/sysfs-bus-dfl | 28 +++++++++--
drivers/fpga/Kconfig | 10 ++++
drivers/fpga/Makefile | 1 +
drivers/fpga/dfl-uio-pdev.c | 83 +++++++++++++++++++++++++++++++++
drivers/fpga/dfl.c | 54 ++++++++++++++++++++-
include/linux/dfl.h | 2 +
6 files changed, 173 insertions(+), 5 deletions(-)
create mode 100644 drivers/fpga/dfl-uio-pdev.c

--
2.7.4