misc: mic: Coprocessor State Management (COSM) driver
authorAshutosh Dixit <ashutosh.dixit@intel.com>
Wed, 30 Sep 2015 01:12:27 +0000 (18:12 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 4 Oct 2015 11:46:06 +0000 (12:46 +0100)
commitf8487a26b285feea2cb210efec42c49dce9ae708
treee592e68a7d1f744bb9f847db59c2aeb5150f5824
parenta3283d831a71d53234fcc279e0d9ed262cef94d5
misc: mic: Coprocessor State Management (COSM) driver

The COSM driver allows boot, shutdown and reset of Intel MIC devices
via sysfs. This functionality was previously present in the Intel MIC
host driver but has now been taken out into a separate driver so that
it can be shared between multiple generations of Intel MIC products.
The sysfs kernel ABI used by the COSM driver is the same as that
defined originally for the MIC host driver in
Documentation/ABI/testing/sysfs-class-mic.txt.

The COSM driver also contains support for dumping the MIC card log_buf
and doing a "force reset" for the card via debugfs. The OSPM support
present in the MIC host driver has now largely been moved to user
space and only a small required OSPM functionality is now present in
the driver.

Reviewed-by: Nikhil Rao <nikhil.rao@intel.com>
Reviewed-by: Sudeep Dutt <sudeep.dutt@intel.com>
Signed-off-by: Dasaratharaman Chandramouli <dasaratharaman.chandramouli@intel.com>
Signed-off-by: Ashutosh Dixit <ashutosh.dixit@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/misc/mic/cosm/Makefile [new file with mode: 0644]
drivers/misc/mic/cosm/cosm_debugfs.c [new file with mode: 0644]
drivers/misc/mic/cosm/cosm_main.c [new file with mode: 0644]
drivers/misc/mic/cosm/cosm_main.h [new file with mode: 0644]
drivers/misc/mic/cosm/cosm_sysfs.c [new file with mode: 0644]