diff options
author | Pasha Tatashin <[email protected]> | 2021-09-30 14:30:59 +0000 |
---|---|---|
committer | Will Deacon <[email protected]> | 2021-10-01 13:30:59 +0100 |
commit | 094a3684b9b67758ccedf0e6068d90f22f2942d9 (patch) | |
tree | 4cea391b8e1827b9f6e29cc275f3c816b9855f11 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 5816b3e6577eaa676ceb00a848f0fd65fe2adc29 (diff) |
arm64: kernel: add helper for booted at EL2 and not VHE
Replace places that contain logic like this:
is_hyp_mode_available() && !is_kernel_in_hyp_mode()
With a dedicated boolean function is_hyp_nvhe(). This will be needed
later in kexec in order to sooner switch back to EL2.
Suggested-by: James Morse <[email protected]>
Signed-off-by: Pasha Tatashin <[email protected]>
Acked-by: Catalin Marinas <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Will Deacon <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions