[PATCH v2 0/3] hw_random: timeriomem_rng: Migrate to new API and improve performance
From: Rick Altherr
Date: Wed Apr 05 2017 - 19:21:31 EST
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 migration into separate patch
- Split type and variable renames into separate patch
- Split performance improvements into separate patch
Rick Altherr (3):
hw_random: Migrate timeriomem_rng to new API
hw_random: timeriomem_rng: Shorten verbose type and variable names
hw_random: timeriomem_rng: Improve performance for sub-jiffie update
periods
drivers/char/hw_random/timeriomem-rng.c | 157 ++++++++++++++++----------------
1 file changed, 80 insertions(+), 77 deletions(-)
--
2.12.2.715.g7642488e1d-goog