Home
last modified time | relevance | path

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

/linux/tools/testing/selftests/kvm/lib/x86/ !
H A Dsvm.c49 if (vm->stage2_mmu.pgd_created) in vcpu_alloc_svm()
50 svm->ncr3_gpa = vm->stage2_mmu.pgd; in vcpu_alloc_svm()
H A Dvmx.c119 if (vm->stage2_mmu.pgd_created) in vcpu_alloc_vmx()
120 vmx->eptp_gpa = vm->stage2_mmu.pgd; in vcpu_alloc_vmx()
H A Dprocessor.c201 TEST_ASSERT(!vm->stage2_mmu.pgtable_levels, "TDP MMU already initialized"); in tdp_mmu_init()
203 vm->stage2_mmu.pgtable_levels = pgtable_levels; in tdp_mmu_init()
204 virt_mmu_init(vm, &vm->stage2_mmu, pte_masks); in tdp_mmu_init()
398 return __vm_get_page_table_entry(vm, &vm->stage2_mmu, l2_gpa, &level); in tdp_get_pte()
509 __virt_pg_map(vm, &vm->stage2_mmu, nested_paddr, paddr, level); in __tdp_map()
/linux/tools/testing/selftests/kvm/x86/ !
H A Dnested_dirty_log_test.c252 *tdp_get_pte(vm, TEST_ALIAS_GPA(0)) |= PTE_DIRTY_MASK(&vm->stage2_mmu); in test_dirty_log()
253 *tdp_get_pte(vm, TEST_ALIAS_GPA(1)) |= PTE_DIRTY_MASK(&vm->stage2_mmu); in test_dirty_log()
/linux/tools/testing/selftests/kvm/include/ !
H A Dkvm_util.h124 struct kvm_mmu stage2_mmu; member