Lines Matching +full:asi +full:- +full:format

1 /* SPDX-License-Identifier: GPL-2.0 */
16 #include <asm-generic/pgtable-nop4d.h>
21 #include <asm/asi.h>
26 /* The kernel image occupies 0x4000000 to 0x6000000 (4MB --> 96MB).
32 * Since modules need to be in the lowest 32-bits of the address space,
48 /* PMD_SHIFT determines the size of the area a second-level page
51 #define PMD_SHIFT (PAGE_SHIFT + (PAGE_SHIFT-3))
53 #define PMD_MASK (~(PMD_SIZE-1))
54 #define PMD_BITS (PAGE_SHIFT - 3)
56 /* PUD_SHIFT determines the size of the area a third-level page
61 #define PUD_MASK (~(PUD_SIZE-1))
62 #define PUD_BITS (PAGE_SHIFT - 3)
64 /* PGDIR_SHIFT determines what a fourth-level page table entry can map */
67 #define PGDIR_MASK (~(PGDIR_SIZE-1))
68 #define PGDIR_BITS (PAGE_SHIFT - 3)
94 #define PTRS_PER_PTE (1UL << (PAGE_SHIFT-3))
111 /* PTE bits which are the same in SUN4U and SUN4V format. */
143 #define _PAGE_CP_4U _AC(0x0000000000000020,UL) /* Cacheable in P-Cache */
144 #define _PAGE_CV_4U _AC(0x0000000000000010,UL) /* Cacheable in V-Cache */
145 #define _PAGE_E_4U _AC(0x0000000000000008,UL) /* side-Effect */
160 #define _PAGE_E_4V _AC(0x0000000000000800,UL) /* side-Effect */
161 #define _PAGE_CP_4V _AC(0x0000000000000400,UL) /* Cacheable in P-Cache */
162 #define _PAGE_CV_4V _AC(0x0000000000000200,UL) /* Cacheable in V-Cache */
217 * per-page information starting at pfn_base. This is to handle systems where
273 * Note: We encode this into 3 sun4v 2-insn patch sequences. in pte_modify()
800 /* pmd_bad() is only called on non-trans-huge PMDs. Our encoding is
802 * size PAGE_SIZE so make sure the sub-PAGE_SIZE bits are clear and
937 if (--nr == 0) in set_ptes()
964 flush_dcache_folio_all(current->mm, \
1004 * Format of swap PTEs:
1008 * <--------------------------- offset ---------------------------
1012 * --------------------> E <-- type ---> <------- zeroes -------->
1046 #define MK_IOSPACE_PFN(space, pfn) (pfn | (space << (BITS_PER_LONG - 4)))
1047 #define GET_IOSPACE(pfn) (pfn >> (BITS_PER_LONG - 4))
1111 * non-versioned addresses. Ensure the ADI version bits in __untagged_addr()