summaryrefslogtreecommitdiff
path: root/lib/test_fpu.c
diff options
context:
space:
mode:
authorQuentin Perret <qperret@google.com>2021-03-19 10:01:21 +0000
committerMarc Zyngier <maz@kernel.org>2021-03-19 12:01:20 +0000
commit7a440cc78392c3caf805ef0afc7ead031e4d0830 (patch)
tree519090f45eec37e78f243ab5f44b2d46469b0a3a /lib/test_fpu.c
parent8e17c66249e9ea08b44879c7af0315e70a83316c (diff)
KVM: arm64: Enable access to sanitized CPU features at EL2
Introduce the infrastructure in KVM enabling to copy CPU feature registers into EL2-owned data-structures, to allow reading sanitised values directly at EL2 in nVHE. Given that only a subset of these features are being read by the hypervisor, the ones that need to be copied are to be listed under <asm/kvm_cpufeature.h> together with the name of the nVHE variable that will hold the copy. This introduces only the infrastructure enabling this copy. The first users will follow shortly. Signed-off-by: Quentin Perret <qperret@google.com> Signed-off-by: Marc Zyngier <maz@kernel.org> Link: https://lore.kernel.org/r/20210319100146.1149909-14-qperret@google.com
Diffstat (limited to 'lib/test_fpu.c')
0 files changed, 0 insertions, 0 deletions