This source file includes following definitions.
- wait_for_subcore_guest_exit
- wait_for_tb_resync
1
2
3
4
5
6
7
8
9 #ifndef __ASM_PPC64_HMI_H__
10 #define __ASM_PPC64_HMI_H__
11
12 #ifdef CONFIG_KVM_BOOK3S_HV_POSSIBLE
13
14 #define CORE_TB_RESYNC_REQ_BIT 63
15 #define MAX_SUBCORE_PER_CORE 4
16
17
18
19
20
21
22 struct sibling_subcore_state {
23 unsigned long flags;
24 u8 in_guest[MAX_SUBCORE_PER_CORE];
25 };
26
27 extern void wait_for_subcore_guest_exit(void);
28 extern void wait_for_tb_resync(void);
29 #else
30 static inline void wait_for_subcore_guest_exit(void) { }
31 static inline void wait_for_tb_resync(void) { }
32 #endif
33
34 struct pt_regs;
35 extern long hmi_handle_debugtrig(struct pt_regs *regs);
36
37 #endif