Lines Matching +full:0 +full:x00005
34 #define SLB_ESID_V ASM_CONST(0x0000000008000000) /* valid */
41 #define SLB_VSID_B ASM_CONST(0xc000000000000000)
42 #define SLB_VSID_B_256M ASM_CONST(0x0000000000000000)
43 #define SLB_VSID_B_1T ASM_CONST(0x4000000000000000)
44 #define SLB_VSID_KS ASM_CONST(0x0000000000000800)
45 #define SLB_VSID_KP ASM_CONST(0x0000000000000400)
46 #define SLB_VSID_N ASM_CONST(0x0000000000000200) /* no-execute */
47 #define SLB_VSID_L ASM_CONST(0x0000000000000100)
48 #define SLB_VSID_C ASM_CONST(0x0000000000000080) /* class */
49 #define SLB_VSID_LP ASM_CONST(0x0000000000000030)
50 #define SLB_VSID_LP_00 ASM_CONST(0x0000000000000000)
51 #define SLB_VSID_LP_01 ASM_CONST(0x0000000000000010)
52 #define SLB_VSID_LP_10 ASM_CONST(0x0000000000000020)
53 #define SLB_VSID_LP_11 ASM_CONST(0x0000000000000030)
59 #define SLBIE_C (0x08000000)
70 #define HPTE_V_COMMON_BITS ASM_CONST(0x000fffffffffffff)
71 #define HPTE_V_AVPN ASM_CONST(0x3fffffffffffff80)
72 #define HPTE_V_AVPN_3_0 ASM_CONST(0x000fffffffffff80)
74 #define HPTE_V_COMPARE(x,y) (!(((x) ^ (y)) & 0xffffffffffffff80UL))
75 #define HPTE_V_BOLTED ASM_CONST(0x0000000000000010)
76 #define HPTE_V_LOCK ASM_CONST(0x0000000000000008)
77 #define HPTE_V_LARGE ASM_CONST(0x0000000000000004)
78 #define HPTE_V_SECONDARY ASM_CONST(0x0000000000000002)
79 #define HPTE_V_VALID ASM_CONST(0x0000000000000001)
86 #define HPTE_R_PP0 ASM_CONST(0x8000000000000000)
87 #define HPTE_R_TS ASM_CONST(0x4000000000000000)
88 #define HPTE_R_KEY_HI ASM_CONST(0x3000000000000000)
89 #define HPTE_R_KEY_BIT4 ASM_CONST(0x2000000000000000)
90 #define HPTE_R_KEY_BIT3 ASM_CONST(0x1000000000000000)
92 #define HPTE_R_RPN ASM_CONST(0x0ffffffffffff000)
93 #define HPTE_R_RPN_3_0 ASM_CONST(0x01fffffffffff000)
94 #define HPTE_R_PP ASM_CONST(0x0000000000000003)
95 #define HPTE_R_PPP ASM_CONST(0x8000000000000003)
96 #define HPTE_R_N ASM_CONST(0x0000000000000004)
97 #define HPTE_R_G ASM_CONST(0x0000000000000008)
98 #define HPTE_R_M ASM_CONST(0x0000000000000010)
99 #define HPTE_R_I ASM_CONST(0x0000000000000020)
100 #define HPTE_R_W ASM_CONST(0x0000000000000040)
101 #define HPTE_R_WIMG ASM_CONST(0x0000000000000078)
102 #define HPTE_R_C ASM_CONST(0x0000000000000080)
103 #define HPTE_R_R ASM_CONST(0x0000000000000100)
104 #define HPTE_R_KEY_LO ASM_CONST(0x0000000000000e00)
105 #define HPTE_R_KEY_BIT2 ASM_CONST(0x0000000000000800)
106 #define HPTE_R_KEY_BIT1 ASM_CONST(0x0000000000000400)
107 #define HPTE_R_KEY_BIT0 ASM_CONST(0x0000000000000200)
110 #define HPTE_V_1TB_SEG ASM_CONST(0x4000000000000000)
111 #define HPTE_V_VRMA_MASK ASM_CONST(0x4001ffffff000000)
113 /* Values for PP (assumes Ks=0, Kp=1) */
114 #define PP_RWXX 0 /* Supervisor read/write, User none */
121 #define TLBIEL_INVAL_SEL_MASK 0xc00 /* invalidation selector */
122 #define TLBIEL_INVAL_PAGE 0x000 /* invalidate a single page */
123 #define TLBIEL_INVAL_SET_LPID 0x800 /* invalidate a set for current LPID */
124 #define TLBIEL_INVAL_SET 0xc00 /* invalidate a set for all LPIDs */
125 #define TLBIEL_INVAL_SET_MASK 0xfff000 /* set number to inval. */
189 for (psize = 0; psize < MMU_PAGE_COUNT; ++psize) in shift_to_mmu_psize()
206 for (psize = 0; psize < MMU_PAGE_COUNT; psize++) { in ap_to_shift()
231 #define MMU_SEGSIZE_256M 0
249 #define LP_MASK(i) ((0xFF >> (i)) << LP_SHIFT)
288 return 0; in __hpte_page_size()
291 return 1ul << mmu_psize_defs[i & 0xf].shift; in __hpte_page_size()
296 return __hpte_page_size(h, l, 0); in hpte_page_size()
344 * ISA v3.0 defines a new HPTE format, which differs from the old
450 return hash & 0x7fffffffffUL; in hpt_hash()
453 #define HPTE_LOCAL_UPDATE 0x1
454 #define HPTE_NOHPTE_UPDATE 0x2
455 #define HPTE_USE_KERNEL_KEY 0x4
560 * We use VSID 0 to indicate an invalid VSID. The means we can't use context id
561 * 0, because a context id of 0 and an EA of 0 gives a proto-VSID of 0, which
562 * will produce a VSID of 0.
565 * would give a protovsid of 0x1fffffffff. That will result in a VSID 0
605 * available for user + kernel mapping. VSID 0 is reserved as invalid, contexts
610 * would give a protovsid of 0x1fffffffff. That will result in a VSID 0
664 #define VRMA_VSID 0x1ffffffUL
734 #if 0
786 * Bad address. We return VSID 0 for that in get_vsid()
789 return 0; in get_vsid()
811 * 0x00001 - [ 0xc000000000000000 - 0xc001ffffffffffff]
812 * 0x00002 - [ 0xc002000000000000 - 0xc003ffffffffffff]
813 * 0x00003 - [ 0xc004000000000000 - 0xc005ffffffffffff]
814 * 0x00004 - [ 0xc006000000000000 - 0xc007ffffffffffff]
818 * 0x00005 - [ 0xc008000000000000 - 0xc009ffffffffffff]
819 * 0x00006 - [ 0xc00a000000000000 - 0xc00bffffffffffff]
820 * 0x00007 - [ 0xc00c000000000000 - 0xc00dffffffffffff]
849 return 0; in get_kernel_vsid()
858 LINEAR_INDEX = 0, /* Kernel linear map (0xc000000000000000) */