/openbmc/linux/tools/testing/selftests/kvm/include/ |
H A D | kvm_util_base.h | 43 typedef uint64_t vm_paddr_t; /* Virtual Machine (Guest) physical address */ typedef 107 vm_paddr_t ucall_mmio_addr; 108 vm_paddr_t pgd; 459 void *addr_gpa2hva(struct kvm_vm *vm, vm_paddr_t gpa); 461 vm_paddr_t addr_hva2gpa(struct kvm_vm *vm, void *hva); 462 void *addr_gpa2alias(struct kvm_vm *vm, vm_paddr_t gpa); 704 vm_paddr_t vm_phy_page_alloc(struct kvm_vm *vm, vm_paddr_t paddr_min, 706 vm_paddr_t vm_phy_pages_alloc(struct kvm_vm *vm, size_t num, 707 vm_paddr_t paddr_min, uint32_t memslot); 708 vm_paddr_t vm_alloc_page_table(struct kvm_vm *vm); [all …]
|
H A D | ucall_common.h | 32 void ucall_arch_init(struct kvm_vm *vm, vm_paddr_t mmio_gpa); 41 void ucall_init(struct kvm_vm *vm, vm_paddr_t mmio_gpa);
|
/openbmc/linux/tools/testing/selftests/kvm/x86_64/ |
H A D | hyperv_extended_hypercalls.c | 18 static void guest_code(vm_paddr_t in_pg_gpa, vm_paddr_t out_pg_gpa, in guest_code()
|
H A D | kvm_clock_test.c | 34 static void guest_main(vm_paddr_t pvti_pa, struct pvclock_vcpu_time_info *pvti) in guest_main() 175 vm_paddr_t pvti_gpa; in main()
|
H A D | hyperv_tlb_flush.c | 67 vm_paddr_t hcall_gpa; 138 static void swap_two_test_pages(vm_paddr_t pte_gva1, vm_paddr_t pte_gva2) in swap_two_test_pages() 206 vm_paddr_t hcall_gpa = data->hcall_gpa; in sender_guest_code() 587 vm_paddr_t gpa; in main()
|
H A D | hyperv_clock.c | 101 static void guest_main(struct ms_hyperv_tsc_page *tsc_page, vm_paddr_t tsc_page_gpa) in guest_main()
|
/openbmc/linux/tools/testing/selftests/kvm/include/x86_64/ |
H A D | ucall.h | 9 static inline void ucall_arch_init(struct kvm_vm *vm, vm_paddr_t mmio_gpa) in ucall_arch_init()
|
/openbmc/linux/tools/testing/selftests/kvm/include/s390x/ |
H A D | ucall.h | 9 static inline void ucall_arch_init(struct kvm_vm *vm, vm_paddr_t mmio_gpa) in ucall_arch_init()
|
/openbmc/linux/tools/testing/selftests/kvm/include/riscv/ |
H A D | ucall.h | 9 static inline void ucall_arch_init(struct kvm_vm *vm, vm_paddr_t mmio_gpa) in ucall_arch_init()
|
/openbmc/linux/tools/testing/selftests/kvm/lib/aarch64/ |
H A D | ucall.c | 11 void ucall_arch_init(struct kvm_vm *vm, vm_paddr_t mmio_gpa) in ucall_arch_init()
|
H A D | processor.c | 198 vm_paddr_t addr_arch_gva2gpa(struct kvm_vm *vm, vm_vaddr_t gva) in addr_arch_gva2gpa()
|
/openbmc/linux/tools/testing/selftests/kvm/lib/s390x/ |
H A D | processor.c | 15 vm_paddr_t paddr; in virt_arch_pgd_alloc() 89 vm_paddr_t addr_arch_gva2gpa(struct kvm_vm *vm, vm_vaddr_t gva) in addr_arch_gva2gpa()
|
/openbmc/linux/tools/testing/selftests/kvm/lib/ |
H A D | kvm_util.c | 1338 vm_paddr_t paddr = vm_phy_pages_alloc(vm, pages, in __vm_vaddr_alloc() 1478 void *addr_gpa2hva(struct kvm_vm *vm, vm_paddr_t gpa) in addr_gpa2hva() 1509 vm_paddr_t addr_hva2gpa(struct kvm_vm *vm, void *hva) in addr_hva2gpa() 1520 return (vm_paddr_t)((uintptr_t) in addr_hva2gpa() 1552 void *addr_gpa2alias(struct kvm_vm *vm, vm_paddr_t gpa) in addr_gpa2alias() 1940 vm_paddr_t vm_phy_pages_alloc(struct kvm_vm *vm, size_t num, in vm_phy_pages_alloc() 1941 vm_paddr_t paddr_min, uint32_t memslot) in vm_phy_pages_alloc() 1980 vm_paddr_t vm_phy_page_alloc(struct kvm_vm *vm, vm_paddr_t paddr_min, in vm_phy_page_alloc() 1986 vm_paddr_t vm_alloc_page_table(struct kvm_vm *vm) in vm_alloc_page_table()
|
H A D | ucall_common.c | 25 void ucall_init(struct kvm_vm *vm, vm_paddr_t mmio_gpa) in ucall_init()
|
H A D | memstress.c | 210 vm_paddr_t region_start = args->gpa + region_pages * args->guest_page_size * i; in memstress_create_vm()
|
/openbmc/linux/tools/testing/selftests/kvm/ |
H A D | kvm_page_table_test.c | 289 host_test_mem = addr_gpa2hva(vm, (vm_paddr_t)guest_test_phys_mem); in pre_init_before_test()
|
H A D | dirty_log_test.c | 768 host_test_mem = addr_gpa2hva(vm, (vm_paddr_t)guest_test_phys_mem); in run_test()
|
/openbmc/linux/tools/testing/selftests/kvm/lib/riscv/ |
H A D | processor.c | 113 vm_paddr_t addr_arch_gva2gpa(struct kvm_vm *vm, vm_vaddr_t gva) in addr_arch_gva2gpa()
|
/openbmc/linux/tools/testing/selftests/kvm/lib/x86_64/ |
H A D | processor.c | 487 vm_paddr_t addr_arch_gva2gpa(struct kvm_vm *vm, vm_vaddr_t gva) in addr_arch_gva2gpa()
|