]> 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)
commit37d14c5f5a145e4f8c8bc02f62762ad4fd562119
tree95feff05d40607ca8e0f556e1eef09fb095d0438
parent7b0f0f0b64b7e5273191a22c767ddf4e4892ab10
powerpc/mm: Fix missing update of HID register on secondary CPUs

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

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