Home
last modified time | relevance | path

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

/linux-6.1.9/arch/riscv/kvm/
Dtlb.c91 hgatp = csr_swap(CSR_HGATP, vmid << HGATP_VMID_SHIFT); in kvm_riscv_local_hfence_vvma_asid_gva()
113 hgatp = csr_swap(CSR_HGATP, vmid << HGATP_VMID_SHIFT); in kvm_riscv_local_hfence_vvma_asid_all()
131 hgatp = csr_swap(CSR_HGATP, vmid << HGATP_VMID_SHIFT); in kvm_riscv_local_hfence_vvma_gva()
152 hgatp = csr_swap(CSR_HGATP, vmid << HGATP_VMID_SHIFT); in kvm_riscv_local_hfence_vvma_all()
Dvcpu_exit.c70 old_hstatus = csr_swap(CSR_HSTATUS, vcpu->arch.guest_context.hstatus); in kvm_riscv_vcpu_unpriv_read()
71 old_stvec = csr_swap(CSR_STVEC, (ulong)&__kvm_riscv_unpriv_trap); in kvm_riscv_vcpu_unpriv_read()
/linux-6.1.9/arch/riscv/include/asm/
Dcsr.h346 #define csr_swap(csr, val) \ macro
/linux-6.1.9/arch/riscv/mm/
Dinit.c784 hw_satp = csr_swap(CSR_SATP, 0ULL); in set_satp_mode()