Re: Testing the geode-aes driver with the tcrypt module completely freezes the machine

2007-05-03 Thread Evgeniy Polyakov
On Thu, May 03, 2007 at 08:47:44AM -0600, Jordan Crouse ([EMAIL PROTECTED]) wrote: > On 03/05/07 23:49 +1000, Herbert Xu wrote: > > Evgeniy Polyakov <[EMAIL PROTECTED]> wrote: > > > > > > Hm, driver does not perform encryption in-place at all. > > > Since we did not hear from AMD quite for a whil

Re: Testing the geode-aes driver with the tcrypt module completely freezes the machine

2007-05-03 Thread Evgeniy Polyakov
On Thu, May 03, 2007 at 04:08:29PM +0200, Martin Schiller ([EMAIL PROTECTED]) wrote: > > Hm, driver does not perform encryption in-place at all. > > Since we did not hear from AMD quite for a while, could you please > > remove src==dst check in geode_aes_crypt() and run tests again. If it > > is s

Re: Testing the geode-aes driver with the tcrypt module completely freezes the machine

2007-05-03 Thread Jordan Crouse
On 03/05/07 23:49 +1000, Herbert Xu wrote: > Evgeniy Polyakov <[EMAIL PROTECTED]> wrote: > > > > Hm, driver does not perform encryption in-place at all. > > Since we did not hear from AMD quite for a while, could you please > > remove src==dst check in geode_aes_crypt() and run tests again. > > If

RE: Testing the geode-aes driver with the tcrypt module completely freezes the machine

2007-05-03 Thread Martin Schiller
On Thursday, May 03, 2007 3:23 PM, Evgeniy Polyakov wrote: > On Thu, May 03, 2007 at 03:12:43PM +0200, Martin Schiller > ([EMAIL PROTECTED]) wrote: >> The freeze is the result of an invinite while-loop in the function >> geode_ecb_encrypt() (and maybe also in the geode_ecb_decrypt()). >> >> The

Re: Testing the geode-aes driver with the tcrypt module completely freezes the machine

2007-05-03 Thread Herbert Xu
Evgeniy Polyakov <[EMAIL PROTECTED]> wrote: > > Hm, driver does not perform encryption in-place at all. > Since we did not hear from AMD quite for a while, could you please > remove src==dst check in geode_aes_crypt() and run tests again. > If it is software protection against hardware bug, I doub

Re: Testing the geode-aes driver with the tcrypt module completely freezes the machine

2007-05-03 Thread Evgeniy Polyakov
On Thu, May 03, 2007 at 03:12:43PM +0200, Martin Schiller ([EMAIL PROTECTED]) wrote: > The freeze is the result of an invinite while-loop in the function > geode_ecb_encrypt() > (and maybe also in the geode_ecb_decrypt()). > > The cause for this seems to be, that the op->src == op->dst whereby th

RE: Testing the geode-aes driver with the tcrypt module completely freezes the machine

2007-05-03 Thread Martin Schiller
On Thursday, May 03, 2007 00:58:45 -0700 , Evgeniy Polyakov wrote: > Hi Martin. Hi Evgeniy >> Sorry for my late answer, but I didn't get your message because I haven't >> subscribed to the mailing-list. >> I've "found" it yesterday on the mailing-list archive. So please, could you >> reply direc

Re: Testing the geode-aes driver with the tcrypt module completely freezes the machine

2007-05-03 Thread Evgeniy Polyakov
On Thu, May 03, 2007 at 08:19:52AM +0200, Martin Schiller ([EMAIL PROTECTED]) wrote: > Hi Evgeniy, Hi Martin. > Sorry for my late answer, but I didn't get your message because I haven't > subscribed to the mailing-list. > I've "found" it yesterday on the mailing-list archive. So please, could yo

RE: Testing the geode-aes driver with the tcrypt module completely freezes the machine

2007-05-02 Thread Martin Schiller
On Friday, April 27, 2007 02:53:30 -0700 , Evgeniy Polyakov wrote: >> Could it be compiler problem and broken hardware? >> Martin, can you test attached patch? > >Or better this one: > >diff --git a/drivers/crypto/geode-aes.c b/drivers/crypto/geode-aes.c >index 6d3840e..724169b 100644 >--- a/drive

Re: Testing the geode-aes driver with the tcrypt module completely freezes the machine

2007-04-27 Thread Evgeniy Polyakov
On Fri, Apr 27, 2007 at 01:50:37PM +0400, Evgeniy Polyakov ([EMAIL PROTECTED]) wrote: > On Fri, Apr 27, 2007 at 06:10:51PM +1000, Herbert Xu ([EMAIL PROTECTED]) > wrote: > > > Has anyone else tried to test the geode-aes driver with the tcrypt module? > > > > > > I am also not able to use the geo

Re: Testing the geode-aes driver with the tcrypt module completely freezes the machine

2007-04-27 Thread Evgeniy Polyakov
On Fri, Apr 27, 2007 at 06:10:51PM +1000, Herbert Xu ([EMAIL PROTECTED]) wrote: > > Has anyone else tried to test the geode-aes driver with the tcrypt module? > > > > I am also not able to use the geode-aes driver with openswan-2.4.7 on kernel > > 2.6.19 (with patched-in geode driver). > > Jordan

Re: Testing the geode-aes driver with the tcrypt module completely freezes the machine

2007-04-27 Thread Herbert Xu
On Thu, Apr 26, 2007 at 09:04:21AM +, Martin Schiller wrote: > > here is what I do: > > - I have an AEWIN CB-6971 with an AMD Geode LX800. > > - Testing with kernel 2.6.21-rc7-git5. > > - When the geode_aes module is loaded and I am loading the tcrypt module, > the machine freezes complet

RE: Testing the geode-aes driver with the tcrypt module completely freezes the machine

2007-04-26 Thread Martin Schiller
On Thursday, April 26, 2007 1:05 PM, Sebastian Siewior wrote: > * Martin Schiller | 2007-04-26 11:04:21 [+0200]: > >> - When the geode_aes module is loaded and I am loading the tcrypt >> module, the machine freezes completely. > > could you modify the tcrpto module to test only ecb(aes) enc/dec

Re: Testing the geode-aes driver with the tcrypt module completely freezes the machine

2007-04-26 Thread Sebastian Siewior
* Martin Schiller | 2007-04-26 11:04:21 [+0200]: >- When the geode_aes module is loaded and I am loading the tcrypt module, > the machine freezes completely. could you modify the tcrpto module to test only ecb(aes) enc/dec with keysize = 16 (1 instead of AES_ENC_TEST_VECTORS) and see if it is st

Testing the geode-aes driver with the tcrypt module completely freezes the machine

2007-04-26 Thread Martin Schiller
Hello, here is what I do: - I have an AEWIN CB-6971 with an AMD Geode LX800. - Testing with kernel 2.6.21-rc7-git5. - When the geode_aes module is loaded and I am loading the tcrypt module, the machine freezes completely. - When the geode_aes module is NOT loaded and I am loading the tcrypt