diff options
author | Samuel Holland <[email protected]> | 2024-02-27 22:55:35 -0800 |
---|---|---|
committer | Palmer Dabbelt <[email protected]> | 2024-02-29 10:20:18 -0800 |
commit | 05ab803d1ad8ac505ade77c6bd3f86b1b4ea0dc4 (patch) | |
tree | d8b4e6641bbc4ccdcdee992a84b84f0fb46c5293 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 4774848fef6041716a4883217eb75f6b10eb183b (diff) |
riscv: Save/restore envcfg CSR during CPU suspend
The value of the [ms]envcfg CSR is lost when entering a nonretentive
idle state, so the CSR must be rewritten when resuming the CPU.
Cc: <[email protected]> # v6.7+
Fixes: 43c16d51a19b ("RISC-V: Enable cbo.zero in usermode")
Signed-off-by: Samuel Holland <[email protected]>
Reviewed-by: Conor Dooley <[email protected]>
Reviewed-by: Andrew Jones <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Palmer Dabbelt <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions