diff options
author | 2024-01-15 05:59:27 +0000 | |
---|---|---|
committer | 2024-01-16 07:14:00 -0800 | |
commit | 5b6048f2ff710196c85ce14373febe8be5115bbe (patch) | |
tree | 5f618b35a76dd50561a6bec9f82c548ba0f344c5 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | riscv: vector: do not pass task_struct into riscv_v_vstate_{save,restore}() (diff) | |
download | wireguard-linux-5b6048f2ff710196c85ce14373febe8be5115bbe.tar.xz wireguard-linux-5b6048f2ff710196c85ce14373febe8be5115bbe.zip |
riscv: vector: use a mask to write vstate_ctrl
riscv_v_ctrl_set() should only touch bits within
PR_RISCV_V_VSTATE_CTRL_MASK. So, use the mask when we really set task's
vstate_ctrl.
Signed-off-by: Andy Chiu <andy.chiu@sifive.com>
Tested-by: Björn Töpel <bjorn@rivosinc.com>
Tested-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
Link: https://lore.kernel.org/r/20240115055929.4736-9-andy.chiu@sifive.com
Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions