commit | 5660147e423b3674d47efddd2ce09ac4bfc7db08 | [log] [tgz] |
---|---|---|
author | Andrew Scull <ascull@google.com> | Tue Feb 02 16:44:12 2021 +0000 |
committer | Andrew Scull <ascull@google.com> | Mon Feb 15 13:41:42 2021 +0000 |
tree | d4cf914533577f0e5cfb27334336f8f89ad7f0c1 | |
parent | 686d038fd2b04d3e67c95a315fbcb122e5fce246 [diff] |
RFC: KVM: arm64: Manage FPSIMD state at EL2 for protected vCPUs Protected VM's FPSIMD state must not be exposed to the host. Since the FPSIMD state is switched lazily, hyp must take precautions to prevent leaks. Do this by trapping FP access to EL2 to lazily save a protected guest's and restore the hosts's state. This is a little ahead of its time since it requires knowledge which vcpus are protected or not (see the TODO). Signed-off-by: Andrew Scull <ascull@google.com>