diff options
| author | Anup Patel <[email protected]> | 2022-01-31 06:29:44 +0000 |
|---|---|---|
| committer | Anup Patel <[email protected]> | 2022-03-11 13:32:37 +0000 |
| commit | c9d3b5bd2693a17f078b1d8bdca440db5baa458c (patch) | |
| tree | 5a84d67ff39189b70f503d1acd5a18002e651909 /drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c | |
| parent | RISC-V: Add SBI HSM suspend related defines (diff) | |
| download | kernel-c9d3b5bd2693a17f078b1d8bdca440db5baa458c.tar.gz kernel-c9d3b5bd2693a17f078b1d8bdca440db5baa458c.zip | |
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 <[email protected]>
Reviewed-by: Atish Patra <[email protected]>
Signed-off-by: Anup Patel <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c')
0 files changed, 0 insertions, 0 deletions
