diff options
| author | Alexandre Ghiti <[email protected]> | 2023-07-22 12:38:50 +0000 |
|---|---|---|
| committer | Palmer Dabbelt <[email protected]> | 2023-09-06 02:49:31 +0000 |
| commit | b7ac4b8ee73d4fec0998664c9dd61f089d481044 (patch) | |
| tree | 2cac0600d5be537d83ded5db31188abdf46f0f2e /tools/perf/scripts/python/intel-pt-events.py | |
| parent | libstub: Fix compilation warning for rv32 (diff) | |
| download | kernel-b7ac4b8ee73d4fec0998664c9dd61f089d481044.tar.gz kernel-b7ac4b8ee73d4fec0998664c9dd61f089d481044.zip | |
riscv: libstub: Implement KASLR by using generic functions
We can now use arm64 functions to handle the move of the kernel physical
mapping: if KASLR is enabled, we will try to get a random seed from the
firmware, if not possible, the kernel will be moved to a location that
suits its alignment constraints.
Signed-off-by: Alexandre Ghiti <[email protected]>
Tested-by: Conor Dooley <[email protected]>
Tested-by: Song Shuai <[email protected]>
Reviewed-by: Sami Tolvanen <[email protected]>
Tested-by: Sami Tolvanen <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Palmer Dabbelt <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/intel-pt-events.py')
0 files changed, 0 insertions, 0 deletions
