diff options
author | Fuad Tabba <tabba@google.com> | 2024-10-18 10:48:29 +0300 |
---|---|---|
committer | Oliver Upton <oliver.upton@linux.dev> | 2024-10-31 21:45:24 +0300 |
commit | 0546d4a925a6ce52b362e528f6d962efd72c84b9 (patch) | |
tree | f8227ce3c48be78a95c270eb5d953a9f40c8f596 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 8aaf3f7dce74605a2e9f31bd421825a996ac7de3 (diff) | |
download | linux-0546d4a925a6ce52b362e528f6d962efd72c84b9.tar.xz |
KVM: arm64: Move pkvm_vcpu_init_traps() to init_pkvm_hyp_vcpu()
Move pkvm_vcpu_init_traps() to the initialization of the
hypervisor's vcpu state in init_pkvm_hyp_vcpu(), and remove the
associated hypercall.
In protected mode, traps need to be initialized whenever a VCPU
is initialized anyway, and not only for protected VMs. This also
saves an unnecessary hypercall.
Signed-off-by: Fuad Tabba <tabba@google.com>
Link: https://lore.kernel.org/r/20241018074833.2563674-2-tabba@google.com
Signed-off-by: Oliver Upton <oliver.upton@linux.dev>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions