[kernel] r21861 - in dists/sid/linux/debian: . config/arm64 patches patches/bugfix/arm64
Ian James Campbell
ijc at moszumanska.debian.org
Wed Sep 17 15:39:53 UTC 2014
Author: ijc
Date: Wed Sep 17 15:39:52 2014
New Revision: 21861
Log:
[arm64] Enable crypto accelerator modules
Added:
dists/sid/linux/debian/patches/bugfix/arm64/
dists/sid/linux/debian/patches/bugfix/arm64/arm64-crypto-fix-makefile-rule-for-aes-glue-.o.patch
Modified:
dists/sid/linux/debian/changelog
dists/sid/linux/debian/config/arm64/config
dists/sid/linux/debian/patches/series
Modified: dists/sid/linux/debian/changelog
==============================================================================
--- dists/sid/linux/debian/changelog Tue Sep 16 19:48:05 2014 (r21860)
+++ dists/sid/linux/debian/changelog Wed Sep 17 15:39:52 2014 (r21861)
@@ -24,6 +24,7 @@
[ Ian Campbell ]
* [armhf] Enable support for Exynos5 systems. (Closes: #759291)
+ * [arm64] Enable crypto accelerator modules
[ Aurelien Jarno ]
* [powerpc/powerpc64,ppc64el] Backport more KVM patches from 3.17. Enable
Modified: dists/sid/linux/debian/config/arm64/config
==============================================================================
--- dists/sid/linux/debian/config/arm64/config Tue Sep 16 19:48:05 2014 (r21860)
+++ dists/sid/linux/debian/config/arm64/config Wed Sep 17 15:39:52 2014 (r21861)
@@ -8,6 +8,18 @@
CONFIG_COMPAT=y
##
+## file: arch/arm64/crypto/Kconfig
+##
+CONFIG_ARM64_CRYPTO=y
+CONFIG_CRYPTO_SHA1_ARM64_CE=m
+CONFIG_CRYPTO_SHA2_ARM64_CE=m
+CONFIG_CRYPTO_GHASH_ARM64_CE=m
+CONFIG_CRYPTO_AES_ARM64_CE=m
+CONFIG_CRYPTO_AES_ARM64_CE_CCM=m
+CONFIG_CRYPTO_AES_ARM64_CE_BLK=m
+# CONFIG_CRYPTO_AES_ARM64_NEON_BLK is not set
+
+##
## file: drivers/ata/Kconfig
##
CONFIG_AHCI_XGENE=m
Added: dists/sid/linux/debian/patches/bugfix/arm64/arm64-crypto-fix-makefile-rule-for-aes-glue-.o.patch
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ dists/sid/linux/debian/patches/bugfix/arm64/arm64-crypto-fix-makefile-rule-for-aes-glue-.o.patch Wed Sep 17 15:39:52 2014 (r21861)
@@ -0,0 +1,37 @@
+From 7c2105fbe9658d6cee18751568e29579bb58bfec Mon Sep 17 00:00:00 2001
+From: Andreas Schwab <schwab at suse.de>
+Date: Thu, 24 Jul 2014 17:03:26 +0100
+Subject: [PATCH] arm64/crypto: fix makefile rule for aes-glue-%.o
+
+This fixes the following build failure when building with CONFIG_MODVERSIONS
+enabled:
+
+ CC [M] arch/arm64/crypto/aes-glue-ce.o
+ld: cannot find arch/arm64/crypto/aes-glue-ce.o: No such file or directory
+make[1]: *** [arch/arm64/crypto/aes-ce-blk.o] Error 1
+make: *** [arch/arm64/crypto] Error 2
+
+The $(obj)/aes-glue-%.o rule only creates $(obj)/.tmp_aes-glue-ce.o, it
+should use if_changed_rule instead of if_changed_dep.
+
+Signed-off-by: Andreas Schwab <schwab at suse.de>
+[ardb: mention CONFIG_MODVERSIONS in commit log]
+Signed-off-by: Ard Biesheuvel <ard.biesheuvel at linaro.org>
+Signed-off-by: Catalin Marinas <catalin.marinas at arm.com>
+---
+ arch/arm64/crypto/Makefile | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/arch/arm64/crypto/Makefile b/arch/arm64/crypto/Makefile
+index 2070a56..a3f935f 100644
+--- a/arch/arm64/crypto/Makefile
++++ b/arch/arm64/crypto/Makefile
+@@ -35,4 +35,4 @@ AFLAGS_aes-neon.o := -DINTERLEAVE=4
+ CFLAGS_aes-glue-ce.o := -DUSE_V8_CRYPTO_EXTENSIONS
+
+ $(obj)/aes-glue-%.o: $(src)/aes-glue.c FORCE
+- $(call if_changed_dep,cc_o_c)
++ $(call if_changed_rule,cc_o_c)
+--
+2.1.0
+
Modified: dists/sid/linux/debian/patches/series
==============================================================================
--- dists/sid/linux/debian/patches/series Tue Sep 16 19:48:05 2014 (r21860)
+++ dists/sid/linux/debian/patches/series Wed Sep 17 15:39:52 2014 (r21861)
@@ -59,6 +59,7 @@
bugfix/mips/MIPS-Remove-BUG_ON-is_fpu_owner-in-do_ade.patch
bugfix/x86/x86-reject-x32-executables-if-x32-abi-not-supported.patch
bugfix/s390/s390-3215-fix-hanging-console-issue.patch
+bugfix/arm64/arm64-crypto-fix-makefile-rule-for-aes-glue-.o.patch
# Arch features
features/mips/MIPS-Support-hard-limit-of-cpu-count-nr_cpu_ids.patch
More information about the Kernel-svn-changes
mailing list