diff options
author | Marc Zyngier <marc.zyngier@arm.com> | 2015-01-29 15:47:55 +0000 |
---|---|---|
committer | Marc Zyngier <marc.zyngier@arm.com> | 2016-02-29 18:34:17 +0000 |
commit | 68908bf789b7fd376538a4bad8367d5dcb9ec983 (patch) | |
tree | 5c8593b0ba2a42cbeacf314572402fdc71b3aab8 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 328762247cd33b4533f9dd89a4faf40288f359b7 (diff) |
arm64: KVM: VHE: Implement VHE activate/deactivate_traps
Running the kernel in HYP mode requires the HCR_E2H bit to be set
at all times, and the HCR_TGE bit to be set when running as a host
(and cleared when running as a guest). At the same time, the vector
must be set to the current role of the kernel (either host or
hypervisor), and a couple of system registers differ between VHE
and non-VHE.
We implement these by using another set of alternate functions
that get dynamically patched.
Reviewed-by: Christoffer Dall <christoffer.dall@linaro.org>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions