Lines Matching +full:non +full:- +full:cacheable
1 /* SPDX-License-Identifier: GPL-2.0-only */
23 #define PGDIR_MASK (~(PGDIR_SIZE - 1))
25 /* p4d is folded into pgd in case of 4-level page table */
32 #define P4D_MASK (~(P4D_SIZE - 1))
34 /* pud is folded into pgd in case of 3-level page table */
37 #define PUD_MASK (~(PUD_SIZE - 1))
42 #define PMD_MASK (~(PMD_SIZE - 1))
98 for (order = NAPOT_ORDER_MAX - 1; \
99 order >= NAPOT_CONT_ORDER_BASE; order--)
104 #define napot_cont_mask(order) (~(napot_cont_size(order) - 1UL))
108 #define HUGE_MAX_HSTATE (2 + (NAPOT_ORDER_MAX - NAPOT_CONT_ORDER_BASE))
116 * 00 - PMA Normal Cacheable, No change to implied PMA memory type
117 * 01 - NC Non-cacheable, idempotent, weakly-ordered Main Memory
118 * 10 - IO Non-cacheable, non-idempotent, strongly-ordered I/O memory
119 * 11 - Rsvd Reserved for future standard use
126 * [63:59] T-Head Memory Type definitions:
127 * bit[63] SO - Strong Order
128 * bit[62] C - Cacheable
129 * bit[61] B - Bufferable
130 * bit[60] SH - Shareable
131 * bit[59] Sec - Trustable
132 * 00110 - NC Weakly-ordered, Non-cacheable, Bufferable, Shareable, Non-trustable
133 * 01110 - PMA Weakly-ordered, Cacheable, Bufferable, Shareable, Non-trustable
134 * 10010 - IO Strongly-ordered, Non-cacheable, Non-bufferable, Shareable, Non-trustable
249 #define pmd_index(addr) (((addr) >> PMD_SHIFT) & (PTRS_PER_PMD - 1))
336 #define pud_index(addr) (((addr) >> PUD_SHIFT) & (PTRS_PER_PUD - 1))
394 #define p4d_index(addr) (((addr) >> P4D_SHIFT) & (PTRS_PER_P4D - 1))