Home
last modified time | relevance | path

Searched refs:vmid_version (Results 1 - 2 of 2) sorted by relevance

/kernel/linux/linux-6.6/arch/riscv/kvm/
H A Dvmid.c18 static unsigned long vmid_version = 1; variable
51 kvm->arch.vmid.vmid_version = 0; in kvm_riscv_gstage_vmid_init()
62 return unlikely(READ_ONCE(vmid->vmid_version) != in kvm_riscv_gstage_vmid_ver_changed()
63 READ_ONCE(vmid_version)); in kvm_riscv_gstage_vmid_ver_changed()
83 * We need to re-check the vmid_version here to ensure that if in kvm_riscv_gstage_vmid_update()
93 WRITE_ONCE(vmid_version, READ_ONCE(vmid_version) + 1); in kvm_riscv_gstage_vmid_update()
97 * We ran out of VMIDs so we increment vmid_version and in kvm_riscv_gstage_vmid_update()
117 WRITE_ONCE(vmid->vmid_version, READ_ONCE(vmid_version)); in kvm_riscv_gstage_vmid_update()
[all...]
/kernel/linux/linux-6.6/arch/riscv/include/asm/
H A Dkvm_host.h84 * Writes to vmid_version and vmid happen with vmid_lock held
87 unsigned long vmid_version; member

Completed in 2 milliseconds