Home
last modified time | relevance | path

Searched refs:SR_SPP (Results 1 – 4 of 4) sorted by relevance

/linux-5.19.10/arch/riscv/kvm/ !
Dvcpu.c115 cntx->sstatus = SR_SPP | SR_SPIE; in kvm_arch_vcpu_create()
179 return (vcpu->arch.guest_context.sstatus & SR_SPP) ? true : false; in kvm_arch_vcpu_in_kernel()
271 reg_val = (cntx->sstatus & SR_SPP) ? in kvm_riscv_vcpu_get_reg_core()
308 cntx->sstatus |= SR_SPP; in kvm_riscv_vcpu_set_reg_core()
310 cntx->sstatus &= ~SR_SPP; in kvm_riscv_vcpu_set_reg_core()
Dvcpu_exit.c580 vsstatus &= ~SR_SPP; in kvm_riscv_vcpu_trap_redirect()
581 if (vcpu->arch.guest_context.sstatus & SR_SPP) in kvm_riscv_vcpu_trap_redirect()
582 vsstatus |= SR_SPP; in kvm_riscv_vcpu_trap_redirect()
/linux-5.19.10/arch/riscv/include/asm/ !
Dcsr.h17 #define SR_SPP _AC(0x00000100, UL) /* Previously Supervisor */ macro
308 # define SR_PP SR_SPP
/linux-5.19.10/arch/riscv/kernel/ !
Dentry.S262 andi s0, s0, SR_SPP