Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ff3d9c3c authored by Mark Allyn's avatar Mark Allyn Committed by Greg Kroah-Hartman
Browse files

staging: sep: SEP update



This is basically a rewrite so there isn't a nice easy to present way of
providing this as a patch series. This patch is a pull of Mark's new driver into
the upstream staging area. On top of that are a series of patches by
Andy Shevchenko to make it build on the current tree, fix a few things and
even get it passed sparse.

The new driver supports the kernel crypto layer, passes the coding style checks,
passes human taste checks and has proper kernel-doc formatted comments.

I've then folded back in some later fixes it was missing that got applied to
to the kernel tree.

This should be ready for more serious review with a view to migration from
the staging tree shortly.

Signed-off-by: default avatarMark Allyn <mark.a.allyn@intel.com>
[Forward port and some bug fixing]
Signed-off-by: default avatarAndy Shevchenko <andriy.shevchenko@linux.intel.com>
[Fold and tweaks for 3.2]
Signed-off-by: default avatarAlan Cox <alan@linux.intel.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent dcd6c922
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -3,7 +3,8 @@ config DX_SEP
	depends on PCI
	help
	  Discretix SEP driver; used for the security processor subsystem
	  on bard the Intel Mobile Internet Device.
	  on board the Intel Mobile Internet Device and adds SEP availability
	  to the kernel crypto infrastructure

	  The driver's name is sep_driver.

+3 −2
Original line number Diff line number Diff line
obj-$(CONFIG_DX_SEP) := sep_driver.o
ccflags-y += -I$(srctree)/$(src)
obj-$(CONFIG_DX_SEP) += sep_driver.o
sep_driver-objs := sep_crypto.o sep_main.o
+2 −3
Original line number Diff line number Diff line
Todo's so far (from Alan Cox)
- Check whether it can be plugged into any of the kernel crypto API
  interfaces - Crypto API 'glue' is still not ready to submit
- Clean up un-needed debug prints - Started to work on this
- Clean up unused ioctls
- Clean up unused fields in ioctl structures
Loading