Searched refs:vsstatus (Results 1 – 3 of 3) sorted by relevance
577 unsigned long vsstatus = csr_read(CSR_VSSTATUS); in kvm_riscv_vcpu_trap_redirect() local580 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()
736 csr_write(CSR_VSSTATUS, csr->vsstatus); in kvm_arch_vcpu_load()767 csr->vsstatus = csr_read(CSR_VSSTATUS); in kvm_arch_vcpu_put()
153 unsigned long vsstatus; member