aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorSamuel Holland <[email protected]>2024-08-14 01:10:56 -0700
committerPalmer Dabbelt <[email protected]>2024-10-05 08:51:15 -0700
commit368546ebe7e74cb6e18f17768533ab7077392a8c (patch)
tree2c724d5e18243f5e65a1a2d2d783c2ac15b69af6 /tools/perf/scripts/python
parent5fc7355f01376e69964bb21b685025b042c37acc (diff)
riscv: Call riscv_user_isa_enable() only on the boot hart
Now that the [ms]envcfg CSR value is maintained per thread, not per hart, riscv_user_isa_enable() only needs to be called once during boot, to set the value for the init task. This also allows it to be marked as __init. Reviewed-by: Andrew Jones <[email protected]> Reviewed-by: Conor Dooley <[email protected]> Reviewed-by: Deepak Gupta <[email protected]> Signed-off-by: Samuel Holland <[email protected]> Reviewed-by: Charlie Jenkins <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Palmer Dabbelt <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions