Home
last modified time | relevance | path

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

/linux-6.6.21/arch/x86/kvm/svm/
Davic.c44 #define AVIC_VM_ID_MASK (GENMASK(31, AVIC_VM_ID_SHIFT) >> AVIC_VM_ID_SHIFT) macro
46 #define AVIC_GATAG_TO_VMID(x) ((x >> AVIC_VM_ID_SHIFT) & AVIC_VM_ID_MASK)
49 #define __AVIC_GATAG(vm_id, vcpu_id) ((((vm_id) & AVIC_VM_ID_MASK) << AVIC_VM_ID_SHIFT) | \
60 static_assert(__AVIC_GATAG(AVIC_VM_ID_MASK, AVIC_VCPU_ID_MASK) == -1u);
221 vm_id = next_vm_id = (next_vm_id + 1) & AVIC_VM_ID_MASK; in avic_vm_init()