* [PATCH] add MODULE_ALIAS for x86_64 aes
@ 2005-08-08 17:33 Olaf Hering
2005-08-08 17:51 ` Andrew Morton
0 siblings, 1 reply; 7+ messages in thread
From: Olaf Hering @ 2005-08-08 17:33 UTC (permalink / raw)
To: Andrew Morton, linux-kernel; +Cc: Andreas Kleen
modprobe aes does not work on x86_64. i386 has a similar line,
this could be the right fix. Would be nice to have in 2.6.13 final.
Signed-off-by: Olaf Hering <olh@suse.de>
arch/x86_64/crypto/aes.c | 1 +
1 files changed, 1 insertion(+)
Index: linux-2.6.13-rc6-aes/arch/x86_64/crypto/aes.c
===================================================================
--- linux-2.6.13-rc6-aes.orig/arch/x86_64/crypto/aes.c
+++ linux-2.6.13-rc6-aes/arch/x86_64/crypto/aes.c
@@ -322,3 +322,4 @@ module_exit(aes_fini);
MODULE_DESCRIPTION("Rijndael (AES) Cipher Algorithm");
MODULE_LICENSE("GPL");
+MODULE_ALIAS("aes");
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH] add MODULE_ALIAS for x86_64 aes
2005-08-08 17:33 [PATCH] add MODULE_ALIAS for x86_64 aes Olaf Hering
@ 2005-08-08 17:51 ` Andrew Morton
2005-08-08 17:55 ` Olaf Hering
0 siblings, 1 reply; 7+ messages in thread
From: Andrew Morton @ 2005-08-08 17:51 UTC (permalink / raw)
To: Olaf Hering; +Cc: linux-kernel, ak
Olaf Hering <olh@suse.de> wrote:
>
>
> modprobe aes does not work on x86_64. i386 has a similar line,
> this could be the right fix. Would be nice to have in 2.6.13 final.
>
What do you mean by "this could be the right fix"? Did it work?
>
> Index: linux-2.6.13-rc6-aes/arch/x86_64/crypto/aes.c
> ===================================================================
> --- linux-2.6.13-rc6-aes.orig/arch/x86_64/crypto/aes.c
> +++ linux-2.6.13-rc6-aes/arch/x86_64/crypto/aes.c
> @@ -322,3 +322,4 @@ module_exit(aes_fini);
>
> MODULE_DESCRIPTION("Rijndael (AES) Cipher Algorithm");
> MODULE_LICENSE("GPL");
> +MODULE_ALIAS("aes");
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH] add MODULE_ALIAS for x86_64 aes
2005-08-08 17:51 ` Andrew Morton
@ 2005-08-08 17:55 ` Olaf Hering
2005-08-08 20:10 ` Olaf Hering
0 siblings, 1 reply; 7+ messages in thread
From: Olaf Hering @ 2005-08-08 17:55 UTC (permalink / raw)
To: Andrew Morton; +Cc: linux-kernel, ak
On Mon, Aug 08, Andrew Morton wrote:
> Olaf Hering <olh@suse.de> wrote:
> >
> >
> > modprobe aes does not work on x86_64. i386 has a similar line,
> > this could be the right fix. Would be nice to have in 2.6.13 final.
> >
>
> What do you mean by "this could be the right fix"? Did it work?
I cant test it due to lack of hardware. Will find someone who does.
modprobe aes is done by openswan, works on ppc, i386, but not on x86_64.
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH] add MODULE_ALIAS for x86_64 aes
2005-08-08 17:55 ` Olaf Hering
@ 2005-08-08 20:10 ` Olaf Hering
2005-08-09 4:16 ` James Morris
0 siblings, 1 reply; 7+ messages in thread
From: Olaf Hering @ 2005-08-08 20:10 UTC (permalink / raw)
To: Andrew Morton; +Cc: linux-kernel, ak
On Mon, Aug 08, Olaf Hering wrote:
> On Mon, Aug 08, Andrew Morton wrote:
>
> > Olaf Hering <olh@suse.de> wrote:
> > >
> > >
> > > modprobe aes does not work on x86_64. i386 has a similar line,
> > > this could be the right fix. Would be nice to have in 2.6.13 final.
> > >
> >
> > What do you mean by "this could be the right fix"? Did it work?
>
> I cant test it due to lack of hardware. Will find someone who does.
> modprobe aes is done by openswan, works on ppc, i386, but not on x86_64.
This works, tested it. modprobe -v aes
insmod /lib/modules/2.6.13-rc6-3-default/kernel/arch/x86_64/crypto/aes-x86_64.ko
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH] add MODULE_ALIAS for x86_64 aes
2005-08-08 20:10 ` Olaf Hering
@ 2005-08-09 4:16 ` James Morris
2005-08-11 12:28 ` [AES] Add module alias to x86_64 implementation Herbert Xu
0 siblings, 1 reply; 7+ messages in thread
From: James Morris @ 2005-08-09 4:16 UTC (permalink / raw)
To: Olaf Hering; +Cc: Andrew Morton, linux-kernel, Andi Kleen, Herbert Xu
On Mon, 8 Aug 2005, Olaf Hering wrote:
> On Mon, Aug 08, Olaf Hering wrote:
> > On Mon, Aug 08, Andrew Morton wrote:
> >
> > > What do you mean by "this could be the right fix"? Did it work?
> >
> > I cant test it due to lack of hardware. Will find someone who does.
> > modprobe aes is done by openswan, works on ppc, i386, but not on x86_64.
>
> This works, tested it. modprobe -v aes
> insmod /lib/modules/2.6.13-rc6-3-default/kernel/arch/x86_64/crypto/aes-x86_64.ko
It looks the same as the i386 version, so probably ok.
(CC'd the crypto maintainer).
- James
--
James Morris
<jmorris@namei.org>
^ permalink raw reply [flat|nested] 7+ messages in thread
* [AES] Add module alias to x86_64 implementation
2005-08-09 4:16 ` James Morris
@ 2005-08-11 12:28 ` Herbert Xu
2005-08-11 22:35 ` David S. Miller
0 siblings, 1 reply; 7+ messages in thread
From: Herbert Xu @ 2005-08-11 12:28 UTC (permalink / raw)
To: Andrew Morton; +Cc: Olaf Hering, James Morris, linux-kernel, Andi Kleen
[-- Attachment #1: Type: text/plain, Size: 944 bytes --]
On Tue, Aug 09, 2005 at 12:16:18AM -0400, James Morris wrote:
>
> > > I cant test it due to lack of hardware. Will find someone who does.
> > > modprobe aes is done by openswan, works on ppc, i386, but not on x86_64.
> >
> > This works, tested it. modprobe -v aes
> > insmod /lib/modules/2.6.13-rc6-3-default/kernel/arch/x86_64/crypto/aes-x86_64.ko
>
> It looks the same as the i386 version, so probably ok.
It looks good to me too. Andrew, please add this to 2.6.13:
Subject: [AES] Add module alias to x86_64 implementation
From: Olaf Hering <olh@suse.de>
modprobe aes does not work on x86_64. i386 has a similar line,
Signed-off-by: Olaf Hering <olh@suse.de>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Thanks,
--
Visit Openswan at http://www.openswan.org/
Email: Herbert Xu ~{PmV>HI~} <herbert@gondor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
[-- Attachment #2: p --]
[-- Type: text/plain, Size: 274 bytes --]
diff --git a/arch/x86_64/crypto/aes.c b/arch/x86_64/crypto/aes.c
--- a/arch/x86_64/crypto/aes.c
+++ b/arch/x86_64/crypto/aes.c
@@ -322,3 +322,4 @@ module_exit(aes_fini);
MODULE_DESCRIPTION("Rijndael (AES) Cipher Algorithm");
MODULE_LICENSE("GPL");
+MODULE_ALIAS("aes");
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [AES] Add module alias to x86_64 implementation
2005-08-11 12:28 ` [AES] Add module alias to x86_64 implementation Herbert Xu
@ 2005-08-11 22:35 ` David S. Miller
0 siblings, 0 replies; 7+ messages in thread
From: David S. Miller @ 2005-08-11 22:35 UTC (permalink / raw)
To: herbert; +Cc: akpm, olh, jmorris, linux-kernel, ak
From: Herbert Xu <herbert@gondor.apana.org.au>
Date: Thu, 11 Aug 2005 22:28:35 +1000
> It looks good to me too. Andrew, please add this to 2.6.13:
It's already in Linus's tree for a few days now.
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2005-08-11 22:35 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-08-08 17:33 [PATCH] add MODULE_ALIAS for x86_64 aes Olaf Hering
2005-08-08 17:51 ` Andrew Morton
2005-08-08 17:55 ` Olaf Hering
2005-08-08 20:10 ` Olaf Hering
2005-08-09 4:16 ` James Morris
2005-08-11 12:28 ` [AES] Add module alias to x86_64 implementation Herbert Xu
2005-08-11 22:35 ` David S. Miller
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox