Re: [PATCH v2 0/3] hw_random: timeriomem_rng: Migrate to new API and improve performance

2017-04-10 Thread Herbert Xu
On Wed, Apr 05, 2017 at 04:20:57PM -0700, Rick Altherr wrote: > AST2400 can generate 32-bits of random data every 1us. Original driver > was limited to one 32-bit read every jiffie due to deprecated API and use > of timers. Migrating to new hwrng API and switching to hrtimers > improves read

Re: [PATCH v2 0/3] hw_random: timeriomem_rng: Migrate to new API and improve performance

2017-04-10 Thread Herbert Xu
On Wed, Apr 05, 2017 at 04:20:57PM -0700, Rick Altherr wrote: > AST2400 can generate 32-bits of random data every 1us. Original driver > was limited to one 32-bit read every jiffie due to deprecated API and use > of timers. Migrating to new hwrng API and switching to hrtimers > improves read

[PATCH v2 0/3] hw_random: timeriomem_rng: Migrate to new API and improve performance

2017-04-05 Thread Rick Altherr
AST2400 can generate 32-bits of random data every 1us. Original driver was limited to one 32-bit read every jiffie due to deprecated API and use of timers. Migrating to new hwrng API and switching to hrtimers improves read performance of /dev/hwrng to 13Mb/s. Changes in v2: - Split API

[PATCH v2 0/3] hw_random: timeriomem_rng: Migrate to new API and improve performance

2017-04-05 Thread Rick Altherr
AST2400 can generate 32-bits of random data every 1us. Original driver was limited to one 32-bit read every jiffie due to deprecated API and use of timers. Migrating to new hwrng API and switching to hrtimers improves read performance of /dev/hwrng to 13Mb/s. Changes in v2: - Split API