Home
last modified time | relevance | path

Searched refs:vmid (Results 1 – 18 of 18) sorted by relevance

/arch/arm64/include/asm/
Dkvm_mmu.h269 struct kvm_vmid *vmid = &mmu->vmid; in kvm_get_vttbr() local
274 vmid_field = (u64)READ_ONCE(vmid->vmid) << VTTBR_VMID_SHIFT; in kvm_get_vttbr()
Dkvm_host.h133 u32 vmid; member
137 struct kvm_vmid vmid; member
/arch/arm64/kvm/
Darm.c649 static bool need_new_vmid_gen(struct kvm_vmid *vmid) in need_new_vmid_gen() argument
653 return unlikely(READ_ONCE(vmid->vmid_gen) != current_vmid_gen); in need_new_vmid_gen()
660 static void update_vmid(struct kvm_vmid *vmid) in update_vmid() argument
662 if (!need_new_vmid_gen(vmid)) in update_vmid()
672 if (!need_new_vmid_gen(vmid)) { in update_vmid()
696 WRITE_ONCE(vmid->vmid, kvm_next_vmid); in update_vmid()
701 WRITE_ONCE(vmid->vmid_gen, atomic64_read(&kvm_vmid_gen)); in update_vmid()
894 need_new_vmid_gen(&vcpu->arch.hw_mmu->vmid) || in kvm_vcpu_exit_request()
956 update_vmid(&vcpu->arch.hw_mmu->vmid); in kvm_arch_vcpu_ioctl_run()
Dmmu.c724 WRITE_ONCE(mmu->vmid.vmid_gen, 0); in kvm_init_stage2_mmu()
/arch/riscv/include/asm/
Dsbi.h122 unsigned long vmid);
/arch/arm64/kvm/hyp/nvhe/
Dpkvm.c533 int vmid; in insert_shadow_table() local
560 vmid = next_shadow_alloc + 1; in insert_shadow_table()
561 if (vmid > 0xff) in insert_shadow_table()
564 mmu->vmid.vmid = vmid; in insert_shadow_table()
565 mmu->vmid.vmid_gen = 0; in insert_shadow_table()
Dmem_protect.c34 return vcpu->arch.hw_mmu->vmid.vmid; in pkvm_guest_id()
173 WRITE_ONCE(mmu->vmid.vmid_gen, 0); in kvm_host_prepare_stage2()
174 WRITE_ONCE(mmu->vmid.vmid, 0); in kvm_host_prepare_stage2()
/arch/riscv/kernel/
Dsbi.c457 unsigned long vmid) in sbi_remote_hfence_gvma_vmid() argument
460 hart_mask, start, size, vmid, 0); in sbi_remote_hfence_gvma_vmid()
/arch/x86/kvm/
Dtrace.h1420 TP_PROTO(u32 vmid, u32 vcpuid),
1421 TP_ARGS(vmid, vcpuid),
1424 __field(u32, vmid)
1429 __entry->vmid = vmid;
1434 __entry->vmid, __entry->vcpuid)
/arch/arm64/boot/dts/qcom/
Dsdm845-xiaomi-beryllium.dts108 qcom,vmid = <15>;
Dsdm845-oneplus-common.dtsi73 qcom,vmid = <15>;
Dsm8350.dtsi304 qcom,vmid = <15>;
Dmsm8998.dtsi58 qcom,vmid = <15>;
Dsdm630.dtsi362 qcom,vmid = <15>;
Dmsm8996.dtsi468 qcom,vmid = <15>;
Dsm8150.dtsi706 qcom,vmid = <15>;
Dsc7180.dtsi124 qcom,vmid = <15>;
Dsdm845.dtsi118 qcom,vmid = <15>;