diff options
author | Samuel Holland <[email protected]> | 2024-02-27 22:55:33 -0800 |
---|---|---|
committer | Palmer Dabbelt <[email protected]> | 2024-02-29 10:20:16 -0800 |
commit | 3fb3f7164edc467450e650dca51dbe4823315a56 (patch) | |
tree | 0389030fbd3a9d8adf5b9448c55115caa05b6603 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 6613476e225e090cc9aad49be7fa504e290dd33d (diff) |
riscv: Fix enabling cbo.zero when running in M-mode
When the kernel is running in M-mode, the CBZE bit must be set in the
menvcfg CSR, not in senvcfg.
Cc: <[email protected]>
Fixes: 43c16d51a19b ("RISC-V: Enable cbo.zero in usermode")
Reviewed-by: Andrew Jones <[email protected]>
Signed-off-by: Samuel Holland <[email protected]>
Reviewed-by: Conor Dooley <[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