Intel MIC Host Driver, card OS state management.
authorSudeep Dutt <sudeep.dutt@intel.com>
Thu, 5 Sep 2013 23:41:55 +0000 (16:41 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 26 Sep 2013 20:50:56 +0000 (13:50 -0700)
commit3a6a9201897c6482573ad07ee880574147761006
tree85b2c67221f0e003a64637d815d43585718870d3
parenta01e28f692088e9789ebb0c374fdac83de59899b
Intel MIC Host Driver, card OS state management.

This patch enables the following features:
a) Boots and shuts down the card via sysfs entries.
b) Allocates and maps a device page for communication with the
   card driver and updates the device page address via scratchpad
   registers.
c) Provides sysfs entries for shutdown status, kernel command line,
   ramdisk and log buffer information.

Co-author: Dasaratharaman Chandramouli <dasaratharaman.chandramouli@intel.com>
Signed-off-by: Ashutosh Dixit <ashutosh.dixit@intel.com>
Signed-off-by: Caz Yokoyama <Caz.Yokoyama@intel.com>
Signed-off-by: Dasaratharaman Chandramouli <dasaratharaman.chandramouli@intel.com>
Signed-off-by: Harshavardhan R Kharche <harshavardhan.r.kharche@intel.com>
Signed-off-by: Nikhil Rao <nikhil.rao@intel.com>
Signed-off-by: Sudeep Dutt <sudeep.dutt@intel.com>
Acked-by: Yaozu (Eddie) Dong <eddie.dong@intel.com>
Reviewed-by: Peter P Waskiewicz Jr <peter.p.waskiewicz.jr@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
12 files changed:
Documentation/ABI/testing/sysfs-class-mic.txt
drivers/misc/mic/common/mic_device.h
drivers/misc/mic/host/Makefile
drivers/misc/mic/host/mic_boot.c [new file with mode: 0644]
drivers/misc/mic/host/mic_debugfs.c [new file with mode: 0644]
drivers/misc/mic/host/mic_device.h
drivers/misc/mic/host/mic_main.c
drivers/misc/mic/host/mic_sysfs.c
drivers/misc/mic/host/mic_x100.c
drivers/misc/mic/host/mic_x100.h
include/uapi/linux/Kbuild
include/uapi/linux/mic_common.h [new file with mode: 0644]