diff options
author | Anup Patel <apatel@ventanamicro.com> | 2022-01-31 09:29:44 +0300 |
---|---|---|
committer | Anup Patel <anup@brainfault.org> | 2022-03-11 16:32:37 +0300 |
commit | c9d3b5bd2693a17f078b1d8bdca440db5baa458c (patch) | |
tree | 5a84d67ff39189b70f503d1acd5a18002e651909 /tools/perf/scripts/python | |
parent | c38ff47bf094dc776ad4b586e47c4a7077a94f28 (diff) | |
download | linux-c9d3b5bd2693a17f078b1d8bdca440db5baa458c.tar.xz |
RISC-V: KVM: Add common kvm_riscv_vcpu_wfi() function
The wait for interrupt (WFI) instruction emulation can share the VCPU
halt logic with SBI HSM suspend emulation so this patch adds a common
kvm_riscv_vcpu_wfi() function for this purpose.
Signed-off-by: Anup Patel <apatel@ventanamicro.com>
Reviewed-by: Atish Patra <atishp@rivosinc.com>
Signed-off-by: Anup Patel <anup@brainfault.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions