Home
last modified time | relevance | path

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

/openbmc/linux/arch/arm/mm/
H A Dcontext.c43 static atomic64_t asid_generation = ATOMIC64_INIT(ASID_FIRST_VERSION); variable
193 u64 generation = atomic64_read(&asid_generation); in new_context()
226 &asid_generation); in new_context()
253 if (!((asid ^ atomic64_read(&asid_generation)) >> ASID_BITS) in check_and_switch_context()
260 if ((asid ^ atomic64_read(&asid_generation)) >> ASID_BITS) { in check_and_switch_context()
/openbmc/linux/arch/arm64/mm/
H A Dcontext.c23 static atomic64_t asid_generation; variable
102 (!(((asid) ^ atomic64_read(&asid_generation)) >> asid_bits))
162 u64 generation = atomic64_read(&asid_generation); in new_context()
203 &asid_generation); in new_context()
404 atomic64_set(&asid_generation, ASID_FIRST_VERSION); in asids_init()
/openbmc/linux/arch/x86/kvm/svm/
H A Dsvm.h114 uint64_t asid_generation; member
297 u64 asid_generation; member
H A Dsvm.c637 sd->asid_generation = 1; in svm_hardware_enable()
1354 svm->current_vmcb->asid_generation = 0; in init_vmcb()
2007 ++sd->asid_generation; in new_asid()
2013 svm->current_vmcb->asid_generation = sd->asid_generation; in new_asid()
3581 svm->current_vmcb->asid_generation = 0; in pre_svm_run()
3590 if (svm->current_vmcb->asid_generation != sd->asid_generation) in pre_svm_run()
3949 svm->current_vmcb->asid_generation--; in svm_flush_tlb_asid()