Merge commit 'a7d2475af7aedcb9b5c6343989a8bfadbf84429b' into uaccess.powerpc
authorAl Viro <viro@zeniv.linux.org.uk>
Thu, 6 Apr 2017 19:08:10 +0000 (15:08 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Thu, 6 Apr 2017 19:08:10 +0000 (15:08 -0400)
backmerge of sorting the arch/powerpc/Kconfig

1  2 
arch/powerpc/mm/pgtable-radix.c

@@@ -8,7 -8,7 +8,7 @@@
   * as published by the Free Software Foundation; either version
   * 2 of the License, or (at your option) any later version.
   */
 -#include <linux/sched.h>
 +#include <linux/sched/mm.h>
  #include <linux/memblock.h>
  #include <linux/of_fdt.h>
  
@@@ -186,6 -186,10 +186,10 @@@ static void __init radix_init_pgtable(v
         */
        register_process_table(__pa(process_tb), 0, PRTB_SIZE_SHIFT - 12);
        pr_info("Process table %p and radix root for kernel: %p\n", process_tb, init_mm.pgd);
+       asm volatile("ptesync" : : : "memory");
+       asm volatile(PPC_TLBIE_5(%0,%1,2,1,1) : :
+                    "r" (TLBIEL_INVAL_SET_LPID), "r" (0));
+       asm volatile("eieio; tlbsync; ptesync" : : : "memory");
  }
  
  static void __init radix_init_partition_table(void)