diff options
author | Jesse Taube <[email protected]> | 2024-07-09 13:39:37 -0400 |
---|---|---|
committer | Palmer Dabbelt <[email protected]> | 2024-08-05 12:06:41 -0700 |
commit | 945302df3de156fc367d3b537cec76d4aea0b0d1 (patch) | |
tree | c04368392031c8ed89fffbad0d54ef80342d7e72 /tools/perf/scripts/python/parallel-perf.py | |
parent | b3311827155aca72498b8a0dfd0f2499b70d39b8 (diff) |
RISC-V: Use Zkr to seed KASLR base address
Parse the device tree for Zkr in the isa string.
If Zkr is present, use it to seed the kernel base address.
On an ACPI system, as of this commit, there is no easy way to check if
Zkr is present. Blindly running the instruction isn't an option as;
we have to be able to trust the firmware.
Signed-off-by: Jesse Taube <[email protected]>
Reviewed-by: Charlie Jenkins <[email protected]>
Reviewed-by: Alexandre Ghiti <[email protected]>
Tested-by: Zong Li <[email protected]>
Reviewed-by: Conor Dooley <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Palmer Dabbelt <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/parallel-perf.py')
0 files changed, 0 insertions, 0 deletions