diff options
| author | Cristian Stoica <cristian.stoica@freescale.com> | 2015-07-17 17:29:44 +0800 |
|---|---|---|
| committer | Otavio Salvador <otavio@ossystems.com.br> | 2015-07-28 23:26:58 -0300 |
| commit | a0036bb1344415acd7a4363091193d19754fc740 (patch) | |
| tree | 1abce4d42ea5dad9d9fcdb8ad60fa54b2784e75f /meta-fsl-ppc/recipes-kernel/cryptodev/files/0001-fix-compilation-against-linux-3.19.patch | |
| parent | a6e9e14a15a6f5007a5f53531eb18a24c7ab1ac4 (diff) | |
| download | meta-freescale-a0036bb1344415acd7a4363091193d19754fc740.tar.gz | |
cryptodev: update to 1.7 plus FSL patches
To avoid build issue when Poky upgrades cryptodev, keep a copy
of cryptodev-{linux,modules,tests) recipe in this repository.
Based on the upstream, this includes the following FSL patches:
0001-add-support-for-composite-TLS10-SHA1-AES-algorithm-o.patch
0002-add-support-for-COMPAT_CIOCAUTHCRYPT-ioctl.patch
0003-PKC-support-added-in-cryptodev-module.patch
0004-Compat-versions-of-PKC-IOCTLs.patch
0005-Asynchronous-interface-changes-in-cryptodev.patch
0006-ECC_KEYGEN-and-DLC_KEYGEN-supported-in-cryptodev-mod.patch
0007-RCU-stall-fixed-in-PKC-asynchronous-interface.patch
0008-Add-RSA-Key-generation-offloading.patch
0009-Fixed-compilation-error-of-openssl-with-fsl-cryptode.patch
0010-add-support-for-composite-TLS10-SHA1-3DES-algorithm-.patch
0011-add-support-for-TLSv1.1-record-offload.patch
0012-add-support-for-TLSv1.2-record-offload.patch
0013-clean-up-code-layout.patch
0014-remove-redundant-data-copy-for-pkc-operations.patch
0015-fix-pkc-request-deallocation.patch
0016-add-basic-detection-of-asym-features.patch
0017-remove-dead-code.patch
0018-fix-compat-warnings.patch
0019-fix-size_t-print-format.patch
0020-fix-uninitialized-variable-compiler-warning.patch
Signed-off-by: Cristian Stoica <cristian.stoica@freescale.com>
Signed-off-by: Ting Liu <ting.liu@freescale.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Diffstat (limited to 'meta-fsl-ppc/recipes-kernel/cryptodev/files/0001-fix-compilation-against-linux-3.19.patch')
| -rw-r--r-- | meta-fsl-ppc/recipes-kernel/cryptodev/files/0001-fix-compilation-against-linux-3.19.patch | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/meta-fsl-ppc/recipes-kernel/cryptodev/files/0001-fix-compilation-against-linux-3.19.patch b/meta-fsl-ppc/recipes-kernel/cryptodev/files/0001-fix-compilation-against-linux-3.19.patch new file mode 100644 index 000000000..ab276d2dd --- /dev/null +++ b/meta-fsl-ppc/recipes-kernel/cryptodev/files/0001-fix-compilation-against-linux-3.19.patch | |||
| @@ -0,0 +1,36 @@ | |||
| 1 | From 5054d20d45571cc85339351fde52f872eeb82206 Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Phil Sutter <phil@nwl.cc> | ||
| 3 | Date: Tue, 10 Feb 2015 04:57:05 +0100 | ||
| 4 | Subject: [PATCH 1/4] fix compilation against linux-3.19 | ||
| 5 | |||
| 6 | Commit f938612dd97d481b8b5bf960c992ae577f081c17 in linux.git removes | ||
| 7 | get_unused_fd() macro. This patch changes the calling code to use it's | ||
| 8 | content 'get_unused_fd_flags(0)' instead. Checking for when | ||
| 9 | get_unused_fd_flags was introduced shows it's been there since 2.6.23 at | ||
| 10 | least, so probably no need to make this change conditional on the target | ||
| 11 | kernel version. | ||
| 12 | |||
| 13 | Original patch by Ricardo Ribalda Delgado for Open Embedded, reported by | ||
| 14 | Oleg Rakhmanov. | ||
| 15 | |||
| 16 | Signed-off-by: Phil Sutter <phil@nwl.cc> | ||
| 17 | --- | ||
| 18 | ioctl.c | 2 +- | ||
| 19 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
| 20 | |||
| 21 | diff --git a/ioctl.c b/ioctl.c | ||
| 22 | index 5a55a76..b23f5fd 100644 | ||
| 23 | --- a/ioctl.c | ||
| 24 | +++ b/ioctl.c | ||
| 25 | @@ -546,7 +546,7 @@ static int | ||
| 26 | clonefd(struct file *filp) | ||
| 27 | { | ||
| 28 | int ret; | ||
| 29 | - ret = get_unused_fd(); | ||
| 30 | + ret = get_unused_fd_flags(0); | ||
| 31 | if (ret >= 0) { | ||
| 32 | get_file(filp); | ||
| 33 | fd_install(ret, filp); | ||
| 34 | -- | ||
| 35 | 2.3.5 | ||
| 36 | |||
