powerpc/mm: Fix missing update of HID register on secondary CPUs
authorAneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Thu, 17 Nov 2016 10:16:23 +0000 (15:46 +0530)
committerMichael Ellerman <mpe@ellerman.id.au>
Fri, 18 Nov 2016 12:16:58 +0000 (23:16 +1100)
commitcac4a185405d4415eca269cae976438b44a37ae0
tree95feff05d40607ca8e0f556e1eef09fb095d0438
parent96ed1fe511a8b4948e53f3bad431d8737e8f231f
powerpc/mm: Fix missing update of HID register on secondary CPUs

We need to update on secondaries for the selected MMU mode.

Fixes: ad410674f560 ("powerpc/mm: Update the HID bit when switching from radix to hash")
Reported-by: Michael Neuling <mikey@neuling.org>
Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/mm/hash_utils_64.c
arch/powerpc/mm/pgtable-radix.c