Home
last modified time | relevance | path

Searched refs:sstatus (Results 1 – 9 of 9) sorted by relevance

/arch/riscv/kvm/
Dvcpu_fp.c21 cntx->sstatus &= ~SR_FS; in kvm_riscv_vcpu_fp_reset()
24 cntx->sstatus |= SR_FS_INITIAL; in kvm_riscv_vcpu_fp_reset()
26 cntx->sstatus |= SR_FS_OFF; in kvm_riscv_vcpu_fp_reset()
31 cntx->sstatus &= ~SR_FS; in kvm_riscv_vcpu_fp_clean()
32 cntx->sstatus |= SR_FS_CLEAN; in kvm_riscv_vcpu_fp_clean()
38 if ((cntx->sstatus & SR_FS) == SR_FS_DIRTY) { in kvm_riscv_vcpu_guest_fp_save()
50 if ((cntx->sstatus & SR_FS) != SR_FS_OFF) { in kvm_riscv_vcpu_guest_fp_restore()
Dvcpu_vector.c24 cntx->sstatus &= ~SR_VS; in kvm_riscv_vcpu_vector_reset()
26 cntx->sstatus |= SR_VS_INITIAL; in kvm_riscv_vcpu_vector_reset()
30 cntx->sstatus |= SR_VS_OFF; in kvm_riscv_vcpu_vector_reset()
36 cntx->sstatus &= ~SR_VS; in kvm_riscv_vcpu_vector_clean()
37 cntx->sstatus |= SR_VS_CLEAN; in kvm_riscv_vcpu_vector_clean()
43 if ((cntx->sstatus & SR_VS) == SR_VS_DIRTY) { in kvm_riscv_vcpu_guest_vector_save()
53 if ((cntx->sstatus & SR_VS) != SR_VS_OFF) { in kvm_riscv_vcpu_guest_vector_restore()
Dvcpu_exit.c142 if (vcpu->arch.guest_context.sstatus & SR_SPP) in kvm_riscv_vcpu_trap_redirect()
165 vcpu->arch.guest_context.sstatus |= SR_SPP; in kvm_riscv_vcpu_trap_redirect()
216 vcpu->arch.guest_context.sstatus, in kvm_riscv_vcpu_exit()
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()
/arch/mips/include/asm/octeon/
Dcvmx-pow.h320 } sstatus; member
1266 load_addr.sstatus.mem_region = CVMX_IO_SEG; in cvmx_pow_get_current_tag()
1267 load_addr.sstatus.is_io = 1; in cvmx_pow_get_current_tag()
1268 load_addr.sstatus.did = CVMX_OCT_DID_TAG_TAG1; in cvmx_pow_get_current_tag()
1269 load_addr.sstatus.coreid = cvmx_get_core_num(); in cvmx_pow_get_current_tag()
1270 load_addr.sstatus.get_cur = 1; in cvmx_pow_get_current_tag()
1292 load_addr.sstatus.mem_region = CVMX_IO_SEG; in cvmx_pow_get_current_wqp()
1293 load_addr.sstatus.is_io = 1; in cvmx_pow_get_current_wqp()
1294 load_addr.sstatus.did = CVMX_OCT_DID_TAG_TAG1; in cvmx_pow_get_current_wqp()
1295 load_addr.sstatus.coreid = cvmx_get_core_num(); in cvmx_pow_get_current_wqp()
[all …]
/arch/riscv/include/uapi/asm/
Dkvm.h73 unsigned long sstatus; member
/arch/riscv/include/asm/
Dkvm_host.h148 unsigned long sstatus; member
/arch/riscv/kernel/
Dasm-offsets.c158 OFFSET(KVM_ARCH_GUEST_SSTATUS, kvm_vcpu_arch, guest_context.sstatus); in asm_offsets()
195 OFFSET(KVM_ARCH_HOST_SSTATUS, kvm_vcpu_arch, host_context.sstatus); in asm_offsets()