]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit550b80ad690e00513625ca2f5a4d94ecb24ab5d8
tree95feff05d40607ca8e0f556e1eef09fb095d0438
parent84fd32acdce78d3bfd589a334d1900448000b1d0
powerpc/mm: Fix missing update of HID register on secondary CPUs

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

Fixes: 62e18843527f ("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