Home
last modified time | relevance | path

Searched refs:vsstatus (Results 1 – 3 of 3) sorted by relevance

/linux-5.19.10/arch/riscv/kvm/
Dvcpu_exit.c577 unsigned long vsstatus = csr_read(CSR_VSSTATUS); in kvm_riscv_vcpu_trap_redirect() local
580 vsstatus &= ~SR_SPP; in kvm_riscv_vcpu_trap_redirect()
582 vsstatus |= SR_SPP; in kvm_riscv_vcpu_trap_redirect()
585 vsstatus &= ~SR_SPIE; in kvm_riscv_vcpu_trap_redirect()
586 if (vsstatus & SR_SIE) in kvm_riscv_vcpu_trap_redirect()
587 vsstatus |= SR_SPIE; in kvm_riscv_vcpu_trap_redirect()
590 vsstatus &= ~SR_SIE; in kvm_riscv_vcpu_trap_redirect()
593 csr_write(CSR_VSSTATUS, vsstatus); in kvm_riscv_vcpu_trap_redirect()
Dvcpu.c736 csr_write(CSR_VSSTATUS, csr->vsstatus); in kvm_arch_vcpu_load()
767 csr->vsstatus = csr_read(CSR_VSSTATUS); in kvm_arch_vcpu_put()
/linux-5.19.10/arch/riscv/include/asm/
Dkvm_host.h153 unsigned long vsstatus; member