Add Machine Learning Core kernel driver with Kconfig and documentation for future Linux systems
Subsystems (2)
PATCH 1/1 Add Machine Learning Core kernel driver with Kconfig and documentation for future Linux systems
--- Documentation/index.rst | 8 + Documentation/misc/mlcore_driver.rst | 65 ++++++ drivers/misc/Kconfig | 1 + drivers/misc/Makefile | 1 + drivers/misc/mlcore/Kconfig | 7 + drivers/misc/mlcore/Makefile | 1 + drivers/misc/mlcore/mlcore_ioctl_proc_ts.c | 221 +++++++++++++++++++++ 7 files changed, 304 insertions(+) create mode 100644 Documentation/misc/mlcore_driver.rst create mode 100644 drivers/misc/mlcore/Kconfig create mode 100644 drivers/misc/mlcore/Makefile create mode 100644 drivers/misc/mlcore/mlcore_ioctl_proc_ts.c
Documentation/index.rst +8 -0
@@ -127,3 +127,11 @@ Indices and tables ================== * :ref:`genindex` + +Miscellaneous +============= + +.. toctree:: + :maxdepth: 1 + + misc/mlcore_driver
Documentation/misc/mlcore_driver.rst new file +65 -0
65 lines not on this page · raw message
drivers/misc/Kconfig +1 -0
@@ -660,4 +660,5 @@ source "drivers/misc/pvpanic/Kconfig" source "drivers/misc/mchp_pci1xxxx/Kconfig" source "drivers/misc/keba/Kconfig" source "drivers/misc/amd-sbi/Kconfig" +source "drivers/misc/mlcore/Kconfig" endmenu
drivers/misc/Makefile +1 -0
@@ -75,3 +75,4 @@ lan966x-pci-objs += lan966x_pci.dtbo.o obj-$(CONFIG_MCHP_LAN966X_PCI) += lan966x-pci.o obj-y += keba/ obj-y += amd-sbi/ +obj-$(CONFIG_MLCORE_DRIVER) += mlcore/
drivers/misc/mlcore/Kconfig new file +7 -0
@@ -0,0 +1,7 @@ +config MLCORE_DRIVER + tristate "MLCore Machine Learning Kernel Driver" + depends on PROC_FS + help + A kernel-space ML helper driver with /proc and ioctl support. + Useful for hybrid kernel/user-space machine learning interaction. +
drivers/misc/mlcore/Makefile new file +1 -0
@@ -0,0 +1 @@ +obj-$(CONFIG_MLCORE_DRIVER) += mlcore_ioctl_proc_ts.o
drivers/misc/mlcore/mlcore_ioctl_proc_ts.c new file +221 -0
221 lines not on this page · raw message
Signature · 1 line
2.43.0