Home
last modified time | relevance | path

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

/openbmc/linux/arch/arm64/kvm/hyp/
H A Dpgtable.c129 if (level == KVM_PGTABLE_MAX_LEVELS - 1) in kvm_pte_table()
160 u64 type = (level == KVM_PGTABLE_MAX_LEVELS - 1) ? KVM_PTE_TYPE_PAGE : in kvm_init_valid_leaf_pte()
280 if (WARN_ON_ONCE(level >= KVM_PGTABLE_MAX_LEVELS)) in __kvm_pgtable_walk()
470 if (WARN_ON(ctx->level == KVM_PGTABLE_MAX_LEVELS - 1)) in hyp_map_walker()
573 pgt->start_level = KVM_PGTABLE_MAX_LEVELS - levels; in kvm_pgtable_hyp_init()
912 if (data->force_pte && (ctx->level < (KVM_PGTABLE_MAX_LEVELS - 1))) in stage2_leaf_mapping_allowed()
991 if (WARN_ON(ctx->level == KVM_PGTABLE_MAX_LEVELS - 1)) in stage2_map_walk_leaf()
1428 level >= KVM_PGTABLE_MAX_LEVELS); in stage2_block_get_nr_page_tables()
1447 if (level == KVM_PGTABLE_MAX_LEVELS - 1) in stage2_split_walker()
/openbmc/linux/arch/arm64/include/asm/
H A Dkvm_pkvm.h62 for (i = 0; i < KVM_PGTABLE_MAX_LEVELS; i++) { in __hyp_pgtable_max_pages()
H A Dkvm_pgtable.h14 #define KVM_PGTABLE_MAX_LEVELS 4U macro
100 for (; level < KVM_PGTABLE_MAX_LEVELS; level++) in kvm_supported_block_sizes()
/openbmc/linux/arch/arm64/kvm/hyp/nvhe/
H A Dmm.c263 __tlbi_level(vale2is, __TLBI_VADDR(addr, 0), (KVM_PGTABLE_MAX_LEVELS - 1)); in fixmap_clear_slot()
278 if (!kvm_pte_valid(ctx->old) || ctx->level != KVM_PGTABLE_MAX_LEVELS - 1) in __create_fixmap_slot_cb()
H A Dsetup.c184 if (ctx->level != (KVM_PGTABLE_MAX_LEVELS - 1)) in fix_host_ownership_walker()
H A Dmem_protect.c465 } while ((level < KVM_PGTABLE_MAX_LEVELS) && in host_stage2_adjust_range()
/openbmc/linux/arch/arm64/kvm/
H A Dmmu.c807 .start_level = (KVM_PGTABLE_MAX_LEVELS - in get_user_mapping_size()
832 if (WARN_ON(level >= KVM_PGTABLE_MAX_LEVELS)) in get_user_mapping_size()