qemu/hw
Krzysztof Kozlowski 499ca13792 hw/misc: Add Exynos4210 Pseudo Random Number Generator
Add emulation for Exynos4210 Pseudo Random Number Generator which could
work on fixed seeds or with seeds provided by True Random Number
Generator block inside the SoC.

Implement only the fixed seeds part of it in polling mode (no
interrupts).

Emulation tested with two independent Linux kernel exynos-rng drivers:
1. New kcapi-rng interface (targeting Linux v4.12),
2. Old hwrng inteface
   # echo "exynos" > /sys/class/misc/hw_random/rng_current
   # dd if=/dev/hwrng of=/dev/null bs=1 count=16

Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
Message-id: 20170425180609.11004-1-krzk@kernel.org
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
[PMM: wrapped a few overlong lines; more efficient implementation
 of exynos4210_rng_seed_ready()]
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
2017-07-11 11:21:26 +01:00
..
9pfs 9pfs: handle transport errors in pdu_complete() 2017-06-29 15:11:51 +02:00
acpi include/exec/poison: Mark CONFIG_KVM as poisoned, too 2017-07-04 14:30:03 +02:00
adc
alpha
arm hw/misc: Add Exynos4210 Pseudo Random Number Generator 2017-07-11 11:21:26 +01:00
audio
block -----BEGIN PGP SIGNATURE----- 2017-06-30 13:26:41 +01:00
bt
char
core
cpu
cris
display xenfb: remove xen_init_display "temporary" hack 2017-07-07 11:10:03 -07:00
dma
gpio
i2c
i386 xen-platform: Cleanup network infrastructure when emulated NICs are unplugged 2017-07-07 11:11:12 -07:00
ide pci: Replace pci_add_capability2() with pci_add_capability() 2017-07-03 22:29:49 +03:00
input vmstate: error hint for failed equal checks 2017-06-28 11:18:44 +02:00
intc s390x: fix realize inheritance for kvm-flic 2017-07-05 19:44:23 +02:00
ipack
ipmi
isa
lm32
m68k
mem
microblaze
mips
misc hw/misc: Add Exynos4210 Pseudo Random Number Generator 2017-07-11 11:21:26 +01:00
moxie
net virtio-net: fix tx queue size for !vhost-user 2017-07-03 22:29:49 +03:00
nios2
nvram fw_cfg: move setting of FW_CFG_VERSION_DMA bit to fw_cfg_init1() 2017-07-03 22:29:49 +03:00
openrisc
pci pci: Convert shpc_init() to Error 2017-07-03 22:29:49 +03:00
pci-bridge pci: Convert shpc_init() to Error 2017-07-03 22:29:49 +03:00
pci-host
pcmcia
ppc migration: Rename cleanup() to save_cleanup() 2017-07-10 17:52:21 +01:00
s390x hw/s390x/ipl: Fix endianness problem with netboot_start_addr 2017-07-05 19:46:30 +02:00
scsi virtio-scsi: finalize IOMMU support 2017-07-04 14:39:28 +02:00
sd
sh4
smbios
sparc
sparc64
ssi
timer
tpm
tricore
unicore32
usb pci: Fix the wrong assertion. 2017-07-03 22:29:49 +03:00
vfio pci: Replace pci_add_capability2() with pci_add_capability() 2017-07-03 22:29:49 +03:00
virtio vhost-user: unregister slave req handler at cleanup time 2017-07-03 22:29:49 +03:00
watchdog
xen xen/pt: Fixup addr validation in xen_pt_pci_config_access_check 2017-07-07 11:13:10 -07:00
xenpv xenfb: remove xen_init_display "temporary" hack 2017-07-07 11:10:03 -07:00
xtensa
Makefile.objs