rpms/kernel/F-10 linux-2.6-crypto-aes-padlock-fix-autoload.patch, NONE, 1.1 kernel.spec, 1.1336, 1.1337

Chuck Ebbert cebbert at fedoraproject.org
Tue Apr 21 08:47:58 UTC 2009


Author: cebbert

Update of /cvs/pkgs/rpms/kernel/F-10
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv3649

Modified Files:
	kernel.spec 
Added Files:
	linux-2.6-crypto-aes-padlock-fix-autoload.patch 
Log Message:
Fix VIA Padlock autoload (#496140)

linux-2.6-crypto-aes-padlock-fix-autoload.patch:

--- NEW FILE linux-2.6-crypto-aes-padlock-fix-autoload.patch ---
 [http://marc.info/?l=linux-kernel&m=124029340626998&q=raw]

On Tue, Apr 21, 2009 at 01:53:31PM +0800, Herbert Xu wrote:
> 
> Thanks for the report.  This patch should fix the problem.

In fact, padlock-aes shouldn't have been aes-all in the first
place so I'm going to add tihs patch too.

commit acd246b7494c629aa617da49716409566cf52149
Author: Herbert Xu <herbert at gondor.apana.org.au>
Date:   Tue Apr 21 13:55:20 2009 +0800

    crypto: padlock - Revert aes-all alias to aes
    
    Since the padlock-aes driver doesn't require a fallback (it's
    only padlock-sha that does), it should use the aes alias rather
    than aes-all so that ones that do need a fallback can use it.
    
    Signed-off-by: Herbert Xu <herbert at gondor.apana.org.au>

diff --git a/drivers/crypto/padlock-aes.c b/drivers/crypto/padlock-aes.c
index 3f0fdd1..856b3cc 100644
--- a/drivers/crypto/padlock-aes.c
+++ b/drivers/crypto/padlock-aes.c
@@ -489,4 +489,4 @@ MODULE_DESCRIPTION("VIA PadLock AES algorithm support");
 MODULE_LICENSE("GPL");
 MODULE_AUTHOR("Michal Ludvig");
 
-MODULE_ALIAS("aes-all");
+MODULE_ALIAS("aes");

Thanks,
-- 
Visit Openswan at http://www.openswan.org/
Email: Herbert Xu ~{PmV>HI~} <herbert at gondor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo at vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Index: kernel.spec
===================================================================
RCS file: /cvs/pkgs/rpms/kernel/F-10/kernel.spec,v
retrieving revision 1.1336
retrieving revision 1.1337
diff -u -r1.1336 -r1.1337
--- kernel.spec	20 Apr 2009 19:19:31 -0000	1.1336
+++ kernel.spec	21 Apr 2009 08:47:52 -0000	1.1337
@@ -727,6 +727,8 @@
 Patch9303: linux-2.6-kvm-skip-pit-check.patch
 Patch9304: linux-2.6-xen-check-for-nx-support.patch
 
+Patch9400: linux-2.6-crypto-aes-padlock-fix-autoload.patch
+
 %endif
 
 BuildRoot: %{_tmppath}/kernel-%{KVERREL}-root
@@ -1341,6 +1343,9 @@
 ApplyPatch linux-2.6-kvm-skip-pit-check.patch
 ApplyPatch linux-2.6-xen-check-for-nx-support.patch
 
+# make padlock autoload again
+ApplyPatch linux-2.6-crypto-aes-padlock-fix-autoload.patch
+
 # ======= END OF PATCH APPLICATIONS =============================
 
 %endif
@@ -1917,6 +1922,9 @@
 %kernel_variant_files -k vmlinux %{with_kdump} kdump
 
 %changelog
+* Mon Apr 20 2009 Chuck Ebbert <cebbert at redhat.com> 2.6.29.1-37
+- Fix VIA Padlock autoload (#496140)
+
 * Mon Apr 20 2009 Kyle McMartin <kyle at redhat.com> 2.6.29.1-36
 - git-bluetooth2.patch: Bluetooth fixes from F-11.
 




More information about the fedora-extras-commits mailing list