Home
last modified time | relevance | path

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

/linux-6.6.21/arch/riscv/kvm/
Dvcpu_exit.c141 vsstatus &= ~SR_SPP; in kvm_riscv_vcpu_trap_redirect()
142 if (vcpu->arch.guest_context.sstatus & SR_SPP) in kvm_riscv_vcpu_trap_redirect()
143 vsstatus |= SR_SPP; in kvm_riscv_vcpu_trap_redirect()
165 vcpu->arch.guest_context.sstatus |= SR_SPP; in kvm_riscv_vcpu_trap_redirect()
Dvcpu_onereg.c294 reg_val = (cntx->sstatus & SR_SPP) ? in kvm_riscv_vcpu_get_reg_core()
331 cntx->sstatus |= SR_SPP; in kvm_riscv_vcpu_set_reg_core()
333 cntx->sstatus &= ~SR_SPP; in kvm_riscv_vcpu_set_reg_core()
Dvcpu.c121 cntx->sstatus = SR_SPP | SR_SPIE; in kvm_arch_vcpu_create()
206 return (vcpu->arch.guest_context.sstatus & SR_SPP) ? true : false; in kvm_arch_vcpu_in_kernel()
/linux-6.6.21/arch/riscv/include/asm/
Dcsr.h17 #define SR_SPP _AC(0x00000100, UL) /* Previously Supervisor */ macro
439 # define SR_PP SR_SPP
/linux-6.6.21/arch/riscv/kernel/
Dentry.S122 andi s0, s0, SR_SPP