Home
last modified time | relevance | path

Searched refs:lvls (Results 1 – 2 of 2) sorted by relevance

/linux-6.12.1/arch/arm64/include/asm/
Dkernel-pgtable.h52 #define EARLY_LEVEL(lvl, lvls, vstart, vend, add) \ argument
53 (lvls > lvl ? EARLY_ENTRIES(vstart, vend, SWAPPER_BLOCK_SHIFT + lvl * (PAGE_SHIFT - 3), add) : 0)
55 #define EARLY_PAGES(lvls, vstart, vend, add) (1 /* PGDIR page */ \ argument
56 + EARLY_LEVEL(3, (lvls), (vstart), (vend), add) /* each entry needs a next level page table */ \
57 + EARLY_LEVEL(2, (lvls), (vstart), (vend), add) /* each entry needs a next level page table */ \
58 + EARLY_LEVEL(1, (lvls), (vstart), (vend), add))/* each entry needs a next level page table */
/linux-6.12.1/arch/arm64/kvm/hyp/
Dpgtable.c595 s8 lvls; in kvm_get_vtcr() local
603 lvls = stage2_pgtable_levels(phys_shift); in kvm_get_vtcr()
604 if (lvls < 2) in kvm_get_vtcr()
605 lvls = 2; in kvm_get_vtcr()
615 vtcr |= VTCR_EL2_LVLS_TO_SL0(lvls); in kvm_get_vtcr()