linux/arch/arm64/kvm
Ard Biesheuvel a8e190cdae KVM: arm64: Implement the TRNG hypervisor call
Provide a hypervisor implementation of the ARM architected TRNG firmware
interface described in ARM spec DEN0098. All function IDs are implemented,
including both 32-bit and 64-bit versions of the TRNG_RND service, which
is the centerpiece of the API.

The API is backed by the kernel's entropy pool only, to avoid guests
draining more precious direct entropy sources.

Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
[Andre: minor fixes, drop arch_get_random() usage]
Signed-off-by: Andre Przywara <andre.przywara@arm.com>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20210106103453.152275-6-andre.przywara@arm.com
2021-01-25 22:19:31 +00:00
..
hyp KVM/arm64 fixes for 5.11, take #1 2021-01-08 05:02:40 -05:00
vgic KVM/arm64 fixes for 5.11, take #1 2021-01-08 05:02:40 -05:00
arch_timer.c
arm.c KVM: arm64: Fix hyp_cpu_pm_{init,exit} __init annotation 2020-12-30 09:13:01 +00:00
debug.c
fpsimd.c
guest.c
handle_exit.c
hypercalls.c KVM: arm64: Implement the TRNG hypervisor call 2021-01-25 22:19:31 +00:00
inject_fault.c
irq.h
Kconfig KVM: arm64: Replace KVM_ARM_PMU with HW_PERF_EVENTS 2021-01-04 16:50:16 +00:00
Makefile KVM: arm64: Implement the TRNG hypervisor call 2021-01-25 22:19:31 +00:00
mmio.c
mmu.c Merge branch 'kvm-master' into kvm-next 2021-01-07 18:06:52 -05:00
perf.c
pmu-emul.c KVM: arm64: Remove redundant call to kvm_pmu_vcpu_reset() 2020-12-27 14:38:25 +00:00
pmu.c
psci.c
pvtime.c
reset.c
sys_regs.c KVM: arm64: Remove spurious semicolon in reg_to_encoding() 2020-12-31 15:05:46 +00:00
sys_regs.h
trace_arm.h
trace_handle_exit.h
trace.h
trng.c KVM: arm64: Implement the TRNG hypervisor call 2021-01-25 22:19:31 +00:00
va_layout.c
vgic-sys-reg-v3.c