Home
last modified time | relevance | path

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

/tools/testing/selftests/kvm/lib/
Dkvm_util.c152 vm->va_bits = 48; in _vm_create()
159 vm->va_bits = 48; in _vm_create()
166 vm->va_bits = 48; in _vm_create()
173 vm->va_bits = 48; in _vm_create()
180 vm->va_bits = 48; in _vm_create()
187 vm->va_bits = 48; in _vm_create()
193 kvm_get_cpu_address_width(&vm->pa_bits, &vm->va_bits); in _vm_create()
194 TEST_ASSERT(vm->va_bits == 48, "Linear address width " in _vm_create()
195 "(%d bits) not supported", vm->va_bits); in _vm_create()
220 0, (1ULL << (vm->va_bits - 1)) >> vm->page_shift); in _vm_create()
[all …]
Dkvm_util_internal.h53 unsigned int va_bits; member
/tools/testing/selftests/kvm/lib/aarch64/
Dprocessor.c27 uint64_t mask = (1UL << (vm->va_bits - shift)) - 1; in pgd_index()
62 uint64_t mask = ((1UL << (vm->va_bits - vm->page_shift)) - 1) << vm->page_shift; in pte_addr()
69 return 1 << (vm->va_bits - shift); in ptrs_per_pgd()
297 tcr_el1 |= (64 - vm->va_bits) /* T0SZ */; in aarch64_vcpu_setup()
Ducall.c54 bits = vm->va_bits - 1; in ucall_init()
/tools/testing/selftests/kvm/lib/x86_64/
Dprocessor.c1167 void kvm_get_cpu_address_width(unsigned int *pa_bits, unsigned int *va_bits) in kvm_get_cpu_address_width() argument
1176 *va_bits = 32; in kvm_get_cpu_address_width()
1180 *va_bits = (entry->eax >> 8) & 0xff; in kvm_get_cpu_address_width()
/tools/testing/selftests/kvm/include/x86_64/
Dprocessor.h329 void kvm_get_cpu_address_width(unsigned int *pa_bits, unsigned int *va_bits);