Lines Matching +full:21 +full:- +full:k
1 /* SPDX-License-Identifier: GPL-2.0-only */
11 #include <asm/pgtable-hwdef.h>
17 * with 4K (section size = 2M) but not with 16K (section size = 32M) or
18 * 64K (section size = 512M).
29 * map the kernel. With the 64K page configuration, swapper and idmap need to
37 #define SWAPPER_PGTABLE_LEVELS (CONFIG_PGTABLE_LEVELS - 1)
38 #define IDMAP_PGTABLE_LEVELS (ARM64_HW_PGTABLE_LEVELS(PHYS_MASK_SHIFT) - 1)
46 * If KASLR is enabled, then an offset K is added to the kernel address
47 * space. The bottom 21 bits of this offset are zero to guarantee 2MB
51 * be larger than 21 (for the 4KB granule case we use section maps thus
69 ((((vend) - 1) >> (shift)) - ((vstart) >> (shift)) + 1 + EARLY_KASLR)
121 * be mapped efficiently, i.e., either PUD_SIZE (4k granule) or PMD_SIZE
122 * (64k granule), or a multiple that can be mapped using contiguous bits
123 * in the page tables: 32 * PMD_SIZE (16k granule)