These changes are the raw update to linux-4.4.6-rt14. Kernel sources
[kvmfornfv.git] / kernel / arch / powerpc / include / asm / processor.h
index bf117d8..5afea36 100644 (file)
@@ -264,7 +264,6 @@ struct thread_struct {
        u64             tm_tfhar;       /* Transaction fail handler addr */
        u64             tm_texasr;      /* Transaction exception & summary */
        u64             tm_tfiar;       /* Transaction fail instr address reg */
-       unsigned long   tm_orig_msr;    /* Thread's MSR on ctx switch */
        struct pt_regs  ckpt_regs;      /* Checkpointed registers */
 
        unsigned long   tm_tar;
@@ -295,6 +294,15 @@ struct thread_struct {
 #endif
 #ifdef CONFIG_PPC64
        unsigned long   dscr;
+       /*
+        * This member element dscr_inherit indicates that the process
+        * has explicitly attempted and changed the DSCR register value
+        * for itself. Hence kernel wont use the default CPU DSCR value
+        * contained in the PACA structure anymore during process context
+        * switch. Once this variable is set, this behaviour will also be
+        * inherited to all the children of this process from that point
+        * onwards.
+        */
        int             dscr_inherit;
        unsigned long   ppr;    /* used to save/restore SMT priority */
 #endif