diff options
author | Marc Zyngier <maz@kernel.org> | 2021-03-22 12:09:51 +0000 |
---|---|---|
committer | Marc Zyngier <maz@kernel.org> | 2021-03-25 11:00:33 +0000 |
commit | 755db23420a1ce4b740186543432983e9bbe713e (patch) | |
tree | ae61e46ebac9d8b0857e4a91aca47128b99076f5 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 90134ac9cabb69972d0a509bf08e108a73442184 (diff) |
KVM: arm64: Generate final CTR_EL0 value when running in Protected mode
In protected mode, late CPUs are not allowed to boot (enforced by
the PSCI relay). We can thus specialise the read_ctr macro to
always return a pre-computed, sanitised value. Special care is
taken to prevent the use of this custome version outside of
the protected mode.
Reviewed-by: Quentin Perret <qperret@google.com>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions