diff options
author | 2023-08-04 16:56:18 +0300 | |
---|---|---|
committer | 2023-08-08 17:26:05 +0530 | |
commit | 630b4cee9c378e2dbb56ed84f71fc2fac50b716e (patch) | |
tree | a630bb101e1ccf955adabdc17fbab9aae9a492cf /tools/perf/scripts/python/export-to-postgresql.py | |
parent | docs: kvm: riscv: document EBUSY in KVM_SET_ONE_REG (diff) | |
download | wireguard-linux-630b4cee9c378e2dbb56ed84f71fc2fac50b716e.tar.xz wireguard-linux-630b4cee9c378e2dbb56ed84f71fc2fac50b716e.zip |
RISC-V: KVM: Improve vector save/restore functions
Make two nonfunctional changes to the vector get/set vector reg
functions and their supporting function for simplification and
readability. The first is to not pass KVM_REG_RISCV_VECTOR, but
rather integrate it directly into the masking. The second is to
rename reg_val to reg_addr where and address is used instead of
a value.
Also opportunistically touch up some of the code formatting for
a third nonfunctional change.
Signed-off-by: Andrew Jones <ajones@ventanamicro.com>
Reviewed-by: Daniel Henrique Barboza <dbarboza@ventanamicro.com>
Signed-off-by: Anup Patel <anup@brainfault.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions