aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2014-10-10Revert "intel: create intel-common-preempt-rt and use it"Bruce Ashfield
This reverts commit 1d86365fb6548d2eae089910b22bda683ae27746.
2014-10-10menuconfig,check-lxdiaglog.sh: Allow specification of ncurses locationBruce Ashfield
1/1 [ Author: Jason Wessel Email: jason.wessel@windriver.com Subject: menuconfig,check-lxdiaglog.sh: Allow specification of ncurses location Date: Thu, 25 Sep 2014 11:26:49 -0700 In some cross build environments such as the Yocto Project build environment it provides an ncurses library that is compiled differently than the host's version. This causes display corruption problems when the host's curses includes are used instead of the includes from the provided compiler are overridden. There is a second case where there is no curses libraries at all on the host system and menuconfig will just fail entirely. The solution is simply to allow an override variable in check-lxdialog.sh for environments such as the Yocto Project. Adding a CROSS_CURSES_LIB and CROSS_CURSES_INC solves the issue and allowing compiling and linking against the right headers and libraries. Signed-off-by: Jason Wessel <jason.wessel@windriver.com> cc: Michal Marek <mmarek@suse.cz> cc: linux-kbuild@vger.kernel.org Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> ] Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2014-10-10cryptodev: updating cryptodev kbuild patchBruce Ashfield
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2014-10-10Added files.Bruce Ashfield
1/292 [ Author: Nikos Mavrogiannopoulos Email: nmav@gnutls.org Subject: Added files. Date: Sat, 28 Nov 2009 15:47:11 +0200 ] 2/292 [ Author: Nikos Mavrogiannopoulos Email: nmav@gnutls.org Subject: Corrected example Date: Fri, 19 Feb 2010 17:18:56 +0100 ] 3/292 [ Author: Nikos Mavrogiannopoulos Email: nmav@gnutls.org Subject: enable all tests Date: Sat, 28 Nov 2009 19:35:33 +0200 ] 4/292 [ Author: Nikos Mavrogiannopoulos Email: nmav@gnutls.org Subject: Added CIOCCRYPTV that will encrypt/hash iovectors. Date: Sat, 28 Nov 2009 19:35:35 +0200 ] 5/292 [ Author: Nikos Mavrogiannopoulos Email: nmav@gnutls.org Subject: Only check that size is multiple of blocksize on ciphers. Date: Sun, 29 Nov 2009 01:04:10 +0200 ] 6/292 [ Author: Nikos Mavrogiannopoulos Email: nmav@gnutls.org Subject: License is GPL Date: Fri, 4 Dec 2009 01:27:22 +0200 ] 7/292 [ Author: Nikos Mavrogiannopoulos Email: nmav@gnutls.org Subject: Revert "Added CIOCCRYPTV that will encrypt/hash iovectors.". This is a cryptodev release that intends to be fully compatible with OpenBSD and FreeBSD APIs. Date: Fri, 4 Dec 2009 01:34:03 +0200 This reverts commit 30181c1a49a63fddc97dd10dbac1b49568aede1f. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Conflicts: cryptodev.c ] 8/292 [ Author: Nikos Mavrogiannopoulos Email: nmav@gnutls.org Subject: Improved HMAC examples. Date: Fri, 4 Dec 2009 01:38:29 +0200 ] 9/292 [ Author: Nikos Mavrogiannopoulos Email: nmav@gnutls.org Subject: Better name for example1. Date: Fri, 4 Dec 2009 01:39:01 +0200 ] 10/292 [ Author: Nikos Mavrogiannopoulos Email: nmav@gnutls.org Subject: Added README Date: Sat, 23 Jan 2010 09:04:08 +0100 ] 11/292 [ Author: Nikos Mavrogiannopoulos Email: nmav@gnutls.org Subject: Added GPLv3 license files and text. Date: Sat, 23 Jan 2010 09:12:30 +0100 ] 12/292 [ Author: Nikos Mavrogiannopoulos Email: nmav@gnutls.org Subject: Corrected copyright statements and other minir fixes. Date: Fri, 19 Feb 2010 15:15:49 +0100 ] 13/292 [ Author: Nikos Mavrogiannopoulos Email: nmav@gnutls.org Subject: Added support for asynchronous block ciphers. Date: Fri, 19 Feb 2010 17:01:52 +0100 ] 14/292 [ Author: Nikos Mavrogiannopoulos Email: nmav@gnutls.org Subject: Corrected example Date: Fri, 19 Feb 2010 17:18:56 +0100 ] 15/292 [ Author: Nikos Mavrogiannopoulos Email: nmav@gnutls.org Subject: Added async hash support. Date: Fri, 19 Feb 2010 19:27:19 +0100 ] 16/292 [ Author: Nikos Mavrogiannopoulos Email: nmav@gnutls.org Subject: Added .gitignore Date: Fri, 19 Feb 2010 19:28:46 +0100 ] 17/292 [ Author: Nikos Mavrogiannopoulos Email: nmav@gnutls.org Subject: Corrected bug in IV setting for ciphers. Date: Fri, 19 Feb 2010 20:10:30 +0100 ] 18/292 [ Author: Nikos Mavrogiannopoulos Email: nmav@gnutls.org Subject: Applied Michael's patch for 3des. Date: Fri, 19 Feb 2010 23:38:44 +0100 ] 19/292 [ Author: Nikos Mavrogiannopoulos Email: nmav@gnutls.org Subject: Reintroduced dprintk() everywhere. Date: Fri, 19 Feb 2010 23:48:10 +0100 ] 20/292 [ Author: Nikos Mavrogiannopoulos Email: nmav@gnutls.org Subject: Added short history. Date: Fri, 19 Feb 2010 23:56:20 +0100 ] 21/292 [ Author: Nikos Mavrogiannopoulos Email: nmav@gnutls.org Subject: Switched type with __user. Date: Fri, 19 Feb 2010 23:58:11 +0100 ] 22/292 [ Author: Nikos Mavrogiannopoulos Email: nmav@gnutls.org Subject: Use only async API since it is a superset of the synchronous one. Cleanup in structures. Date: Sat, 20 Feb 2010 09:12:51 +0100 ] 23/292 [ Author: Nikos Mavrogiannopoulos Email: nmav@gnutls.org Subject: Use wait_for_completion instead of wait_for_completion_interruptible since we cannot restart the system call so far. Date: Sat, 20 Feb 2010 09:14:00 +0100 ] 24/292 [ Author: Nikos Mavrogiannopoulos Email: nmav@gnutls.org Subject: Added verification of few AES vectors. Date: Sat, 20 Feb 2010 09:27:50 +0100 ] 25/292 [ Author: Nikos Mavrogiannopoulos Email: nmav@gnutls.org Subject: Corrected usage of wait_for_completion Date: Sat, 20 Feb 2010 10:45:48 +0100 ] 26/292 [ Author: Nikos Mavrogiannopoulos Email: nmav@gnutls.org Subject: Added "make check" that will actually run the examples. Date: Sat, 20 Feb 2010 10:49:48 +0100 ] 27/292 [ Author: Nikos Mavrogiannopoulos Email: nmav@gnutls.org Subject: Examples were moved to examples/ directory. Date: Sat, 20 Feb 2010 10:54:35 +0100 ] 28/292 [ Author: Nikos Mavrogiannopoulos Email: nmav@gnutls.org Subject: Added modified cryptodev.h to avoid copyright issues with no license from previous one (suggestion from savanah admins) Date: Fri, 26 Feb 2010 18:35:46 +0100 ] 29/292 [ Author: Michael Weiser Email: michael@weiser.dinsnail.net Subject: cryptodev initialises its sg with sg_set_buf. Although I'm not sure, what the repercussions are, I changed it to sg_init_one with no ill effects. Date: Fri, 26 Feb 2010 18:35:49 +0100 Added comment for wait_for_completion(). Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org> ] 30/292 [ Author: Nikos Mavrogiannopoulos Email: nmav@gnutls.org Subject: The kernel driver compiles and works fine. But cryptodev.h is now incompatible with openssl's cryptodev engine. Reported by Michael Weiser. Date: Tue, 2 Mar 2010 21:19:35 +0100 ] 31/292 [ Author: Nikos Mavrogiannopoulos Email: nmav@gnutls.org Subject: Finally rewritten to avoid copyright issues. Date: Wed, 3 Mar 2010 15:59:15 +0100 ] 32/292 [ Author: Nikos Mavrogiannopoulos Email: nmav@gnutls.org Subject: Use unlikely() on unlikely situations. Date: Wed, 3 Mar 2010 16:03:39 +0100 ] 33/292 [ Author: Nikos Mavrogiannopoulos Email: nmav@gnutls.org Subject: Corrected make clean, and corrected examples to use the current cryptodev.h definitions. Date: Wed, 17 Mar 2010 13:31:59 +0100 ] 34/292 [ Author: Nikos Mavrogiannopoulos Email: nmav@gnutls.org Subject: Added openssl patch. Date: Wed, 17 Mar 2010 13:47:48 +0100 ] 35/292 [ Author: Nikos Mavrogiannopoulos Email: nmav@gnutls.org Subject: Removed old time linux-cryptodev compatibility stuff. They are no longer needed and we now use the common with other systems crypto/cryptodev.h. Reported by M. Braun. Date: Wed, 17 Mar 2010 17:56:47 +0100 ] 36/292 [ Author: Nikos Mavrogiannopoulos Email: nmav@gnutls.org Subject: Added maintainer and minor fix. Date: Wed, 17 Mar 2010 18:04:57 +0100 ] 37/292 [ Author: Michael Weiser Email: michael@esgaroth.weiser.dinsnail.net Subject: Added patch that makes AES192 and 256 known to the openssl cryptodev engine. Date: Wed, 17 Mar 2010 20:22:47 +0100 ] 38/292 [ Author: Nikos Mavrogiannopoulos Email: nmav@gnutls.org Subject: Renamed patch name from cryptodev -> cryptodev-linux. Date: Thu, 18 Mar 2010 17:13:04 +0100 ] 39/292 [ Author: Nikos Mavrogiannopoulos Email: nmav@gnutls.org Subject: updated for releases and scripts. Date: Mon, 12 Apr 2010 20:51:06 +0200 ] 40/292 [ Author: Nikos Mavrogiannopoulos Email: nmav@gnutls.org Subject: Corrected handling of error conditions (properly release memory). Date: Wed, 26 May 2010 10:16:47 +0200 ] 41/292 [ Author: Nikos Mavrogiannopoulos Email: nmav@gnutls.org Subject: If alg->max_keysize==0, allow any key size. Date: Tue, 15 Jun 2010 16:47:39 +0200 ] 42/292 [ Author: Phil Sutter Email: phil.sutter@viprinet.com Subject: add compat_ioctl code Date: Tue, 15 Jun 2010 18:17:50 +0200 ] 43/292 [ Author: Phil Sutter Email: phil.sutter@viprinet.com Subject: whitespace cleanup Date: Tue, 15 Jun 2010 18:24:16 +0200 ] 44/292 [ Author: Nikos Mavrogiannopoulos Email: nmav@gnutls.org Subject: corrected typos. Date: Wed, 16 Jun 2010 19:38:24 +0200 ] 45/292 [ Author: Phil Sutter Email: phil.sutter@viprinet.com Subject: *_to_compat, compat_to_*: fix different size pointer casting Date: Thu, 17 Jun 2010 11:40:07 +0200 In order to warning-free convert a 32bit integer into a 64bit pointer, casting in two steps is needed: first to adjust the variable size to 64bit, then to actually convert the integer into a pointer. The other direction is easier: after converting the pointer to an integer, assignment to a smaller variable can be done without warning. ] 46/292 [ Author: Phil Sutter Email: phil.sutter@viprinet.com Subject: crypto_op_to_*: fix typo into the correct direction Date: Thu, 17 Jun 2010 11:46:00 +0200 As these functions only exist to convert from one data structure into the other, their names should stick to the structure names for clarity. ] 47/292 [ Author: Phil Sutter Email: phil.sutter@viprinet.com Subject: ioctl_compat: hide code from user, enable conditionally Date: Thu, 17 Jun 2010 14:45:17 +0200 ] 48/292 [ Author: Phil Sutter Email: phil.sutter@viprinet.com Subject: eliminate warnings about unused result of copy_*_user Date: Thu, 17 Jun 2010 15:00:30 +0200 ] 49/292 [ Author: Nikos Mavrogiannopoulos Email: nmav@gnutls.org Subject: Avoid the use of packed attribute by directly assigning variables. Date: Thu, 17 Jun 2010 20:41:18 +0200 ] 50/292 [ Author: Nikos Mavrogiannopoulos Email: nmav@gnutls.org Subject: Some updates in copy_from_user. Date: Thu, 17 Jun 2010 21:15:04 +0200 ] 51/292 [ Author: Nikos Mavrogiannopoulos Email: nmav@gnutls.org Subject: Use compat_uptr_t to identify pointers in compat_ioctl structures.. Date: Fri, 18 Jun 2010 18:32:01 +0200 ] 52/292 [ Author: Nikos Mavrogiannopoulos Email: nmav@gnutls.org Subject: Prepare for a new release. Date: Fri, 18 Jun 2010 18:41:04 +0200 ] 53/292 [ Author: Nikos Mavrogiannopoulos Email: nmav@gnutls.org Subject: Made new release Date: Fri, 18 Jun 2010 23:48:33 +0200 ] 54/292 [ Author: Nikos Mavrogiannopoulos Email: nmav@gnutls.org Subject: Version is shown on module load. Date: Sat, 19 Jun 2010 11:12:35 +0200 ] 55/292 [ Author: Nikos Mavrogiannopoulos Email: nmav@gnutls.org Subject: Released 0.3 Date: Sat, 19 Jun 2010 11:22:37 +0200 ] 56/292 [ Author: Phil Sutter Email: phil.sutter@viprinet.com Subject: compat: use compat_ptr() and ptr_to_compat() Date: Mon, 21 Jun 2010 15:22:25 +0200 ] 57/292 [ Author: Phil Sutter Email: phil.sutter@viprinet.com Subject: implement zero-copy Date: Thu, 17 Jun 2010 18:28:06 +0200 ] 58/292 [ Author: Phil Sutter Email: phil.sutter@viprinet.com Subject: allow run-time selection of zero-copy or not Date: Tue, 22 Jun 2010 12:34:35 +0200 ] 59/292 [ Author: Phil Sutter Email: phil.sutter@viprinet.com Subject: allow using the null cipher Date: Tue, 22 Jun 2010 10:51:49 +0200 ] 60/292 [ Author: Phil Sutter Email: phil.sutter@viprinet.com Subject: add cryptodev_test.c, my little benchmark tool Date: Tue, 22 Jun 2010 20:27:04 +0200 ] 61/292 [ Author: Nikos Mavrogiannopoulos Email: nmav@gnutls.org Subject: Reduced tests performed by starting tests from 256bytes Date: Wed, 23 Jun 2010 00:18:27 +0200 ] 62/292 [ Author: Nikos Mavrogiannopoulos Email: nmav@gnutls.org Subject: cryptodev_test renamed to speed. Date: Wed, 23 Jun 2010 00:19:08 +0200 ] 63/292 [ Author: Nikos Mavrogiannopoulos Email: nmav@gnutls.org Subject: ignore examples/speed. Date: Wed, 23 Jun 2010 00:19:40 +0200 ] 64/292 [ Author: Nikos Mavrogiannopoulos Email: nmav@gnutls.org Subject: added credits for zero copy Date: Wed, 23 Jun 2010 08:41:30 +0200 ] 65/292 [ Author: Nikos Mavrogiannopoulos Email: nmav@gnutls.org Subject: updated Date: Sat, 2 Mar 2013 13:07:59 +0100 ] 66/292 [ Author: Nikos Mavrogiannopoulos Email: nmav@gnutls.org Subject: Zero-copy operations are now the default behavior. Date: Sat, 3 Jul 2010 15:20:51 +0200 ] 67/292 [ Author: Nikos Mavrogiannopoulos Email: nmav@gnutls.org Subject: released Date: Sat, 3 Jul 2010 15:22:02 +0200 ] 68/292 [ Author: Nikos Mavrogiannopoulos Email: nmav@gnutls.org Subject: removed ZCOPY flag. It was not used. Date: Sat, 3 Jul 2010 15:30:57 +0200 ] 69/292 [ Author: Nikos Mavrogiannopoulos Email: nmav@gnutls.org Subject: Benchmark now tests both NULL and AES ciphers. Tests are being done in fixed time to have rational waiting time in slow engines. Date: Sun, 4 Jul 2010 10:46:37 +0200 ] 70/292 [ Author: Nikos Mavrogiannopoulos Email: nmav@gnutls.org Subject: More files to ignore. Date: Sun, 4 Jul 2010 10:47:51 +0200 ] 71/292 [ Author: Nikos Mavrogiannopoulos Email: nmav@gnutls.org Subject: Internal functions no longer work with __user buffers. Date: Tue, 6 Jul 2010 13:24:09 +0200 ] 72/292 [ Author: Nikos Mavrogiannopoulos Email: nmav@gnutls.org Subject: Fallback to non zero copy if get_user_pages fails. Date: Tue, 6 Jul 2010 13:31:02 +0200 ] 73/292 [ Author: Nikos Mavrogiannopoulos Email: nmav@gnutls.org Subject: Some more checks. Date: Tue, 6 Jul 2010 14:02:13 +0200 ] 74/292 [ Author: Nikos Mavrogiannopoulos Email: nmav@gnutls.org Subject: Reduce the test limits. Date: Tue, 6 Jul 2010 16:23:34 +0200 ] 75/292 [ Author: Nikos Mavrogiannopoulos Email: nmav@gnutls.org Subject: Corrected issue in assigning other pages than the first. Date: Tue, 6 Jul 2010 16:23:58 +0200 ] 76/292 [ Author: Nikos Mavrogiannopoulos Email: nmav@gnutls.org Subject: updated Date: Sat, 2 Mar 2013 13:07:59 +0100 ] 77/292 [ Author: Phil Sutter Email: phil@nwl.cc Subject: zero-copy: release src pages on error Date: Mon, 12 Jul 2010 00:18:56 +0200 When the second call to __get_userbuf fails, the already reserved user pages for data input need to be released first before bailing out. ] 78/292 [ Author: Phil Sutter Email: phil@nwl.cc Subject: zero-copy: make get_userbuf error messages distinguishable Date: Mon, 12 Jul 2010 00:22:40 +0200 ] 79/292 [ Author: Phil Sutter Email: phil@nwl.cc Subject: zero-copy: allow reserving pages read-only Date: Mon, 12 Jul 2010 00:37:36 +0200 This actually fixes examples/hmac.c, as it's src data is read-only which makes get_user_pages fail when trying to reserve writable pages. ] 80/292 [ Author: Phil Sutter Email: phil@nwl.cc Subject: useless whitespace cleanup Date: Mon, 12 Jul 2010 00:56:28 +0200 ] 81/292 [ Author: Phil Sutter Email: phil@nwl.cc Subject: zero-copy: protect against null-pointer passing Date: Mon, 12 Jul 2010 23:58:45 +0200 ] 82/292 [ Author: Nikos Mavrogiannopoulos Email: nmav@gnutls.org Subject: Documented fix. Date: Tue, 13 Jul 2010 18:22:47 +0200 ] 83/292 [ Author: Nikos Mavrogiannopoulos Email: nmav@gnutls.org Subject: Added AES in CTR mode. Date: Sat, 24 Jul 2010 18:56:53 +0200 ] 84/292 [ Author: Nikos Mavrogiannopoulos Email: nmav@gnutls.org Subject: Relicensed under GPLv2. Date: Tue, 27 Jul 2010 10:15:06 +0200 ] 85/292 [ Author: Dmitry Kasatkin Email: dmitry.kasatkin@nokia.com Subject: backported changes from newapi branch Date: Tue, 7 Sep 2010 09:19:07 +0300 Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org> ] 86/292 [ Author: Dmitry Kasatkin Email: dmitry.kasatkin@nokia.com Subject: checkpatch errors and warnings fixed Date: Tue, 7 Sep 2010 09:19:08 +0300 Signed-off-by: Dmitry Kasatkin <dmitry.kasatkin@nokia.com> Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org> ] 87/292 [ Author: Dmitry Kasatkin Email: dmitry.kasatkin@nokia.com Subject: semaphore replaced by mutex upon checkpatch warning Date: Tue, 7 Sep 2010 09:19:09 +0300 Signed-off-by: Dmitry Kasatkin <dmitry.kasatkin@nokia.com> Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org> ] 88/292 [ Author: Dmitry Kasatkin Email: dmitry.kasatkin@nokia.com Subject: multi-update support for hash calculation Date: Tue, 7 Sep 2010 10:02:46 +0300 While calculating a hash over large amount of data it is necessary to call update() function multiple times. Old implementation always reset the hash upon calling crypto operation. This patch introduces the flag which allows to disable hash initialization upon every call to crypto API. Also it allows to retrieve final hash by requesting using 0 length. Signed-off-by: Dmitry Kasatkin <dmitry.kasatkin@nokia.com> Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org> ] 89/292 [ Author: Nikos Mavrogiannopoulos Email: nmav@gnutls.org Subject: released 0.6. Date: Thu, 16 Sep 2010 08:57:32 +0200 ] 90/292 [ Author: Nikos Mavrogiannopoulos Email: nmav@gnutls.org Subject: avoid remake for version.h Date: Sat, 2 Oct 2010 14:19:32 +0200 ] 91/292 [ Author: Nikos Mavrogiannopoulos Email: nmav@gnutls.org Subject: DISABLE_ZCOPY definition removed. Date: Sat, 2 Oct 2010 14:33:20 +0200 ] 92/292 [ Author: Nikos Mavrogiannopoulos Email: nmav@gnutls.org Subject: Added CRIOGET_NOT_NEEDED definition to allow applications detecting when it is not required. Date: Sat, 2 Oct 2010 14:37:53 +0200 ] 93/292 [ Author: Nikos Mavrogiannopoulos Email: nmav@gnutls.org Subject: Added flag COP_FLAG_FINAL Date: Sat, 2 Oct 2010 23:15:05 +0200 ] 94/292 [ Author: Dmitry Kasatkin Email: dmitry.kasatkin@nokia.com Subject: use of _FINAL flag when calling _final() Date: Mon, 4 Oct 2010 12:27:53 +0300 Signed-off-by: Dmitry Kasatkin <dmitry.kasatkin@nokia.com> Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org> ] 95/292 [ Author: Nikos Mavrogiannopoulos Email: nmav@gnutls.org Subject: bumped version to 0.7 Date: Fri, 8 Oct 2010 00:22:01 +0200 ] 96/292 [ Author: Nikos Mavrogiannopoulos Email: nmav@gnutls.org Subject: corrected version Date: Fri, 8 Oct 2010 00:27:34 +0200 ] 97/292 [ Author: Phil Sutter Email: phil.sutter@viprinet.com Subject: introduce struct kernel_crypt_op Date: Thu, 21 Oct 2010 18:26:02 +0200 This struct is meant as an internal wrapper around struct crypt_op, so additional information can be passed around within the kernel module without giving userspace access to it. Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org> ] 98/292 [ Author: Phil Sutter Email: phil.sutter@viprinet.com Subject: keep a copy of the IV and size in struct kernel_crypt_op Date: Thu, 21 Oct 2010 18:26:03 +0200 Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org> ] 99/292 [ Author: Phil Sutter Email: phil.sutter@viprinet.com Subject: store the hash output inside struct kernel_crypt_op Date: Thu, 21 Oct 2010 18:26:04 +0200 Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org> ] 100/292 [ Author: Phil Sutter Email: phil.sutter@viprinet.com Subject: add some unlikely() hints to get_userbuf() Date: Thu, 21 Oct 2010 18:26:05 +0200 Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org> ] 101/292 [ Author: Phil Sutter Email: phil.sutter@viprinet.com Subject: implement asynchronous operation mode Date: Thu, 21 Oct 2010 18:26:06 +0200 In order to submit a job for asynchronous completion, one uses the ioctl CIOCASYNCCRYPT, which is syntactically equal to CIOCCRYPT. But, the former will return immediately, the result has to be fetched later using CIOCASYNCFETCH (which will always return the first completed job, asking for a specific one is not possible). These ioctls can return -EBUSY in case there are either no free slots left for enqueueing a new job or there are no completed jobs waiting, depending on the ioctl's direction. For now, the number of slots (i.e. maximum length of the job queue) is limited to 16 items, defined in DEF_COP_RINGSIZE. Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org> ] 102/292 [ Author: Phil Sutter Email: phil.sutter@viprinet.com Subject: increase the number of slots for asynchronous completion dynamically Date: Thu, 21 Oct 2010 18:26:07 +0200 Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org> ] 103/292 [ Author: Phil Sutter Email: phil.sutter@viprinet.com Subject: implement the poll() file operation Date: Thu, 21 Oct 2010 18:26:08 +0200 Since there is an asynchronous operation mode, poll() is useful to find out whether data can be written out or read in. Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org> ] 104/292 [ Author: Phil Sutter Email: phil.sutter@viprinet.com Subject: add async versions of the code samples Date: Thu, 21 Oct 2010 18:26:09 +0200 Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org> ] 105/292 [ Author: Nikos Mavrogiannopoulos Email: nmav@gnutls.org Subject: removed warnings on zero copy. Date: Sun, 24 Oct 2010 13:41:26 +0200 ] 106/292 [ Author: Nikos Mavrogiannopoulos Email: nmav@gnutls.org Subject: cryptodev_cipher_set_iv() made inline. Date: Sun, 24 Oct 2010 13:49:45 +0200 ] 107/292 [ Author: Nikos Mavrogiannopoulos Email: nmav@gnutls.org Subject: kcop->digestsize and copy_to_user for mac result only occurs if MAC finalization operation has been performed. Date: Sun, 24 Oct 2010 13:50:19 +0200 ] 108/292 [ Author: Nikos Mavrogiannopoulos Email: nmav@gnutls.org Subject: increased version nr. Date: Sun, 24 Oct 2010 13:51:36 +0200 ] 109/292 [ Author: Phil Sutter Email: phil.sutter@viprinet.com Subject: add support for CRYPTO_AES_ECB Date: Thu, 4 Nov 2010 17:31:12 +0100 Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org> ] 110/292 [ Author: Phil Sutter Email: phil.sutter@viprinet.com Subject: async_speed: no need to allocate more than 64 buffers Date: Thu, 4 Nov 2010 17:31:13 +0100 The number of outstanding jobs is limited by the cryptodev ring size, which may raise to 64 entries at max. Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org> ] 111/292 [ Author: Phil Sutter Email: phil.sutter@viprinet.com Subject: make cryptodev aware of alignment constraints Date: Thu, 4 Nov 2010 17:31:14 +0100 Certain hardware crypto engines need input data to be correctly aligned. Due to copyless operation, data alignment has to be done in userspace. To assist in that, find out the smallest possible alignment boundary upon session creation, depending on the actual cipher/hash mode(s) being selected (and the automatically chosen crypto backend, of course). Since now the information is present internally, check directly used (zero-copy) userspace buffers for correct alignment. Handling of temporary, internal buffers is unclear for now. Maybe one should align them to a high value (e.g. 64 bytes) to be sure. Allocating everything dynamically instead is probably not a good alternative. The only buffers userspace applications have to align are the 'src' and 'dst' fields of struct crypt_op. All other userspace buffers are copied internally, since their small size doesn't justify the overhead of mapping userspace pages for them. Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org> ] 112/292 [ Author: Phil Sutter Email: phil.sutter@viprinet.com Subject: do not break long strings using backslash Date: Thu, 4 Nov 2010 17:31:15 +0100 Using a backslash at EOL and not closing the string quotes leads to inclusion of the next line's leading tab characters in the string. Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org> ] 113/292 [ Author: Phil Sutter Email: phil.sutter@viprinet.com Subject: examples: align cipher and plaintext in the tests Date: Thu, 4 Nov 2010 17:31:16 +0100 For now, only cipher tests were changed. Maybe the same applies to hashes (not so much because of performance, but certain engines may crash on unaligned data). Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org> ] 114/292 [ Author: Phil Sutter Email: phil.sutter@viprinet.com Subject: examples/*cipher: print buffers on mismatch Date: Thu, 4 Nov 2010 17:31:17 +0100 Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org> ] 115/292 [ Author: Nikos Mavrogiannopoulos Email: nmav@gnutls.org Subject: released 0.8 Date: Sat, 6 Nov 2010 12:25:07 +0100 ] 116/292 [ Author: Phil Sutter Email: phil.sutter@viprinet.com Subject: since COP_FLAG_* are bits, we can OR them together for checks Date: Mon, 13 Dec 2010 17:55:51 +0100 Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org> ] 117/292 [ Author: Phil Sutter Email: phil.sutter@viprinet.com Subject: crypto_run: cop->len is likely not zero Date: Mon, 13 Dec 2010 17:55:52 +0100 Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org> ] 118/292 [ Author: Phil Sutter Email: phil.sutter@viprinet.com Subject: minor whitespace cleanup Date: Mon, 13 Dec 2010 17:55:53 +0100 Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org> ] 119/292 [ Author: Phil Sutter Email: phil.sutter@viprinet.com Subject: speed, async_speed: fix measurement and units Date: Fri, 17 Dec 2010 19:04:20 +0100 Since measurement is done in bytes, use a capital B as unit. Also, stepping by 1024 from one magnitude to the next is more common. This is indicated by the 'i' in between the magnitude and unit symbols. ] 120/292 [ Author: Nikos Mavrogiannopoulos Email: nmav@gnutls.org Subject: Allow support for SI and the ad-hoc 1024 system in value2human using the --kib option. Date: Sun, 19 Dec 2010 05:15:44 +0100 ] 121/292 [ Author: Phil Sutter Email: phil.sutter@viprinet.com Subject: CIOCGSESSINFO: retrieve information about a session Date: Fri, 17 Dec 2010 18:52:32 +0100 For now, the only information returned are the verbose names of the requested cipher and hash algos along with their driver names. Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org> ] 122/292 [ Author: Phil Sutter Email: phil.sutter@viprinet.com Subject: cipher, hmac: retrieve and print info for each session Date: Fri, 17 Dec 2010 18:52:33 +0100 In order to stay compatible with the original BSD interface, one can check for existence of the CIOCGSESSINFO define, like done here. Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org> ] 123/292 [ Author: Nikos Mavrogiannopoulos Email: nmav@gnutls.org Subject: Made speed SI system configurable. Date: Mon, 20 Dec 2010 18:29:00 +0100 ] 124/292 [ Author: Phil Sutter Email: phil.sutter@viprinet.com Subject: fix for kernel crash on passing incorrect session ID Date: Mon, 3 Jan 2011 17:37:56 +0100 Since the variable ses_ptr is used as iterator in the loop, unsuccessful lookups will always return the last element in the list. (Or something undefined, making the kernel crash when the list is empty.) Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org> ] 125/292 [ Author: Phil Sutter Email: phil.sutter@viprinet.com Subject: fix description of struct crypt_op's flags field Date: Mon, 3 Jan 2011 17:37:57 +0100 Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org> ] 126/292 [ Author: Phil Sutter Email: phil.sutter@viprinet.com Subject: export the alignmask but stay compatible to OCF Date: Mon, 17 Jan 2011 18:29:37 +0100 Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org> ] 127/292 [ Author: Phil Sutter Email: phil.sutter@viprinet.com Subject: allow updating the IV in userspace Date: Tue, 18 Jan 2011 13:18:29 +0100 When the user has specified COP_FLAG_WRITE_IV in crypt_op.flags, the updated IV will be written back to userspace. This is useful for encryption of continuous data in several steps, without having to care for each cipher's inerna. Protecting this functionality by a flag allows for backwards compatibility as well as using a read-only (i.e. const) buffer holding the IV. Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org> ] 128/292 [ Author: Phil Sutter Email: phil.sutter@viprinet.com Subject: enable CIOCGSESSINFO for compat-calls, too Date: Tue, 18 Jan 2011 18:33:29 +0100 Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org> ] 129/292 [ Author: Phil Sutter Email: phil.sutter@viprinet.com Subject: alignment checks: prevent spurious warnings when ses->alignmask == 0 Date: Tue, 18 Jan 2011 18:33:30 +0100 Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org> ] 130/292 [ Author: Phil Sutter Email: phil.sutter@viprinet.com Subject: examples: add some additional speed testing tools Date: Tue, 18 Jan 2011 18:33:31 +0100 - sha_speed does performance testing of SHA1 and SHA256 - hashcrypt_speed additionally encrypts with AES128 and AES256 Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org> ] 131/292 [ Author: Nikos Mavrogiannopoulos Email: nmav@gnutls.org Subject: updated news since 0.8 Date: Sun, 23 Jan 2011 10:39:29 +0100 ] 132/292 [ Author: Nikos Mavrogiannopoulos Email: nmav@gnutls.org Subject: minor updates for release Date: Fri, 11 Feb 2011 08:53:10 +0100 ] 133/292 [ Author: Nikos Mavrogiannopoulos Email: nmav@gnutls.org Subject: cryptodev.h moved to crypto/ Date: Sat, 26 Mar 2011 09:48:44 +0100 ] 134/292 [ Author: Vladimir Zapolskiy Email: vzapolskiy@gmail.com Subject: examples: do not use relative path for cryptodev.h Date: Fri, 25 Mar 2011 01:07:08 +0200 Having absolute path for cryptodev.h allows to compile cryptodev examples out of source tree. Signed-off-by: Vladimir Zapolskiy <vzapolskiy@gmail.com> ] 135/292 [ Author: Vladimir Zapolskiy Email: vzapolskiy@gmail.com Subject: examples: use alignmask from session info Date: Fri, 25 Mar 2011 01:07:09 +0200 This change adds setting up of alignment mask for buffers according to the value, which is obtained from the kernel algorithm definition. Signed-off-by: Vladimir Zapolskiy <vzapolskiy@gmail.com> ] 136/292 [ Author: Nikos Mavrogiannopoulos Email: nmav@gnutls.org Subject: Use crypto/cryptodev.h while compiling sources. Date: Sat, 26 Mar 2011 10:00:47 +0100 ] 137/292 [ Author: Nikos Mavrogiannopoulos Email: nmav@gnutls.org Subject: rationalized test cases in sha_speed. Date: Sat, 26 Mar 2011 10:05:59 +0100 ] 138/292 [ Author: Nikos Mavrogiannopoulos Email: nmav@gnutls.org Subject: Corrected the hashcrypt_speed example. It properly operates on 32 and 64 bit systems. Date: Sat, 26 Mar 2011 10:14:46 +0100 ] 139/292 [ Author: Nikos Mavrogiannopoulos Email: nmav@gnutls.org Subject: bumped version Date: Sat, 4 Aug 2012 21:18:16 +0200 ] 140/292 [ Author: Nikos Mavrogiannopoulos Email: nmav@gnutls.org Subject: updated NEWS for 1.0 Date: Tue, 12 Apr 2011 20:36:34 +0200 ] 141/292 [ Author: Nikos Mavrogiannopoulos Email: nmav@gnutls.org Subject: Define HASH_MAX_LEN. Date: Sun, 31 Jul 2011 03:04:14 +0200 ] 142/292 [ Author: Nikos Mavrogiannopoulos Email: nmav@gnutls.org Subject: fixed alignment issue Date: Mon, 22 Aug 2011 10:49:23 +0200 ] 143/292 [ Author: Nikos Mavrogiannopoulos Email: nmav@gnutls.org Subject: Added speed check program to test the full operation speed (init, encrypt, deinit). Date: Mon, 22 Aug 2011 12:42:50 +0200 ] 144/292 [ Author: Nikos Mavrogiannopoulos Email: nmav@gnutls.org Subject: updated Date: Sat, 2 Mar 2013 13:07:59 +0100 ] 145/292 [ Author: Nikos Mavrogiannopoulos Email: nmav@gnutls.org Subject: Added flag to prevent zero copy. Date: Sat, 19 Nov 2011 10:40:19 +0100 ] 146/292 [ Author: Nikos Mavrogiannopoulos Email: nmav@gnutls.org Subject: Added CIOCAUTHCRYPT ioctl() that allows encrypting TLS records. Date: Wed, 23 Nov 2011 20:35:33 +0100 ] 147/292 [ Author: Nikos Mavrogiannopoulos Email: nmav@gnutls.org Subject: Allow to encrypt SRTP records. Date: Wed, 23 Nov 2011 23:35:42 +0100 ] 148/292 [ Author: Nikos Mavrogiannopoulos Email: nmav@gnutls.org Subject: corrected bug when having additional data in TLS. Date: Wed, 23 Nov 2011 23:47:11 +0100 ] 149/292 [ Author: Nikos Mavrogiannopoulos Email: nmav@gnutls.org Subject: corrected scatterlist allocation. Date: Thu, 24 Nov 2011 19:09:25 +0100 ] 150/292 [ Author: Nikos Mavrogiannopoulos Email: nmav@gnutls.org Subject: Added unit tests for SRTP and TLS records. Date: Thu, 24 Nov 2011 20:44:03 +0100 ] 151/292 [ Author: Nikos Mavrogiannopoulos Email: nmav@gnutls.org Subject: reorganization of source to simplify reading. Removed stats module option. Date: Thu, 1 Dec 2011 09:45:33 +0100 ] 152/292 [ Author: Nikos Mavrogiannopoulos Email: nmav@gnutls.org Subject: Preliminary code for AES-GCM. Date: Thu, 1 Dec 2011 10:49:00 +0100 ] 153/292 [ Author: Nikos Mavrogiannopoulos Email: nmav@gnutls.org Subject: zero copy functions separated from rest. Date: Thu, 1 Dec 2011 21:22:13 +0100 ] 154/292 [ Author: Nikos Mavrogiannopoulos Email: nmav@gnutls.org Subject: AES-GCM support is at a working state. Test vectors pass. Date: Sat, 3 Dec 2011 19:19:44 +0100 ] 155/292 [ Author: Nikos Mavrogiannopoulos Email: nmav@gnutls.org Subject: documented new mode Date: Sat, 3 Dec 2011 19:22:04 +0100 ] 156/292 [ Author: Nikos Mavrogiannopoulos Email: nmav@gnutls.org Subject: make srtp test. Date: Sat, 3 Dec 2011 19:25:34 +0100 ] 157/292 [ Author: Nikos Mavrogiannopoulos Email: nmav@gnutls.org Subject: TLS mode flag is being ignored for AEAD ciphers. Date: Sat, 3 Dec 2011 19:54:18 +0100 ] 158/292 [ Author: Nikos Mavrogiannopoulos Email: nmav@gnutls.org Subject: Added real usage examples, and moved test code to tests/ Date: Sun, 4 Dec 2011 12:47:13 +0100 ] 159/292 [ Author: Nikos Mavrogiannopoulos Email: nmav@gnutls.org Subject: When inplace encryption is required then enforce it rather than doing a low-performance emulation. Date: Sun, 4 Dec 2011 12:53:18 +0100 ] 160/292 [ Author: Nikos Mavrogiannopoulos Email: nmav@gnutls.org Subject: sha.c includes correct header. Date: Sun, 4 Dec 2011 13:00:18 +0100 ] 161/292 [ Author: Nikos Mavrogiannopoulos Email: nmav@gnutls.org Subject: sanity checks moved to __crypto_auth_run_zc(). Date: Sun, 4 Dec 2011 13:10:32 +0100 ] 162/292 [ Author: Nikos Mavrogiannopoulos Email: nmav@gnutls.org Subject: added initial code to compare cost in-kernel and in userspace encryption. Date: Sun, 4 Dec 2011 17:36:24 +0100 ] 163/292 [ Author: Nikos Mavrogiannopoulos Email: nmav@gnutls.org Subject: removed binary Date: Sun, 4 Dec 2011 17:36:47 +0100 ] 164/292 [ Author: Nikos Mavrogiannopoulos Email: nmav@gnutls.org Subject: removed debugging Date: Sun, 4 Dec 2011 17:38:04 +0100 ] 165/292 [ Author: Nikos Mavrogiannopoulos Email: nmav@gnutls.org Subject: Added example of AES-GCM usage. Date: Tue, 6 Dec 2011 10:40:37 +0100 ] 166/292 [ Author: Nikos Mavrogiannopoulos Email: nmav@gnutls.org Subject: Added a TLS example. Date: Tue, 6 Dec 2011 10:52:48 +0100 ] 167/292 [ Author: Nikos Mavrogiannopoulos Email: nmav@gnutls.org Subject: generate libthreshold.a to find out a threshold after which kernel based operation is optimal. Date: Sun, 11 Dec 2011 12:03:43 +0100 ] 168/292 [ Author: Nikos Mavrogiannopoulos Email: nmav@gnutls.org Subject: Added SIOP_FLAG_KERNEL_DRIVER_ONLY to correspond to CRYPTO_ALG_KERN_DRIVER_ONLY if it is defined. Date: Sun, 11 Dec 2011 13:44:22 +0100 ] 169/292 [ Author: Nikos Mavrogiannopoulos Email: nmav@gnutls.org Subject: cleanups Date: Sun, 11 Dec 2011 14:13:17 +0100 ] 170/292 [ Author: Nikos Mavrogiannopoulos Email: nmav@gnutls.org Subject: corrected make clean and make check Date: Mon, 12 Dec 2011 19:20:48 +0100 ] 171/292 [ Author: Nikos Mavrogiannopoulos Email: nmav@gnutls.org Subject: No need to check for CIOCGSESSINFO in tests. Date: Fri, 16 Dec 2011 04:35:36 +0100 ] 172/292 [ Author: Nikos Mavrogiannopoulos Email: nmav@gnutls.org Subject: updated copyright information Date: Fri, 6 Jan 2012 22:39:37 +0100 ] 173/292 [ Author: Nikos Mavrogiannopoulos Email: nmav@gnutls.org Subject: bumped version Date: Sat, 4 Aug 2012 21:18:16 +0200 ] 174/292 [ Author: Nikos Mavrogiannopoulos Email: nmav@gnutls.org Subject: updated Date: Sat, 2 Mar 2013 13:07:59 +0100 ] 175/292 [ Author: Nikos Mavrogiannopoulos Email: nmav@gnutls.org Subject: updated release Date: Mon, 20 Feb 2012 09:03:31 +0100 ] 176/292 [ Author: Nikos Mavrogiannopoulos Email: nmav@gnutls.org Subject: updated Date: Sat, 2 Mar 2013 13:07:59 +0100 ] 177/292 [ Author: Nikos Mavrogiannopoulos Email: nmav@gnutls.org Subject: If kernel doesn't support CRYPTO_ALG_KERN_DRIVER_ONLY then always set the flag SIOP_FLAG_KERNEL_DRIVER_ONLY. Date: Mon, 20 Feb 2012 19:16:47 +0100 ] 178/292 [ Author: Nikos Mavrogiannopoulos Email: nmav@gnutls.org Subject: updated Date: Sat, 2 Mar 2013 13:07:59 +0100 ] 179/292 [ Author: Nikos Mavrogiannopoulos Email: nmav@gnutls.org Subject: camelia was renamed to camellia Date: Tue, 21 Feb 2012 00:37:05 +0100 ] 180/292 [ Author: Nikos Mavrogiannopoulos Email: nmav@gnutls.org Subject: Added COP_FLAG_RESET Date: Tue, 21 Feb 2012 18:53:11 +0100 ] 181/292 [ Author: Nikos Mavrogiannopoulos Email: nmav@gnutls.org Subject: Added hack for mv_cesa driver that requires a delay after completion. Date: Wed, 22 Feb 2012 23:32:25 +0100 ] 182/292 [ Author: Nikos Mavrogiannopoulos Email: nmav@gnutls.org Subject: Revert "Added hack for mv_cesa driver that requires a delay after completion." Date: Thu, 23 Feb 2012 17:14:36 +0100 This reverts commit b756e5aceb89d45f98f314374fc5e914acae79de. ] 183/292 [ Author: Nikos Mavrogiannopoulos Email: nmav@gnutls.org Subject: artistic changes. Date: Thu, 23 Feb 2012 19:02:09 +0100 ] 184/292 [ Author: Nikos Mavrogiannopoulos Email: nmav@gnutls.org Subject: Adapted Phil Sutter's ARM fix in new codebase. Date: Thu, 23 Feb 2012 23:44:17 +0100 ] 185/292 [ Author: Nikos Mavrogiannopoulos Email: nmav@gnutls.org Subject: If kernel doesn't indicate the accelerated ciphers base the decision on known chips. Date: Fri, 24 Feb 2012 16:50:53 +0100 ] 186/292 [ Author: Nikos Mavrogiannopoulos Email: nmav@gnutls.org Subject: more files to ignore Date: Fri, 24 Feb 2012 16:53:17 +0100 ] 187/292 [ Author: Nikos Mavrogiannopoulos Email: nmav@gnutls.org Subject: released 1.2 Date: Fri, 24 Feb 2012 16:53:55 +0100 ] 188/292 [ Author: Nikos Mavrogiannopoulos Email: nmav@gnutls.org Subject: documented updates Date: Thu, 29 Nov 2012 11:42:41 +0100 ] 189/292 [ Author: Nikos Mavrogiannopoulos Email: nmav@gnutls.org Subject: corrected typo Date: Fri, 24 Feb 2012 23:00:25 +0100 ] 190/292 [ Author: Nikos Mavrogiannopoulos Email: nmav@gnutls.org Subject: cleanup Date: Fri, 24 Feb 2012 23:09:05 +0100 ] 191/292 [ Author: Nikos Mavrogiannopoulos Email: nmav@gnutls.org Subject: return EBADMSG instead of ECANCELED on tag verification failure. Date: Fri, 24 Feb 2012 23:09:34 +0100 ] 192/292 [ Author: Nikos Mavrogiannopoulos Email: nmav@gnutls.org Subject: added patch to make openssl digests operational. Date: Sat, 25 Feb 2012 00:48:25 +0100 ] 193/292 [ Author: Nikos Mavrogiannopoulos Email: nmav@gnutls.org Subject: FLAG_RESET can be combined with UPDATE Date: Sun, 26 Feb 2012 14:50:05 +0100 ] 194/292 [ Author: Nikos Mavrogiannopoulos Email: nmav@gnutls.org Subject: documented update Date: Sun, 26 Feb 2012 21:22:09 +0100 ] 195/292 [ Author: Nikos Mavrogiannopoulos Email: nmav@gnutls.org Subject: set by default public permissions for the device Date: Tue, 28 Feb 2012 16:08:38 +0100 ] 196/292 [ Author: Phil Sutter Email: phil.sutter@viprinet.com Subject: tests: add cryptodev simulating openssl wrapper Date: Tue, 28 Feb 2012 18:27:42 +0100 Signed-off-by: Phil Sutter <phil.sutter@viprinet.com> Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org> ] 197/292 [ Author: Phil Sutter Email: phil.sutter@viprinet.com Subject: tests: add three compare tools using openssl_wrapper Date: Tue, 28 Feb 2012 18:27:43 +0100 Signed-off-by: Phil Sutter <phil.sutter@viprinet.com> Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org> ] 198/292 [ Author: Nikos Mavrogiannopoulos Email: nmav@gnutls.org Subject: Tests were made silent Date: Tue, 28 Feb 2012 22:37:17 +0100 ] 199/292 [ Author: Nikos Mavrogiannopoulos Email: nmav@gnutls.org Subject: bumped versions Date: Wed, 29 Feb 2012 23:23:02 +0100 ] 200/292 [ Author: Nikos Mavrogiannopoulos Email: nmav@gnutls.org Subject: documented openssl and gnutls /dev/crypto support. Date: Wed, 29 Feb 2012 23:28:19 +0100 ] 201/292 [ Author: Nikos Mavrogiannopoulos Email: nmav@gnutls.org Subject: corrected mv cesa check. Date: Wed, 7 Mar 2012 22:36:12 +0100 ] 202/292 [ Author: Nikos Mavrogiannopoulos Email: nmav@gnutls.org Subject: released 1.4 Date: Thu, 15 Mar 2012 19:55:44 +0100 ] 203/292 [ Author: Nikos Mavrogiannopoulos Email: nmav@gnutls.org Subject: Added eng_cryptodev.c. Date: Fri, 23 Mar 2012 00:13:45 +0100 ] 204/292 [ Author: Nikos Mavrogiannopoulos Email: nmav@gnutls.org Subject: updated Date: Sat, 2 Mar 2013 13:07:59 +0100 ] 205/292 [ Author: Nikos Mavrogiannopoulos Email: nmav@gnutls.org Subject: Bug fixes by Jaren Johnston. Date: Thu, 17 May 2012 13:54:00 +0200 ] 206/292 [ Author: Jaren Johnston Email: jaren.johnston Subject: renamed readable_pages to readonly_pages Date: Fri, 15 Jun 2012 08:35:56 +0200 Signed-off-by: Nikos Mavrogiannopoulos <nikos@esat.kuleuven.be> ] 207/292 [ Author: Jaren Johnston Email: jaren.johnston Subject: unsigned some ints Date: Fri, 15 Jun 2012 08:36:54 +0200 Signed-off-by: Nikos Mavrogiannopoulos <nikos@esat.kuleuven.be> ] 208/292 [ Author: Jaren Johnston Email: jaren.johnston Subject: null ptr check & resource release fix Date: Fri, 15 Jun 2012 08:37:22 +0200 Signed-off-by: Nikos Mavrogiannopoulos <nikos@esat.kuleuven.be> ] 209/292 [ Author: Jaren Johnston Email: jaren.johnston Subject: properly init sg in empty case Date: Fri, 15 Jun 2012 08:37:53 +0200 Signed-off-by: Nikos Mavrogiannopoulos <nikos@esat.kuleuven.be> ] 210/292 [ Author: Jaren Johnston Email: jaren.johnston Subject: handle null IO buffers gracefully Date: Fri, 15 Jun 2012 08:42:46 +0200 Signed-off-by: Nikos Mavrogiannopoulos <nikos@esat.kuleuven.be> ] 211/292 [ Author: Jaren Johnston Email: jaren.johnston Subject: added newline to dprintk Date: Fri, 15 Jun 2012 08:43:14 +0200 Signed-off-by: Nikos Mavrogiannopoulos <nikos@esat.kuleuven.be> ] 212/292 [ Author: Jaren Johnston Email: jaren.johnston Subject: User pages deallocation fix. Date: Fri, 15 Jun 2012 08:43:46 +0200 Previously, would attempt to release user pages even if they failed to allocate. Signed-off-by: Nikos Mavrogiannopoulos <nikos@esat.kuleuven.be> ] 213/292 [ Author: Jaren Johnston Email: jaren.johnston Subject: Fix PAGECOUNT when buf == buflen == 0 Date: Fri, 15 Jun 2012 08:44:43 +0200 Signed-off-by: Nikos Mavrogiannopoulos <nikos@esat.kuleuven.be> ] 214/292 [ Author: Jaren Johnston Email: jaren.johnston Subject: Removed the guards against empty PT and empty AAD. It's an edge case that -- while it may not be too useful in practice -- is tested against during crypto validation. Date: Fri, 15 Jun 2012 15:45:28 +0200 Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org> ] 215/292 [ Author: Nikos Mavrogiannopoulos Email: nmav@gnutls.org Subject: documented updates Date: Thu, 29 Nov 2012 11:42:41 +0100 ] 216/292 [ Author: Jaren Johnston Email: jaren.johnston Subject: added previous page count to log. minor formatting. Date: Fri, 15 Jun 2012 10:09:51 -0700 Change-Id: Ie234fef01ce795f207f6b3f3345255717a545ce2 Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org> ] 217/292 [ Author: Jaren Johnston Email: jaren.johnston Subject: removed redundant __func__s from dprintk statements. Date: Fri, 15 Jun 2012 11:16:50 -0700 dprink already includes __func__ in its definition. Change-Id: If98ce72617f1bb54ba0880075c69a3b9d3186007 Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org> ] 218/292 [ Author: Jaren Johnston Email: jaren.johnston Subject: set null auth on decr too. Date: Thu, 28 Jun 2012 14:45:40 -0700 Encr had code to especially set null auth data if there was none. Turns out to be important for decr too. Moved the special empty-auth setting out of auth_n_crypt and into cryptodev_cipher_auth. Change-Id: I32206eb5755782f6f9adebd68590f59fb35613d5 Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org> ] 219/292 [ Author: Phil Sutter Email: phil.sutter@viprinet.com Subject: whitespace and indenting cleanup Date: Mon, 16 Jul 2012 15:10:10 +0200 Signed-off-by: Phil Sutter <phil.sutter@viprinet.com> ] 220/292 [ Author: Phil Sutter Email: phil.sutter@viprinet.com Subject: zc.c: simplify code a bit by exiting early Date: Mon, 16 Jul 2012 15:10:11 +0200 Also, hiding expressions in one-liners is not worth the lines saved. Signed-off-by: Phil Sutter <phil.sutter@viprinet.com> ] 221/292 [ Author: Phil Sutter Email: phil.sutter@viprinet.com Subject: no need to hold mm->mmap_sem in write lock Date: Mon, 16 Jul 2012 15:10:12 +0200 As other examples show, read lock suffices although pages are being written later on. Signed-off-by: Phil Sutter <phil.sutter@viprinet.com> ] 222/292 [ Author: Phil Sutter Email: phil.sutter@viprinet.com Subject: cryptlib: simplify cryptodev_cipher_auth() Date: Mon, 16 Jul 2012 15:10:13 +0200 Signed-off-by: Phil Sutter <phil.sutter@viprinet.com> ] 223/292 [ Author: Jaren Johnston Email: jaren.johnston Subject: fix sizing of decrypt's output buffer Date: Fri, 27 Jul 2012 10:35:15 -0700 Output buffer doesn't hold tag on decrypt, so no need to account for it in the sizing. Change-Id: I1a464c8f7e9e702dbc0446c38831c87a9d4a9a70 Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org> ] 224/292 [ Author: Nikos Mavrogiannopoulos Email: nmav@gnutls.org Subject: bumped version Date: Sat, 4 Aug 2012 21:18:16 +0200 ] 225/292 [ Author: Nikos Mavrogiannopoulos Email: nmav@gnutls.org Subject: eng_cryptodev.c was modified in an openssl 0.9.8 friendly way. Date: Wed, 21 Nov 2012 22:39:41 +0100 ] 226/292 [ Author: Yashpal Dutta Email: yashpal.dutta@freescale.com Subject: Updated the install target for cryptodev module Date: Wed, 28 Nov 2012 16:24:51 +0545 1) Cryptodev-linux being a linux kernel module require a build target for module_install and not for install. 2) Some cross-compiler target need installation of module to different directory than host's module directory path. PREFIX allow to override default module installation path. Signed-off-by: Yashpal Dutta <yashpal.dutta@freescale.com> Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org> ] 227/292 [ Author: Nikos Mavrogiannopoulos Email: nmav@gnutls.org Subject: install target is alias for modules_install Date: Thu, 29 Nov 2012 11:38:08 +0100 ] 228/292 [ Author: Nikos Mavrogiannopoulos Email: nmav@gnutls.org Subject: documented updates Date: Thu, 29 Nov 2012 11:42:41 +0100 ] 229/292 [ Author: Nikos Mavrogiannopoulos Email: nmav@gnutls.org Subject: Use the COP_FLAG_UPDATE/FINAL flags. Patch by Glenn Schmottlach. Date: Mon, 14 Jan 2013 22:07:44 +0100 ] 230/292 [ Author: Nikos Mavrogiannopoulos Email: nikos@esat.kuleuven.be Subject: Simplified previous patch. Date: Tue, 15 Jan 2013 11:43:43 +0100 ] 231/292 [ Author: Nikos Mavrogiannopoulos Email: nmav@gnutls.org Subject: updated Date: Sat, 2 Mar 2013 13:07:59 +0100 ] 232/292 [ Author: Yashpal Dutta Email: yashpal.dutta@freescale.com Subject: Added support SHA224 Date: Fri, 25 Jan 2013 04:40:02 +0545 Signed-off-by: Yashpal Dutta <yashpal.dutta@freescale.com> ] 233/292 [ Author: Yashpal Dutta Email: yashpal.dutta@freescale.com Subject: Fixes in DH Engine Interface Date: Fri, 25 Jan 2013 04:07:20 +0545 1) The keylen in cryptodev_dh_compute_key is already in bits. So, avoid multiplying it with 8 while passing it to cryptodev. 2) cryptodev_dh_compute_key must return size of secret generated as expected by openssl. Signed-off-by: Yashpal Dutta <yashpal.dutta@freescale.com> ] 234/292 [ Author: Nikos Mavrogiannopoulos Email: nmav@gnutls.org Subject: doc update Date: Thu, 5 Dec 2013 21:41:55 +0100 ] 235/292 [ Author: Nikos Mavrogiannopoulos Email: nikos@esat.kuleuven.be Subject: updated URL Date: Thu, 31 Jan 2013 10:14:00 +0100 ] 236/292 [ Author: Nikos Mavrogiannopoulos Email: nmav@gnutls.org Subject: Asynchronous operations will not be scheduled if zero copy is disabled. Date: Sat, 23 Feb 2013 10:06:08 +0100 ] 237/292 [ Author: Nikos Mavrogiannopoulos Email: nmav@gnutls.org Subject: Revert "Simplified previous patch." Date: Sat, 2 Mar 2013 13:07:17 +0100 This reverts commit 582adb9d9e5193206e3a3a9a244c0d2b7ac4b2a0. ] 238/292 [ Author: Nikos Mavrogiannopoulos Email: nmav@gnutls.org Subject: Revert "Use the COP_FLAG_UPDATE/FINAL flags. Patch by Glenn Schmottlach." Date: Sat, 2 Mar 2013 13:07:26 +0100 This reverts commit 9d1ef57a8c9206fcedf4f0def2260d10436d43a2. ] 239/292 [ Author: Nikos Mavrogiannopoulos Email: nmav@gnutls.org Subject: updated Date: Sat, 2 Mar 2013 13:07:59 +0100 ] 240/292 [ Author: Nikos Mavrogiannopoulos Email: nmav@gnutls.org Subject: async operations are conditionally enabled. Date: Mon, 4 Mar 2013 04:56:42 +0100 ] 241/292 [ Author: Nikos Mavrogiannopoulos Email: nmav@gnutls.org Subject: released 1.6 Date: Wed, 20 Mar 2013 21:50:41 +0100 ] 242/292 [ Author: Nikos Mavrogiannopoulos Email: nikos@esat.kuleuven.be Subject: text update Date: Tue, 9 Apr 2013 15:16:08 +0200 ] 243/292 [ Author: Nikos Mavrogiannopoulos Email: nmav@gnutls.org Subject: Added install file Date: Sat, 20 Apr 2013 19:59:24 +0300 ] 244/292 [ Author: Nikos Mavrogiannopoulos Email: nmav@gnutls.org Subject: added testing after installation. Date: Sat, 20 Apr 2013 20:28:51 +0300 ] 245/292 [ Author: Nikos Mavrogiannopoulos Email: nmav@gnutls.org Subject: added systemd option Date: Tue, 23 Apr 2013 15:29:26 +0300 ] 246/292 [ Author: Nikos Mavrogiannopoulos Email: nmav@gnutls.org Subject: updated install instructions Date: Tue, 23 Apr 2013 16:54:12 +0300 ] 247/292 [ Author: Nikos Mavrogiannopoulos Email: nmav@gnutls.org Subject: made instructions symmetric Date: Tue, 7 May 2013 02:22:44 +0300 ] 248/292 [ Author: Cristian Stoica Email: cristian.stoica@freescale.com Subject: Allow user override for kernel and installation directory Date: Thu, 27 Jun 2013 16:42:21 +0300 This is useful for cross-building for embedded systems Signed-off-by: Cristian Stoica <cristian.stoica@freescale.com> ] 249/292 [ Author: Cristian Stoica Email: cristian.stoica@freescale.com Subject: fix comment typo Date: Mon, 1 Jul 2013 16:41:50 +0300 Signed-off-by: Cristian Stoica <cristian.stoica@freescale.com> ] 250/292 [ Author: Nikos Mavrogiannopoulos Email: nmav@gnutls.org Subject: Add cryptodev_verbosity to the sysctl table. Date: Tue, 13 Aug 2013 17:47:24 +0300 The attached patch contains the required modifications in order to get and set the cryptodev_verbosity variable using the following commands root@OCSME:~# sysctl ioctl.cryptodev_verbosity ioctl.cryptodev_verbosity = 0 root@OCSME:~# sysctl ioctl.cryptodev_verbosity=3 ioctl.cryptodev_verbosity = 3 Patch by Nikolaos Tsakalakis (nikolaos.tsakalakis@gmail.com). ] 251/292 [ Author: Cristian Stoica Email: cristian.stoica@freescale.com Subject: fix incorrect debug message about hmac key length Date: Wed, 18 Sep 2013 14:09:02 +0300 Signed-off-by: Cristian Stoica <cristian.stoica@freescale.com> ] 252/292 [ Author: Cristian Stoica Email: cristian.stoica@freescale.com Subject: remove redundant struct initialization Date: Tue, 22 Oct 2013 12:51:33 +0300 struct cipher_data *out (sess_new->cdata) is already initiallized to zero as 'ses_new = kzalloc(...)' in the caller function crypto_create_session Signed-off-by: Cristian Stoica <cristian.stoica@freescale.com> ] 253/292 [ Author: Cristian Stoica Email: cristian.stoica@freescale.com Subject: initialize struct memory to zero in a single call Date: Tue, 22 Oct 2013 12:51:34 +0300 kmalloc + memset(0) can be replaced with a single call to kzalloc for the same results Signed-off-by: Cristian Stoica <cristian.stoica@freescale.com> ] 254/292 [ Author: Cristian Stoica Email: cristian.stoica@freescale.com Subject: fix test condition to allow non-stream, aead ciphers Date: Thu, 31 Oct 2013 11:56:58 +0200 Signed-off-by: Cristian Stoica <cristian.stoica@freescale.com> ] 255/292 [ Author: Cristian Stoica Email: cristian.stoica@freescale.com Subject: set file private data to zero during allocation Date: Wed, 27 Nov 2013 18:44:14 +0200 The net result is the same and it makes more clear some problems with freeing this memory (addressed in a later patch) Signed-off-by: Cristian Stoica <cristian.stoica@freescale.com> ] 256/292 [ Author: Cristian Stoica Email: cristian.stoica@freescale.com Subject: fix memleak avalanche when system is low on memory Date: Wed, 27 Nov 2013 18:44:15 +0200 If one of kzalloc(todo_list_item) fail, filp->private_data remains garbage and cryptodev_release will fail during free. To fix that, filp->private_data is set early so that at release, there will be knowledge about allocated memory. Signed-off-by: Cristian Stoica <cristian.stoica@freescale.com> ] 257/292 [ Author: Cristian Stoica Email: cristian.stoica@freescale.com Subject: fix typo in test condition for error exits Date: Wed, 27 Nov 2013 18:44:16 +0200 Signed-off-by: Cristian Stoica <cristian.stoica@freescale.com> ] 258/292 [ Author: Cristian Stoica Email: cristian.stoica@freescale.com Subject: destroy mutexes in reverse order of their initialization Date: Wed, 27 Nov 2013 18:44:17 +0200 - for completion destroy also &pcr->fcrypt_sem and session mutexes during shutdown Signed-off-by: Cristian Stoica <cristian.stoica@freescale.com> ] 259/292 [ Author: Nikos Mavrogiannopoulos Email: nmav@gnutls.org Subject: doc update Date: Thu, 5 Dec 2013 21:41:55 +0100 ] 260/292 [ Author: Karl Hiramoto Email: karl@hiramoto.org Subject: Fix compiler warning when CRYPTO_ALG_KERN_DRIVER_ONLY is defined: ioctl.c:714:21: warning: 'is_known_accelerated' defined but not used [-Wunused-function] Date: Tue, 3 Dec 2013 11:18:47 +0100 Add check for "atmel-" HW accelerator. Signed-off-by: Karl Hiramoto <karl@hiramoto.org> ] 261/292 [ Author: Nikos Mavrogiannopoulos Email: nmav@gnutls.org Subject: Disable zero-copy when alignmask is set. Date: Thu, 5 Dec 2013 21:37:55 +0100 This slows down processing but prevents failures due to the driver refusing to operate on unaligned data. ] 262/292 [ Author: Nikos Mavrogiannopoulos Email: nmav@gnutls.org Subject: doc update Date: Thu, 5 Dec 2013 21:41:55 +0100 ] 263/292 [ Author: Cosmin Paraschiv Email: cosmin.paraschiv@freescale.com Subject: In the 3.13-rc1 Linux kernel, the INIT_COMPLETION macro has been replaced with an inline function, reinit_completion [1][2]. We are currently using the 3.13-rc3 Linux kernel, which leads to the following error: Date: Thu, 23 Jan 2014 03:40:00 +0100 cryptlib.c:279:2: error: implicit declaration of function 'INIT_COMPLETION' [-Werror=implicit-function-declaration] INIT_COMPLETION(cdata->async.result->completion); [1] https://github.com/torvalds/linux/commit/c32f74ab2872994bc8336ed367313da3139350ca [2] https://github.com/torvalds/linux/commit/62026aedaacedbe1ffe94a3599ad4acd8ecdf587 Signed-off-by: Cosmin Paraschiv <cosmin.paraschiv@freescale.com> Reviewed-by: Cristian Stoica <cristian.stoica@freescale.com> Tested-by: Cristian Stoica <cristian.stoica@freescale.com> Signed-off-by: Horia Geanta <horia.geanta@freescale.com> Signed-off-by: Phil Sutter <phil@nwl.cc> ] 264/292 [ Author: Phil Sutter Email: phil@nwl.cc Subject: Makefile: add checkpatch target Date: Tue, 28 Jan 2014 04:23:06 +0100 Signed-off-by: Phil Sutter <phil@nwl.cc> ] 265/292 [ Author: Phil Sutter Email: phil@nwl.cc Subject: checkpatch fixes: change 'type* var' to 'type *var' Date: Wed, 29 Jan 2014 03:24:18 +0100 Signed-off-by: Phil Sutter <phil@nwl.cc> ] 266/292 [ Author: Phil Sutter Email: phil@nwl.cc Subject: checkpatch fixes: drop space after opening brace of functions Date: Wed, 29 Jan 2014 03:28:32 +0100 Signed-off-by: Phil Sutter <phil@nwl.cc> ] 267/292 [ Author: Phil Sutter Email: phil@nwl.cc Subject: authenc fixes: add spaces according to kernel coding style Date: Wed, 29 Jan 2014 03:37:17 +0100 Signed-off-by: Phil Sutter <phil@nwl.cc> ] 268/292 [ Author: Phil Sutter Email: phil@nwl.cc Subject: checkpatch fixes: put conditionals' opening curly brace on the same line Date: Wed, 29 Jan 2014 03:41:56 +0100 Signed-off-by: Phil Sutter <phil@nwl.cc> ] 269/292 [ Author: Phil Sutter Email: phil@nwl.cc Subject: checkpatch fixes: do not hide expressions behind conditionals Date: Wed, 29 Jan 2014 03:44:03 +0100 Signed-off-by: Phil Sutter <phil@nwl.cc> ] 270/292 [ Author: Phil Sutter Email: phil@nwl.cc Subject: checkpatch fixup: eliminate two-space indenting, cleanup code while here Date: Wed, 29 Jan 2014 03:52:44 +0100 Signed-off-by: Phil Sutter <phil@nwl.cc> ] 271/292 [ Author: Phil Sutter Email: phil@nwl.cc Subject: checkpatch fixes: drop braces around single expressions in conditionals Date: Wed, 29 Jan 2014 04:00:16 +0100 Signed-off-by: Phil Sutter <phil@nwl.cc> ] 272/292 [ Author: Phil Sutter Email: phil@nwl.cc Subject: checkpatch fixes: fix incorrect indenting and other leading spaces Date: Wed, 29 Jan 2014 04:08:52 +0100 Signed-off-by: Phil Sutter <phil@nwl.cc> ] 273/292 [ Author: Phil Sutter Email: phil@nwl.cc Subject: checkpatch fixes: remove trailing whitespace Date: Wed, 29 Jan 2014 04:18:28 +0100 Signed-off-by: Phil Sutter <phil@nwl.cc> ] 274/292 [ Author: Phil Sutter Email: phil@nwl.cc Subject: checkpatch fixes: replace C99 comments Date: Wed, 29 Jan 2014 04:19:45 +0100 Signed-off-by: Phil Sutter <phil@nwl.cc> ] 275/292 [ Author: Phil Sutter Email: phil@nwl.cc Subject: checkpatch fixes: use pr_info and pr_err instead of printk Date: Wed, 29 Jan 2014 04:33:12 +0100 Normally we use dprintk which respects the module's own log level, but at this early stage (driver registration), being noisy should be fine. Signed-off-by: Phil Sutter <phil@nwl.cc> ] 276/292 [ Author: Phil Sutter Email: phil@nwl.cc Subject: checkpatch fixes: put inline keyword between storage class and type Date: Wed, 29 Jan 2014 04:40:37 +0100 Signed-off-by: Phil Sutter <phil@nwl.cc> ] 277/292 [ Author: Phil Sutter Email: phil@nwl.cc Subject: introduce ddebug, dinfo, dwarning and derr macros Date: Thu, 30 Jan 2014 02:50:23 +0100 Use them instead of directly calling dprintk. Also, line continuations are to be indented with two tabs, unless there is good reason not to. Signed-off-by: Phil Sutter <phil@nwl.cc> ] 278/292 [ Author: Phil Sutter Email: phil@nwl.cc Subject: drop unneeded casts of arguments in print statements Date: Thu, 30 Jan 2014 03:01:05 +0100 Signed-off-by: Phil Sutter <phil@nwl.cc> ] 279/292 [ Author: Phil Sutter Email: phil@nwl.cc Subject: allow for parameterising checkpatch.pl Date: Fri, 31 Jan 2014 02:33:05 +0100 Signed-off-by: Phil Sutter <phil@nwl.cc> ] 280/292 [ Author: Phil Sutter Email: phil.sutter@viprinet.com Subject: allow for cross-compiling cryptodev Date: Mon, 24 Jan 2011 17:44:30 +0100 Signed-off-by: Phil Sutter <phil@nwl.cc> ] 281/292 [ Author: Phil Sutter Email: phil@nwl.cc Subject: tests/hmac_comp: use COP_FLAG_WRITE_IV and compare the updated IVs as well Date: Sat, 1 Feb 2014 02:55:54 +0100 Signed-off-by: Phil Sutter <phil@nwl.cc> ] 282/292 [ Author: Phil Sutter Email: phil@nwl.cc Subject: tests/hmac_comp: initialise compared output to different values Date: Sat, 1 Feb 2014 03:01:59 +0100 This makes the test complain if the output fields were not altered at all. Signed-off-by: Phil Sutter <phil@nwl.cc> ] 283/292 [ Author: Cristian Stoica Email: cristian.stoica@freescale.com Subject: clean-up allocated resources after a failed open Date: Wed, 12 Feb 2014 09:52:17 +0200 If 'open /dev/crypto' fails, all allocated resources must be freed before "open" returns; "close" can't be called to clean-up since there is no file descriptor after a failed "open". Signed-off-by: Cristian Stoica <cristian.stoica@freescale.com> Signed-off-by: Phil Sutter <phil@nwl.cc> ] 284/292 [ Author: Nikos Mavrogiannopoulos Email: nmav@redhat.com Subject: When obtaining a userspace buffer, use the maximum size of dst or src. Date: Thu, 17 Apr 2014 17:00:56 +0200 That is because in AEAD modes we need to write more data than we read (the tag value). Reported and investigated by Dian Nguyen. Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com> ] 285/292 [ Author: Cristian Stoica Email: cristian.stoica@freescale.com Subject: use function-local storage for cipher and hmac keys Date: Fri, 30 May 2014 13:59:02 +0300 Composite ciphers (cipher + hmac) use both keys at the same time. This patch is the first in a series that adds support for composite ciphers keys. Signed-off-by: Cristian Stoica <cristian.stoica@freescale.com> Signed-off-by: Phil Sutter <phil@nwl.cc> ] 286/292 [ Author: Cristian Stoica Email: cristian.stoica@freescale.com Subject: refactoring: enclose keys to support composition Date: Fri, 30 May 2014 13:59:03 +0300 The enclosing structure refers to both keys either as individuals or as a group. For block ciphers and hmacs, both keys are used independently. For composite ciphers the whole structure will be used as a single key. Signed-off-by: Cristian Stoica <cristian.stoica@freescale.com> Signed-off-by: Phil Sutter <phil@nwl.cc> ] 287/292 [ Author: Cristian Stoica Email: cristian.stoica@freescale.com Subject: add support for composite aead keys Date: Fri, 30 May 2014 13:59:04 +0300 - block and stream ciphers have their keys copied from userspace just like before - for aead composite ciphers, the cipher and hmac keys are combined into a single key Signed-off-by: Cristian Stoica <cristian.stoica@freescale.com> Signed-off-by: Phil Sutter <phil@nwl.cc> ] 288/292 [ Author: Nikos Mavrogiannopoulos Email: nmav@redhat.com Subject: documented issue with openssl Date: Mon, 7 Jul 2014 14:01:08 +0200 ] 289/292 [ Author: Cristian Stoica Email: cristian.stoica@freescale.com Subject: fix tag and dst_len calculation for aead ciphers Date: Thu, 10 Jul 2014 13:32:59 +0300 Calculate tag and destination buffer length in a single place to avoid code duplication. The TLS case is fixed by rounding the destination length to cipher block size. Signed-off-by: Cristian Stoica <cristian.stoica@freescale.com> ] 290/292 [ Author: Nikos Mavrogiannopoulos Email: nmav@redhat.com Subject: updated text on verbosity and installation instructions. Date: Wed, 6 Aug 2014 12:03:07 +0200 ] 291/292 [ Author: Nikos Mavrogiannopoulos Email: nmav@redhat.com Subject: updated NEWS Date: Wed, 6 Aug 2014 12:00:21 +0200 ] 292/292 [ Author: Bruce Ashfield Email: bruce.ashfield@windriver.com Subject: cryptodev: add Kbuild hooks Date: Tue, 23 Sep 2014 15:54:01 -0400 Hook cryptodev-linux into the kernel build as a tristate option. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> ]
2014-10-10kver: bump to v3.17-rc6Bruce Ashfield
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2014-10-10qemuarm64: create bsp configHe Zhe
This is the initial meta data for qemu arm64 bsp that supports qemu's virt for aarch64. Signed-off-by: He Zhe <zhe.he@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2014-10-06x86: Support 32 bit binariesDarren Hart
Fixes [YOCTO 6777] Unable to set CONFIG_COMPAT=y to kernel config Add support for running 32 bit binaries to the x32 and x86_64 fragments. This supports legacy software and is follows the recommendation in the Kconfig help. Signed-off-by: Darren Hart <dvhart@linux.intel.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2014-09-18kver: update to v3.17-rc5Bruce Ashfield
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2014-09-09meta: removing EOL intel BSPsBruce Ashfield
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2014-09-08drm-gma500: build GMA500 DRM driver as kernel moduleMax Eliaser
This will allow the module to be blacklisted on some devices (such as the FRI2) where it causes problems. Signed-off-by: Max Eliaser <max.eliaser@intel.com> Fix mistakenly setting bool kconfig vars to =m Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2014-09-08intel-common: intel-core-32: use tunnelcreek.sccMax Eliaser
This is instead of crownbay, emenlow, and fri2, although those .scc files still exist if anyone wants them. Note that this has the effect of adding the GMA500 DRM driver to intel-core2-32, which will break intel-core2-32 on FRI2 for now. Signed-off-by: Max Eliaser <max.eliaser@intel.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2014-09-08soc: tunnelcreek: create tunnelcreek sccMax Eliaser
The .scc file is created from from the union of the emenlow, crownbay, and fri2 files. The open-source GMA500 DRM driver is also enabled in tunnelcreek.scc as EMGD is being deprecated. Note that the GMA500 DRM driver currently breaks FRI2. preempt/preempt-rt/tiny variants of the new tunnelcreek configs have not been created. Signed-off-by: Max Eliaser <max.eliaser@intel.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2014-09-08qemuppc64: create bsp configArmin Kuster
This is the initial meta data for qemu ppc64 bsp that supports the IBM pseries power* arch which is supported in Qemu. V2: Pruned config : Added standard.scc V3: More cleanup : Added cfg/virtio.scc : Added features/input/input.scc : Added cfg/8250.scc v4: nuked stuff : features/usb/ohci-hcd.scc : features/scsi/disk.scc : features/scsi/cdrom.scc Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2014-09-08intel: create intel-common-preempt-rt and use itBruce Ashfield
The -preempt variants were including intel-common-standard.scc, and then the preempt-rt kernel type. But since preempt-rt also includes the standard kernel, this results in a double include of the standard kernel, at a different point in the branch structure, and hence a less than obvious branch is created like: standard/standard/preempt-rt. To fix this, we create a parallel intel-common-preempt-rt and include it when necessary. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2014-09-08meta: bump kver to v3.17-rc4Bruce Ashfield
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2014-09-03bfq: drop from v3.17Bruce Ashfield
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2014-09-03cgroups: skip vm cgroups for v3.17-rcBruce Ashfield
vm cgroups is not ready for v3.17, so we comment it out for now. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2014-09-03aufs: refresh for v3.17-rcBruce Ashfield
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2014-09-03crui: relocate to proper directory structureBruce Ashfield
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2014-09-03kver: bump to v3.17-rc3Bruce Ashfield
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2014-08-28meta: Create kernel config and scc for CRIUYang Shi
Add kernel config fragment for CRIU and include the config into scc file. Signed-off-by: Yang Shi <yang.shi@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2014-08-28meta: common-pc: add support for booting via EFIMax Eliaser
If "common-pc" actually means "Common PC," this is appropriate, as EFI is pretty common in PCs these days. This is also the most expediant way to get qemux86 and qemux86-64 booting via EFI, which is a prerequisite for [YOCTO #5654]. Signed-off-by: Max Eliaser <max.eliaser@intel.com>
2014-08-28meta: Add CONFIG_TTY to common-pc-drivers.cfgTom Zanussi
The 8250 config options aren't available if CONFIG_TTY isn't 'y', so make sure TTY is enabled for them. Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2014-08-28meta: Add CONFIG_TTY to 8250.cfgTom Zanussi
The 8250 config options aren't available if CONFIG_TTY isn't 'y', so make sure TTY is enabled for them. Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2014-08-28GRE: enable gre feature.Jianchuan Wang
Signed-off-by: Jianchuan Wang <jianchuan.wang@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2014-08-28yaffs: Avoid setting any ACL releated xattrBruce Ashfield
1/2 [ Author: Zhang Xiao Email: xiao.zhang@windriver.com Subject: yaffs: Avoid setting any ACL releated xattr Date: Wed, 27 Aug 2014 13:34:15 +0800 YAFFS doesn't sopport ACL yet, it must refuse any related settings. Signed-off-by: Zhang Xiao <xiao.zhang@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> ] 2/2 [ Author: Zhang Xiao Email: xiao.zhang@windriver.com Subject: yaffs: fix yaffs_vfs.c warnings. Date: Wed, 27 Aug 2014 13:34:16 +0800 fs/yaffs2/yaffs_vfs.c:3036:14: warning: 'yaffs_dump_dev_part0' defined but not used [-Wunused-function] fs/yaffs2/yaffs_vfs.c:3074:14: warning: 'yaffs_dump_dev_part1' defined but not used [-Wunused-function] fs/yaffs2/yaffs_vfs.c:3192:3: warning: 'mask_flags' defined but not used [-Wunused-variable] Signed-off-by: Zhang Xiao <xiao.zhang@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> ] Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2014-08-22standard: add bfq to feature listBruce Ashfield
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2014-08-22block: cgroups, kconfig, build bits for BFQ-v7r5-3.14Bruce Ashfield
1/3 [ Author: Paolo Valente Email: paolo.valente@unimore.it Subject: block: cgroups, kconfig, build bits for BFQ-v7r5-3.14 Date: Fri, 22 Aug 2014 10:53:48 +0800 Original patch taken from: http://algo.ing.unimo.it/people/paolo/disk_sched/patches/3.14.0-v7r5 Update Kconfig.iosched and do the related Makefile changes to include kernel configuration options for BFQ. Also add the bfqio controller to the cgroups subsystem. Signed-off-by: Paolo Valente <paolo.valente@unimore.it> Signed-off-by: Arianna Avanzini <avanzini.arianna@gmail.com> Signed-off-by: Jianchuan Wang <jianchuan.wang@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> ] 2/3 [ Author: Paolo Valente Email: paolo.valente@unimore.it Subject: block: introduce the BFQ-v7r5 I/O sched for 3.14 Date: Fri, 22 Aug 2014 10:53:49 +0800 Original patch taken from: http://algo.ing.unimo.it/people/paolo/disk_sched/patches/3.14.0-v7r5 Add the BFQ-v7r5 I/O scheduler to 3.14. The general structure is borrowed from CFQ, as much of the code for handling I/O contexts. Over time, several useful features have been ported from CFQ as well (details in the changelog in README.BFQ). A (bfq_)queue is associated to each task doing I/O on a device, and each time a scheduling decision has to be made a queue is selected and served until it expires. - Slices are given in the service domain: tasks are assigned budgets, measured in number of sectors. Once got the disk, a task must however consume its assigned budget within a configurable maximum time (by default, the maximum possible value of the budgets is automatically computed to comply with this timeout). This allows the desired latency vs "throughput boosting" tradeoff to be set. - Budgets are scheduled according to a variant of WF2Q+, implemented using an augmented rb-tree to take eligibility into account while preserving an O(log N) overall complexity. - A low-latency tunable is provided; if enabled, both interactive and soft real-time applications are guaranteed a very low latency. - Latency guarantees are preserved also in the presence of NCQ. - Also with flash-based devices, a high throughput is achieved while still preserving latency guarantees. - BFQ features Early Queue Merge (EQM), a sort of fusion of the cooperating-queue-merging and the preemption mechanisms present in CFQ. EQM is in fact a unified mechanism that tries to get a sequential read pattern, and hence a high throughput, with any set of processes performing interleaved I/O over a contiguous sequence of sectors. - BFQ supports full hierarchical scheduling, exporting a cgroups interface. Since each node has a full scheduler, each group can be assigned its own weight. - If the cgroups interface is not used, only I/O priorities can be assigned to processes, with ioprio values mapped to weights with the relation weight = IOPRIO_BE_NR - ioprio. - ioprio classes are served in strict priority order, i.e., lower priority queues are not served as long as there are higher priority queues. Among queues in the same class the bandwidth is distributed in proportion to the weight of each queue. A very thin extra bandwidth is however guaranteed to the Idle class, to prevent it from starving. Signed-off-by: Paolo Valente <paolo.valente@unimore.it> Signed-off-by: Arianna Avanzini <avanzini.arianna@gmail.com> Signed-off-by: Jianchuan Wang <jianchuan.wang@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> ] 3/3 [ Author: Mauro Andreolini Email: mauro.andreolini@unimore.it Subject: block, bfq: add Early Queue Merge (EQM) to BFQ-v7r5 for 3.14.0 Date: Fri, 22 Aug 2014 10:53:50 +0800 Original patch taken from: http://algo.ing.unimo.it/people/paolo/disk_sched/patches/3.14.0-v7r5 A set of processes may happen to perform interleaved reads, i.e.,requests whose union would give rise to a sequential read pattern. There are two typical cases: in the first case, processes read fixed-size chunks of data at a fixed distance from each other, while in the second case processes may read variable-size chunks at variable distances. The latter case occurs for example with QEMU, which splits the I/O generated by the guest into multiple chunks, and lets these chunks be served by a pool of cooperating processes, iteratively assigning the next chunk of I/O to the first available process. CFQ uses actual queue merging for the first type of rocesses, whereas it uses preemption to get a sequential read pattern out of the read requests performed by the second type of processes. In the end it uses two different mechanisms to achieve the same goal: boosting the throughput with interleaved I/O. This patch introduces Early Queue Merge (EQM), a unified mechanism to get a sequential read pattern with both types of processes. The main idea is checking newly arrived requests against the next request of the active queue both in case of actual request insert and in case of request merge. By doing so, both the types of processes can be handled by just merging their queues. EQM is then simpler and more compact than the pair of mechanisms used in CFQ. Finally, EQM also preserves the typical low-latency properties of BFQ, by properly restoring the weight-raising state of a queue when it gets back to a non-merged state. Signed-off-by: Mauro Andreolini <mauro.andreolini@unimore.it> Signed-off-by: Arianna Avanzini <avanzini.arianna@gmail.com> Signed-off-by: Paolo Valente <paolo.valente@unimore.it> Signed-off-by: Jianchuan Wang <jianchuan.wang@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> ] Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2014-08-22BFQ: Support Budget Fair Queueing (BFQ) Storage-I/O SchedulerJianchuan Wang
Signed-off-by: Jianchuan Wang <jianchuan.wang@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2014-08-20vxlan: Enable vxlan supportJianchuan Wang
vxlan: Enable vxlan support Signed-off-by: Jianchuan Wang <jianchuan.wang@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2014-08-19meta: features/ieee802154: add configuration fragment for IEEE 802.15.4Max Eliaser
Instead of duplicating the appropriate options in configiration fragments for various BSPS, it's better to put them in their own fragment which can then be included elsewhere. This commit also adds the new features/ieee802154/ieee802154.scc to intel-common-standard.scc, although CONFIG_IEEE802154 and CONFIG_IEEE802154_6LOWPAN have not been removed from anywhere else yet for compatibility reasons. Signed-off-by: Max Eliaser <max.eliaser@intel.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2014-08-19meta: features/bluetooth: add configuration fragment for Bluetooth supportMax Eliaser
Instead of adding CONFIG_BT directly to configuration fragments for various BSPs, it's better to put it in its own fragment which can then be included elsewhere. This commit also adds the new features/bluetooth/bluetooth.scc to intel-common-standard.scc, although CONFIG_BT has not been removed from anywhere else yet for compatibility reasons. This mostly resolves [YOCTO #1830], and removing other uses of CONFIG_BT will resolve it completely. Signed-off-by: Max Eliaser <max.eliaser@intel.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2014-08-19meta: intel-common-standard: add ericson-3g to intel-common-standard.sccMax Eliaser
BSPs that use intel-common-standard.scc should be expected to work on some devices with integrated 3G modems, most notably the FRI2. However, because we only have a configuration fragment for one 3g driver, it's not worth creating a 3g-all.scc file. For now, the best option is to add that driver directly to intel-common-standard.scc. Signed-off-by: Max Eliaser <max.eliaser@intel.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2014-08-19cgroups: enable virtual memory resource controllerHe Zhe
Enable virtual memory resource controller for convenience Signed-off-by: He Zhe <zhe.he@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2014-08-19vm_cgroup: basic infrastructureBruce Ashfield
1/7 [ Author: Vladimir Davydov Email: vdavydov@parallels.com Subject: vm_cgroup: basic infrastructure Date: Fri, 8 Aug 2014 09:20:33 +0800 Taken from https://lkml.org/lkml/2014/7/3/407 This patch introduces the vm cgroup to control address space expansion of tasks that belong to a cgroup. The idea is to provide a mechanism to limit memory overcommit not only for the whole system, but also on per cgroup basis. This patch only adds some basic cgroup methods, like alloc/free and write/read, while the real accounting/limiting is done in the following patches. Signed-off-by: Vladimir Davydov <vdavydov@parallels.com> Signed-off-by: He Zhe <zhe.he@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> ] 2/7 [ Author: He Zhe Email: zhe.he@windriver.com Subject: vm_cgroup: backport dependence to fix vm_cgroup infrastructure compile failure Date: Fri, 8 Aug 2014 09:20:34 +0800 Backport necessary dependence from v3.16-rc2 on which the original patch is based to fix compile failure. - Change IS_ENABLED to IS_SUBSYS_ENABLED which is defined by include/linux/subsys_cgroup.h - Modify proc interface to meet current definition - Change vm_cgrp_subsys to vm_subsys which is generated by include/linux/cgroup.h - Add name and subsys_id fields for vm_subsys Signed-off-by: He Zhe <zhe.he@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> ] 3/7 [ Author: Vladimir Davydov Email: vdavydov@parallels.com Subject: vm_cgroup: private writable mappings accounting Date: Fri, 8 Aug 2014 09:20:35 +0800 Taken from https://lkml.org/lkml/2014/7/3/408 Address space that contributes to memory overcommit consists of two parts - private writable mappings and shared memory. This patch adds private writable mappings accounting. The implementation is quite simple. Each mm holds a reference to the vm cgroup it is accounted to. The reference is initialized with the current cgroup on mm creation and released only on mm destruction. For simplicity, task migrations as well as mm owner changes are not handled yet, so an offline cgroup will be pinned in memory until all mm's accounted to it die. Signed-off-by: Vladimir Davydov <vdavydov@parallels.com> Signed-off-by: He Zhe <zhe.he@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> ] 4/7 [ Author: He Zhe Email: zhe.he@windriver.com Subject: vm_cgroup: backport dependence to fix vm_cgroup mappings accounting compile failure Date: Fri, 8 Aug 2014 09:20:36 +0800 Backport necessary dependence from v3.16-rc2 on which the original patch is based on to fix compile failure. - Backport css_tryget_online and percpu_ref_tryget_live for get_vm_cgroup_from_task - Change vm_cgrp_id to vm_subsys_id which is generated by include/linux/cgroup.h Signed-off-by: He Zhe <zhe.he@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> ] 5/7 [ Author: Vladimir Davydov Email: vdavydov@parallels.com Subject: shmem: pass inode to shmem_acct_* methods Date: Fri, 8 Aug 2014 09:20:37 +0800 Taken from https://lkml.org/lkml/2014/7/3/406 This will be used by the next patch. Signed-off-by: Vladimir Davydov <vdavydov@parallels.com> Signed-off-by: He Zhe <zhe.he@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> ] 6/7 [ Author: Vladimir Davydov Email: vdavydov@parallels.com Subject: vm_cgroup: shared memory accounting Date: Fri, 8 Aug 2014 09:20:38 +0800 Taken from https://lkml.org/lkml/2014/7/3/409 Address space that contributes to memory overcommit consists of two parts - private writable mappings and shared memory. This patch adds shared memory accounting. Each shmem inode holds a reference to the vm cgroup it is accounted to. The reference is initialized with the current cgroup on shmem inode creation and released only on shmem inode destruction. For simplicity, shmem inodes accounted to a vm cgroup are not re-charged to the parent on css offline yet, so offline cgroups will be hanging in memory until all inodes accounted to it die. Signed-off-by: Vladimir Davydov <vdavydov@parallels.com> Signed-off-by: He Zhe <zhe.he@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> ] 7/7 [ Author: Vladimir Davydov Email: vdavydov@parallels.com Subject: vm_cgroup: do not charge tasks in root cgroup Date: Fri, 8 Aug 2014 09:20:39 +0800 Taken from https://lkml.org/lkml/2014/7/3/410 For the root cgroup (the whole system), we already have overcommit accounting and control, so we can skip charging tasks in the root cgroup to avoid overhead. Signed-off-by: Vladimir Davydov <vdavydov@parallels.com> Signed-off-by: He Zhe <zhe.he@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> ] Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2014-08-19cgroups: Resource controller for open files.Bruce Ashfield
1/2 [ Author: Binder Makin Email: merimus@google.com Subject: cgroups: Resource controller for open files. Date: Wed, 30 Jul 2014 16:58:51 +0800 lkml https://lkml.org/lkml/2014/7/2/640 upstream Add a resource controller for limiting the number of open file handles. This allows us to catch misbehaving processes and return EMFILE instead of ENOMEM for kernel memory limits. Signed-off-by: Binder Makin <merimus@google.com> Signed-off-by: He Zhe <zhe.he@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> ] 2/2 [ Author: He Zhe Email: zhe.he@windriver.com Subject: Fix [RFC] cgroups: Resource controller for open files. Date: Wed, 30 Jul 2014 16:58:52 +0800 The original patch is based on: git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git fad01e866afdbe01a1f3ec06a39c3a8b9e197014 3.15-rc8 Modify variable and macro in fs/filescontrol.c and include/linux/cgroup_subsys.h according to target version. Correct wrong handling which causes boot failure in fs/file.c. Signed-off-by: He Zhe <zhe.he@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> ] Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2014-08-19standard: create backports containerBruce Ashfield
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2014-08-19full nohz: Enable full dynticks system for nohzJianchuan Wang
full nohz: Enable full dynticks system for nohz Signed-off-by: Jianchuan Wang <jianchuan.wang@windriver.com>
2014-07-31spi/pxa2xx-pci: Add common clock framework support in PCI glue layerBruce Ashfield
1/1 [ Author: "Chew, Chiau Ee" Email: chiau.ee.chew@intel.com Subject: spi/pxa2xx-pci: Add common clock framework support in PCI glue layer Date: Fri, 25 Jul 2014 01:10:54 +0800 SPI PXA2XX core layer has dependency on common clock framework to obtain information on host supported clock rate. Thus, we setup the clock device in the PCI glue layer to enable PCI mode host pass in the clock rate information. Signed-off-by: Chew, Chiau Ee <chiau.ee.chew@intel.com> Acked-by: Kweh, Hock Leong <hock.leong.kweh@intel.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> ] Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2014-07-31meta: revert spi clock frameworkBruce Ashfield
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2014-07-29meta/standard: include vsdo feature by defaultBruce Ashfield
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2014-07-29vdso: Delete CONFIG_COMPAT_VDSO after removing compat vdsoJianchuan Wang
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2014-07-25meta: intel-common: Enable Industrial IODarren Hart
Include the IIO fragment in all intel-common standard kernel configurations. Signed-off-by: Darren Hart <dvhart@linux.intel.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2014-07-25meta: Add IIO featureDarren Hart
Add a new IIO feature / config fragment which enables all the non-staging IIO drivers as modules. I didn't bother separating these out by class as there weren't too many of them and it's far more likely people would select one of each class (accelerometer, adc, etc.) rather than all of one class in a customized image. Signed-off-by: Darren Hart <dvhart@linux.intel.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2014-07-24x32: restore incorrectly dropped x32 config fragmentsBruce Ashfield
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2014-07-22kver: bump to v3.16-rc6Bruce Ashfield
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2014-07-16vexpress: Pass LOADADDR to MakefileBruce Ashfield
1/1 [ Author: Yang Shi Email: yang.shi@windriver.com Subject: vexpress: Pass LOADADDR to Makefile Date: Tue, 15 Jul 2014 21:19:34 -0700 Due to upstream commit 938f94cde74b33d6d3580c6fe65ebe918a770ae2 ("ARM: 7656/1: uImage: Error out on build of multiplatform without LOADADDR"), vexpress BSP need LOADADDR for making uImage, so pass LOADADDR in the Makefile for vexpress. Signed-off-by: Yang Shi <yang.shi@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> ] Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2014-07-16aufs: kbuild integrationBruce Ashfield
1/7 [ Author: Bruce Ashfield Email: bruce.ashfield@windriver.com Subject: aufs: kbuild integration Date: Wed, 16 Jul 2014 14:20:36 -0400 upstream: git://git.code.sf.net/p/aufs/aufs3-standalone (aufs3-kbuild.patch) Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> ] 2/7 [ Author: Bruce Ashfield Email: bruce.ashfield@windriver.com Subject: aufs: base Date: Wed, 16 Jul 2014 14:22:21 -0400 upstream: git://git.code.sf.net/p/aufs/aufs3-standalone (aufs3-base.patch) Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> ] 3/7 [ Author: Bruce Ashfield Email: bruce.ashfield@windriver.com Subject: aufs: mmap Date: Wed, 16 Jul 2014 14:23:44 -0400 upstream: git://git.code.sf.net/p/aufs/aufs3-standalone (aufs3-mmap.patch) Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> ] 4/7 [ Author: Bruce Ashfield Email: bruce.ashfield@windriver.com Subject: aufs: standalone support Date: Wed, 16 Jul 2014 14:24:34 -0400 upstream: git://git.code.sf.net/p/aufs/aufs3-standalone (aufs3-standalone.patch) Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> ] 5/7 [ Author: Bruce Ashfield Email: bruce.ashfield@windriver.com Subject: aufs: core Date: Wed, 16 Jul 2014 14:26:20 -0400 upstream: git://git.code.sf.net/p/aufs/aufs3-standalone Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> ] 6/7 [ Author: Bruce Ashfield Email: bruce.ashfield@windriver.com Subject: aufs: Documentation Date: Wed, 16 Jul 2014 14:26:46 -0400 upstream: git://git.code.sf.net/p/aufs/aufs3-standalone Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> ] 7/7 [ Author: Bruce Ashfield Email: bruce.ashfield@windriver.com Subject: aufs: types Date: Wed, 16 Jul 2014 14:27:16 -0400 upstream: git://git.code.sf.net/p/aufs/aufs3-standalone Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> ] Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2014-07-16perf: refresh for v3.16Bruce Ashfield
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2014-07-16aufs: refresh for 3.16Bruce Ashfield
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>