Lines Matching full:vs
44 * 1) Hardware: IMSIC VS-file (vsfile_cpu >= 0)
48 /* IMSIC VS-file */
426 /* We can only read clear if we have a IMSIC VS-file */ in imsic_vsfile_read()
496 /* We can only access register if we have a IMSIC VS-file */ in imsic_vsfile_rw()
524 /* We can only zero-out if we have a IMSIC VS-file */ in imsic_vsfile_local_clear()
686 /* Read and clear IMSIC VS-file details */ in kvm_riscv_vcpu_aia_imsic_release()
695 /* Do nothing, if no IMSIC VS-file to release */ in kvm_riscv_vcpu_aia_imsic_release()
701 * the old IMSIC VS-file so we first re-direct all interrupt in kvm_riscv_vcpu_aia_imsic_release()
715 * VS-file to the IMSIC SW-file. in kvm_riscv_vcpu_aia_imsic_release()
718 /* Read and clear register state from old IMSIC VS-file */ in kvm_riscv_vcpu_aia_imsic_release()
726 /* Free-up old IMSIC VS-file */ in kvm_riscv_vcpu_aia_imsic_release()
746 /* Read old IMSIC VS-file details */ in kvm_riscv_vcpu_aia_imsic_update()
756 /* Allocate new IMSIC VS-file */ in kvm_riscv_vcpu_aia_imsic_update()
769 /* Release old IMSIC VS-file */ in kvm_riscv_vcpu_aia_imsic_update()
780 * to the old IMSIC VS-file so we first move all interrupt in kvm_riscv_vcpu_aia_imsic_update()
781 * producers to the new IMSIC VS-file. in kvm_riscv_vcpu_aia_imsic_update()
784 /* Zero-out new IMSIC VS-file */ in kvm_riscv_vcpu_aia_imsic_update()
787 /* Update G-stage mapping for the new IMSIC VS-file */ in kvm_riscv_vcpu_aia_imsic_update()
796 /* Update new IMSIC VS-file details in IMSIC context */ in kvm_riscv_vcpu_aia_imsic_update()
806 * to the new IMSIC VS-file so we move register state from in kvm_riscv_vcpu_aia_imsic_update()
807 * the old IMSIC VS/SW-file to the new IMSIC VS-file. in kvm_riscv_vcpu_aia_imsic_update()
812 /* Read and clear register state from old IMSIC VS-file */ in kvm_riscv_vcpu_aia_imsic_update()
816 /* Free-up old IMSIC VS-file */ in kvm_riscv_vcpu_aia_imsic_update()
823 /* Restore register state in the new IMSIC VS-file */ in kvm_riscv_vcpu_aia_imsic_update()
827 /* Set VCPU HSTATUS.VGEIN to new IMSIC VS-file */ in kvm_riscv_vcpu_aia_imsic_update()