aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/include/asm/paca.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/powerpc/include/asm/paca.h')
-rw-r--r--arch/powerpc/include/asm/paca.h13
1 files changed, 7 insertions, 6 deletions
diff --git a/arch/powerpc/include/asm/paca.h b/arch/powerpc/include/asm/paca.h
index 04b60af027ae..3892db93b837 100644
--- a/arch/powerpc/include/asm/paca.h
+++ b/arch/powerpc/include/asm/paca.h
@@ -91,14 +91,14 @@ struct paca_struct {
91 u8 cpu_start; /* At startup, processor spins until */ 91 u8 cpu_start; /* At startup, processor spins until */
92 /* this becomes non-zero. */ 92 /* this becomes non-zero. */
93 u8 kexec_state; /* set when kexec down has irqs off */ 93 u8 kexec_state; /* set when kexec down has irqs off */
94#ifdef CONFIG_PPC_STD_MMU_64 94#ifdef CONFIG_PPC_BOOK3S_64
95 struct slb_shadow *slb_shadow_ptr; 95 struct slb_shadow *slb_shadow_ptr;
96 struct dtl_entry *dispatch_log; 96 struct dtl_entry *dispatch_log;
97 struct dtl_entry *dispatch_log_end; 97 struct dtl_entry *dispatch_log_end;
98#endif /* CONFIG_PPC_STD_MMU_64 */ 98#endif
99 u64 dscr_default; /* per-CPU default DSCR */ 99 u64 dscr_default; /* per-CPU default DSCR */
100 100
101#ifdef CONFIG_PPC_STD_MMU_64 101#ifdef CONFIG_PPC_BOOK3S_64
102 /* 102 /*
103 * Now, starting in cacheline 2, the exception save areas 103 * Now, starting in cacheline 2, the exception save areas
104 */ 104 */
@@ -110,7 +110,7 @@ struct paca_struct {
110 u16 vmalloc_sllp; 110 u16 vmalloc_sllp;
111 u16 slb_cache_ptr; 111 u16 slb_cache_ptr;
112 u32 slb_cache[SLB_CACHE_ENTRIES]; 112 u32 slb_cache[SLB_CACHE_ENTRIES];
113#endif /* CONFIG_PPC_STD_MMU_64 */ 113#endif /* CONFIG_PPC_BOOK3S_64 */
114 114
115#ifdef CONFIG_PPC_BOOK3E 115#ifdef CONFIG_PPC_BOOK3E
116 u64 exgen[8] __aligned(0x40); 116 u64 exgen[8] __aligned(0x40);
@@ -143,7 +143,7 @@ struct paca_struct {
143#ifdef CONFIG_PPC_MM_SLICES 143#ifdef CONFIG_PPC_MM_SLICES
144 u64 mm_ctx_low_slices_psize; 144 u64 mm_ctx_low_slices_psize;
145 unsigned char mm_ctx_high_slices_psize[SLICE_ARRAY_SIZE]; 145 unsigned char mm_ctx_high_slices_psize[SLICE_ARRAY_SIZE];
146 unsigned long addr_limit; 146 unsigned long mm_ctx_slb_addr_limit;
147#else 147#else
148 u16 mm_ctx_user_psize; 148 u16 mm_ctx_user_psize;
149 u16 mm_ctx_sllp; 149 u16 mm_ctx_sllp;
@@ -192,7 +192,7 @@ struct paca_struct {
192 struct stop_sprs stop_sprs; 192 struct stop_sprs stop_sprs;
193#endif 193#endif
194 194
195#ifdef CONFIG_PPC_STD_MMU_64 195#ifdef CONFIG_PPC_BOOK3S_64
196 /* Non-maskable exceptions that are not performance critical */ 196 /* Non-maskable exceptions that are not performance critical */
197 u64 exnmi[EX_SIZE]; /* used for system reset (nmi) */ 197 u64 exnmi[EX_SIZE]; /* used for system reset (nmi) */
198 u64 exmc[EX_SIZE]; /* used for machine checks */ 198 u64 exmc[EX_SIZE]; /* used for machine checks */
@@ -210,6 +210,7 @@ struct paca_struct {
210 */ 210 */
211 u16 in_mce; 211 u16 in_mce;
212 u8 hmi_event_available; /* HMI event is available */ 212 u8 hmi_event_available; /* HMI event is available */
213 u8 hmi_p9_special_emu; /* HMI P9 special emulation */
213#endif 214#endif
214 215
215 /* Stuff for accurate time accounting */ 216 /* Stuff for accurate time accounting */