Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

uio: dfl: add vendor-specific feature id

Add a Device Feature List (DFL) feature id as a generic mechanism
to expose a vendor-specific FPGA IP to user space. The feature id
is intended for use with IPs that do not need any kernel services
beyond exposure to user space through the UIO DFL driver.

The feature id is used in, e.g., Intel Oak Springs Canyon IPUs
to expose various IPs to user space, e.g., Network Controller
Sideband Interface (NC-SI), BaseNIC, and VirtIO management.

Link: https://github.com/OPAE/dfl-feature-id
Signed-off-by: Peter Colberg <peter.colberg@intel.com>
Signed-off-by: Matthew Gerlach <matthew.gerlach@linux.intel.com>
Reviewed-by: Russ Weight <russell.h.weight@intel.com>
Link: https://lore.kernel.org/r/20230531030737.12989-1-peter.colberg@intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

Peter Colberg and committed by
Greg Kroah-Hartman
c9d9d11b 282c22a8

+2
+2
drivers/uio/uio_dfl.c
··· 46 46 47 47 #define FME_FEATURE_ID_ETH_GROUP 0x10 48 48 #define FME_FEATURE_ID_HSSI_SUBSYS 0x15 49 + #define FME_FEATURE_ID_VENDOR_SPECIFIC 0x23 49 50 #define PORT_FEATURE_ID_IOPLL_USRCLK 0x14 50 51 51 52 static const struct dfl_device_id uio_dfl_ids[] = { 52 53 { FME_ID, FME_FEATURE_ID_ETH_GROUP }, 53 54 { FME_ID, FME_FEATURE_ID_HSSI_SUBSYS }, 55 + { FME_ID, FME_FEATURE_ID_VENDOR_SPECIFIC }, 54 56 { PORT_ID, PORT_FEATURE_ID_IOPLL_USRCLK }, 55 57 { } 56 58 };