Searched refs:SR_SPP (Results 1 – 7 of 7) sorted by relevance
141 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()
378 reg_val = (cntx->sstatus & SR_SPP) ? in kvm_riscv_vcpu_get_reg_core()415 cntx->sstatus |= SR_SPP; in kvm_riscv_vcpu_set_reg_core()417 cntx->sstatus &= ~SR_SPP; in kvm_riscv_vcpu_set_reg_core()
134 cntx->sstatus = SR_SPP | SR_SPIE; in kvm_arch_vcpu_create()226 return (vcpu->arch.guest_context.sstatus & SR_SPP) ? true : false; in kvm_arch_vcpu_in_kernel()
212 kvm_vcpu_on_spin(vcpu, vcpu->arch.guest_context.sstatus & SR_SPP); in wrs_insn()
16 #define SR_SPP _AC(0x00000100, UL) /* Previously Supervisor */ macro456 # define SR_PP SR_SPP
17 #define SR_SPP _AC(0x00000100, UL) /* Previously Supervisor */ macro469 # define SR_PP SR_SPP
219 andi s0, s0, SR_SPP