• Rick Altherr's avatar
    hwrng: timeriomem - Improve performance for sub-jiffie update periods · ca3bff70
    Rick Altherr authored
    Some hardware RNGs provide a single register for obtaining random data.
    Instead of signaling when new data is available, the reader must wait a
    fixed amount of time between reads for new data to be generated.
    timeriomem_rng implements this scheme with the period specified in
    platform data or device tree.  While the period is specified in
    microseconds, the implementation used a standard timer which has a
    minimum delay of 1 jiffie and caused a significant bottleneck for
    devices that can update at 1us.  By switching to an hrtimer, 1us periods
    now only delay at most 2us per read.
    Signed-off-by: default avatarRick Altherr <raltherr@google.com>
    Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
    ca3bff70
Name
Last commit
Last update
..
agp Loading commit data...
hw_random Loading commit data...
ipmi Loading commit data...
mwave Loading commit data...
pcmcia Loading commit data...
tpm Loading commit data...
xilinx_hwicap Loading commit data...
xillybus Loading commit data...
Kconfig Loading commit data...
Makefile Loading commit data...
apm-emulation.c Loading commit data...
applicom.c Loading commit data...
applicom.h Loading commit data...
bfin-otp.c Loading commit data...
bsr.c Loading commit data...
ds1302.c Loading commit data...
ds1620.c Loading commit data...
dsp56k.c Loading commit data...
dtlk.c Loading commit data...
efirtc.c Loading commit data...
generic_nvram.c Loading commit data...
hangcheck-timer.c Loading commit data...
hpet.c Loading commit data...
lp.c Loading commit data...
mbcs.c Loading commit data...
mbcs.h Loading commit data...
mem.c Loading commit data...
misc.c Loading commit data...
mmtimer.c Loading commit data...
mspec.c Loading commit data...
nsc_gpio.c Loading commit data...
nvram.c Loading commit data...
nwbutton.c Loading commit data...
nwbutton.h Loading commit data...
nwflash.c Loading commit data...
pc8736x_gpio.c Loading commit data...
powernv-op-panel.c Loading commit data...
ppdev.c Loading commit data...
ps3flash.c Loading commit data...
random.c Loading commit data...
raw.c Loading commit data...
rtc.c Loading commit data...
scx200_gpio.c Loading commit data...
snsc.c Loading commit data...
snsc.h Loading commit data...
snsc_event.c Loading commit data...
sonypi.c Loading commit data...
tb0219.c Loading commit data...
tile-srom.c Loading commit data...
tlclk.c Loading commit data...
toshiba.c Loading commit data...
ttyprintk.c Loading commit data...
uv_mmtimer.c Loading commit data...
virtio_console.c Loading commit data...