diff options
| author | Qing Zhang <[email protected]> | 2023-09-06 14:54:16 +0000 |
|---|---|---|
| committer | Huacai Chen <[email protected]> | 2023-09-06 14:54:16 +0000 |
| commit | 9fbcc076798ead2af28c854a265d9da83bec8429 (patch) | |
| tree | e6a28a961e50a2a2219f101b1c9cf62310cdcbe1 /tools/perf/scripts/python | |
| parent | kasan: Add (pmd|pud)_init for LoongArch zero_(pud|p4d)_populate process (diff) | |
| download | kernel-9fbcc076798ead2af28c854a265d9da83bec8429.tar.gz kernel-9fbcc076798ead2af28c854a265d9da83bec8429.zip | |
LoongArch: Simplify the processing of jumping new kernel for KASLR
Modified relocate_kernel() doesn't return new kernel's entry point but
the random_offset. In this way we share the start_kernel() processing
with the normal kernel, which avoids calling 'jr a0' directly and allows
some other operations (e.g, kasan_early_init) before start_kernel() when
KASLR (CONFIG_RANDOMIZE_BASE) is turned on.
Signed-off-by: Qing Zhang <[email protected]>
Signed-off-by: Huacai Chen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
