diff options
author | Vincent Chen <[email protected]> | 2023-06-05 11:07:16 +0000 |
---|---|---|
committer | Palmer Dabbelt <[email protected]> | 2023-06-08 07:16:51 -0700 |
commit | 0f4b82579716b12bb88257bd7ea80f25c791fb2c (patch) | |
tree | 067c4d467c13e5cf20f552ca40aebcc861201c32 /scripts/clang-tools/gen_compile_commands.py | |
parent | bf78f1ea6e5108a7ebd55be0853f0716433117a9 (diff) |
riscv: KVM: Add vector lazy save/restore support
This patch adds vector context save/restore for guest VCPUs. To reduce the
impact on KVM performance, the implementation imitates the FP context
switch mechanism to lazily store and restore the vector context only when
the kernel enters/exits the in-kernel run loop and not during the KVM
world switch.
Signed-off-by: Vincent Chen <[email protected]>
Signed-off-by: Greentime Hu <[email protected]>
Signed-off-by: Andy Chiu <[email protected]>
Reviewed-by: Anup Patel <[email protected]>
Acked-by: Anup Patel <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Palmer Dabbelt <[email protected]>
Diffstat (limited to 'scripts/clang-tools/gen_compile_commands.py')
0 files changed, 0 insertions, 0 deletions