aboutsummaryrefslogtreecommitdiff
path: root/scripts/generate_rust_analyzer.py
diff options
context:
space:
mode:
authorSamuel Holland <[email protected]>2023-02-11 20:15:32 -0600
committerPalmer Dabbelt <[email protected]>2023-02-14 16:10:35 -0800
commitbfd6fc5d80145e12d0ffa144c4bad89b8f9ddc5a (patch)
tree67f1bd7b948267de073d13c40d669a177af86bb9 /scripts/generate_rust_analyzer.py
parent5f365c133b83a584953179fc771cf131668e82ee (diff)
riscv: Fix early alternative patching
Now that the text to patch is located using a relative offset from the alternative entry, the text address should be computed without applying the kernel mapping offset, both before and after VM setup. Fixes: 8d23e94a4433 ("riscv: switch to relative alternative entries") Signed-off-by: Samuel Holland <[email protected]> Reviewed-by: Conor Dooley <[email protected]> Reviewed-by: Guo Ren <[email protected]> Reviewed-by: Jisheng Zhang <[email protected]> Tested-by: Conor Dooley <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Palmer Dabbelt <[email protected]>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions