mce.h (17c5cf0fb993e219bda4f53aa9ec90d3cfcf92ab) | mce.h (923b3cf00b3ffc896543bac99affc0fa8553e41a) |
---|---|
1/* SPDX-License-Identifier: GPL-2.0-or-later */ 2/* 3 * Machine check exception header file. 4 * 5 * Copyright 2013 IBM Corporation 6 * Author: Mahesh Salgaonkar <mahesh@linux.vnet.ibm.com> 7 */ 8 --- 192 unchanged lines hidden (view full) --- 201 enum MCE_Initiator initiator:8; 202 enum MCE_ErrorClass error_class:8; 203 bool sync_error; 204 bool ignore_event; 205}; 206 207#define MAX_MC_EVT 10 208 | 1/* SPDX-License-Identifier: GPL-2.0-or-later */ 2/* 3 * Machine check exception header file. 4 * 5 * Copyright 2013 IBM Corporation 6 * Author: Mahesh Salgaonkar <mahesh@linux.vnet.ibm.com> 7 */ 8 --- 192 unchanged lines hidden (view full) --- 201 enum MCE_Initiator initiator:8; 202 enum MCE_ErrorClass error_class:8; 203 bool sync_error; 204 bool ignore_event; 205}; 206 207#define MAX_MC_EVT 10 208 |
209struct mce_info { 210 int mce_nest_count; 211 struct machine_check_event mce_event[MAX_MC_EVT]; 212 /* Queue for delayed MCE events. */ 213 int mce_queue_count; 214 struct machine_check_event mce_event_queue[MAX_MC_EVT]; 215 /* Queue for delayed MCE UE events. */ 216 int mce_ue_count; 217 struct machine_check_event mce_ue_event_queue[MAX_MC_EVT]; 218}; 219 |
|
209/* Release flags for get_mce_event() */ 210#define MCE_EVENT_RELEASE true 211#define MCE_EVENT_DONTRELEASE false 212 213struct pt_regs; 214struct notifier_block; 215 216extern void save_mce_event(struct pt_regs *regs, long handled, --- 12 unchanged lines hidden (view full) --- 229#ifdef CONFIG_PPC_BOOK3S_64 230void flush_and_reload_slb(void); 231void flush_erat(void); 232long __machine_check_early_realmode_p7(struct pt_regs *regs); 233long __machine_check_early_realmode_p8(struct pt_regs *regs); 234long __machine_check_early_realmode_p9(struct pt_regs *regs); 235long __machine_check_early_realmode_p10(struct pt_regs *regs); 236#endif /* CONFIG_PPC_BOOK3S_64 */ | 220/* Release flags for get_mce_event() */ 221#define MCE_EVENT_RELEASE true 222#define MCE_EVENT_DONTRELEASE false 223 224struct pt_regs; 225struct notifier_block; 226 227extern void save_mce_event(struct pt_regs *regs, long handled, --- 12 unchanged lines hidden (view full) --- 240#ifdef CONFIG_PPC_BOOK3S_64 241void flush_and_reload_slb(void); 242void flush_erat(void); 243long __machine_check_early_realmode_p7(struct pt_regs *regs); 244long __machine_check_early_realmode_p8(struct pt_regs *regs); 245long __machine_check_early_realmode_p9(struct pt_regs *regs); 246long __machine_check_early_realmode_p10(struct pt_regs *regs); 247#endif /* CONFIG_PPC_BOOK3S_64 */ |
248 249#ifdef CONFIG_PPC_BOOK3S_64 250void mce_init(void); 251#else 252static inline void mce_init(void) { }; 253#endif /* CONFIG_PPC_BOOK3S_64 */ 254 |
|
237#endif /* __ASM_PPC64_MCE_H__ */ | 255#endif /* __ASM_PPC64_MCE_H__ */ |