powernv/cpuidle: Redesign idle states management
[deliverable/linux.git] / arch / powerpc / include / asm / paca.h
index 24a386cbb928b008dde32a71ba244b3c0b6aecbb..a0a16847bd40456aaaf5a6204f95b81a0a46401e 100644 (file)
@@ -152,6 +152,14 @@ struct paca_struct {
        u64 tm_scratch;                 /* TM scratch area for reclaim */
 #endif
 
+#ifdef CONFIG_PPC_POWERNV
+       /* Per-core mask tracking idle threads and a lock bit-[L][TTTTTTTT] */
+       u32 *core_idle_state_ptr;
+       u8 thread_idle_state;           /* PNV_THREAD_RUNNING/NAP/SLEEP */
+       /* Mask to indicate thread id in core */
+       u8 thread_mask;
+#endif
+
 #ifdef CONFIG_PPC_BOOK3S_64
        /* Exclusive emergency stack pointer for machine check exception. */
        void *mc_emergency_sp;
This page took 0.027045 seconds and 5 git commands to generate.