Re: [Y2038] [PATCH v2] crypto: Jitter RNG - use ktime_get_ns as fallback

2016-06-24 Thread Herbert Xu
On Wed, Jun 22, 2016 at 07:26:06PM +0200, Stephan Mueller wrote: > Hi John, Herbert, > > Changes v2: use ktime_get_ns instead of ktime_get_raw_ns > > The testing was re-performed and indicate no difference to the previous > testing. Patch applied. Thanks. -- Email: Herbert Xu Home Page: http

Re: [Y2038] [PATCH v2] crypto: Jitter RNG - use ktime_get_ns as fallback

2016-06-22 Thread Arnd Bergmann
On Wednesday, June 22, 2016 7:26:06 PM CEST Stephan Mueller wrote: > As part of the Y2038 development, __getnstimeofday is not supposed to be > used any more. It is now replaced with ktime_get_ns. The Jitter RNG uses > the time stamp to measure the execution time of a given code path and > tries to

Re: [Y2038] [PATCH v2] crypto: Jitter RNG - use ktime_get_ns as fallback

2016-06-22 Thread John Stultz
On Wed, Jun 22, 2016 at 10:26 AM, Stephan Mueller wrote: > Hi John, Herbert, > > Changes v2: use ktime_get_ns instead of ktime_get_raw_ns > > The testing was re-performed and indicate no difference to the previous > testing. Thanks for following through on this. This version addresses my concern

[Y2038] [PATCH v2] crypto: Jitter RNG - use ktime_get_ns as fallback

2016-06-22 Thread Stephan Mueller
Hi John, Herbert, Changes v2: use ktime_get_ns instead of ktime_get_raw_ns The testing was re-performed and indicate no difference to the previous testing. Ciao Stephan ---8<--- As part of the Y2038 development, __getnstimeofday is not supposed to be used any more. It is now replaced with ktim