Home
last modified time | relevance | path

Searched refs:vpid_mask (Results 1 – 2 of 2) sorted by relevance

/linux-6.12.1/arch/loongarch/kvm/
Dmain.c14 unsigned long vpid_mask; variable
202 if (!(vpid & vpid_mask)) { in kvm_update_vpid()
205 vpid = vpid_mask + 1; in kvm_update_vpid()
239 ver = vcpu->arch.vpid & ~vpid_mask; in kvm_check_vpid()
240 old = context->vpid_cache & ~vpid_mask; in kvm_check_vpid()
249 vpid = (vcpu->arch.vpid & vpid_mask) << CSR_GSTAT_GID_SHIFT; in kvm_check_vpid()
250 change_csr_gstat(vpid_mask << CSR_GSTAT_GID_SHIFT, vpid); in kvm_check_vpid()
358 vpid_mask = read_csr_gstat(); in kvm_loongarch_env_init()
359 vpid_mask = (vpid_mask & CSR_GSTAT_GIDBIT) >> CSR_GSTAT_GIDBIT_SHIFT; in kvm_loongarch_env_init()
360 if (vpid_mask) in kvm_loongarch_env_init()
[all …]
/linux-6.12.1/arch/loongarch/include/asm/
Dkvm_host.h319 extern unsigned long vpid_mask;