aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorAlexandre Ghiti <[email protected]>2021-12-06 11:46:56 +0100
committerPalmer Dabbelt <[email protected]>2022-06-01 21:46:23 -0700
commit35d33c76d68dfacc330a8eb477b51cc647c5a847 (patch)
tree60dedb666a8c39534bb147af6edf058e60b8a17d /tools/perf/scripts/python/export-to-sqlite.py
parent9d19f2b5256ef6cdd4947b48fab4032d0060e916 (diff)
riscv: Initialize thread pointer before calling C functions
Because of the stack canary feature that reads from the current task structure the stack canary value, the thread pointer register "tp" must be set before calling any C function from head.S: by chance, setup_vm and all the functions that it calls does not seem to be part of the functions where the canary check is done, but in the following commits, some functions will. Fixes: f2c9699f65557a31 ("riscv: Add STACKPROTECTOR supported") Signed-off-by: Alexandre Ghiti <[email protected]> Cc: [email protected] Signed-off-by: Palmer Dabbelt <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions