Home
last modified time | relevance | path

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

/linux-6.1.9/tools/testing/selftests/kvm/aarch64/
Dvgic_init.c693 int pa_bits; in main() local
696 pa_bits = vm_guest_mode_params[VM_MODE_DEFAULT].pa_bits; in main()
697 max_phys_size = 1ULL << pa_bits; in main()
/linux-6.1.9/tools/testing/selftests/kvm/lib/x86_64/
Dprocessor.c255 if (vm->pa_bits < 52) in _vm_get_page_table_entry()
256 rsvd_mask = GENMASK_ULL(51, vm->pa_bits); in _vm_get_page_table_entry()
1060 void kvm_get_cpu_address_width(unsigned int *pa_bits, unsigned int *va_bits) in kvm_get_cpu_address_width() argument
1068 *pa_bits = pae ? 36 : 32; in kvm_get_cpu_address_width()
1072 *pa_bits = entry->eax & 0xff; in kvm_get_cpu_address_width()
1270 max_gfn = (1ULL << (vm->pa_bits - vm->page_shift)) - 1; in vm_compute_max_gfn()
1277 if (vm->pa_bits < 40) in vm_compute_max_gfn()
/linux-6.1.9/tools/testing/selftests/kvm/lib/aarch64/
Ducall.c54 bits = min(vm->pa_bits, bits); in ucall_init()
/linux-6.1.9/tools/testing/selftests/kvm/lib/
Dkvm_util.c206 vm->pa_bits = vm_guest_mode_params[mode].pa_bits; in ____vm_create()
243 kvm_get_cpu_address_width(&vm->pa_bits, &vm->va_bits); in ____vm_create()
253 vm->pa_bits); in ____vm_create()
271 if (vm->pa_bits != 40) in ____vm_create()
272 vm->type = KVM_VM_TYPE_ARM_IPA_SIZE(vm->pa_bits); in ____vm_create()
1872 return ((1ULL << vm->pa_bits) >> vm->page_shift) - 1; in vm_compute_max_gfn()
/linux-6.1.9/arch/alpha/include/asm/
Dhwrpb.h171 unsigned long pa_bits; /* number of physical address bits */ member
Dio.h82 phys &= (1ul << hwrpb->pa_bits) - 1; in virt_to_phys()
/linux-6.1.9/tools/testing/selftests/kvm/include/
Dkvm_util_base.h75 unsigned int pa_bits; member
169 unsigned int pa_bits; member
/linux-6.1.9/tools/testing/selftests/kvm/include/x86_64/
Dprocessor.h736 void kvm_get_cpu_address_width(unsigned int *pa_bits, unsigned int *va_bits);
/linux-6.1.9/arch/alpha/kernel/
Dsetup.c1192 hwrpb->pa_bits, in show_cpuinfo()