powerpc/mm: Update the HID bit when switching from radix to hash
authorAneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Wed, 24 Aug 2016 09:33:39 +0000 (15:03 +0530)
committerMichael Ellerman <mpe@ellerman.id.au>
Tue, 13 Sep 2016 07:37:10 +0000 (17:37 +1000)
commitad410674f5606a53ea2f2d45a78448a95e271fa0
treed9ca5d8bb30642e32a935ed38a9a58996b3f784b
parentc6d1a767b9eaa74f0969378ec47791ff8318a65c
powerpc/mm: Update the HID bit when switching from radix to hash

Power9 DD1 requires to update the hid0 register when switching from
hash to radix.

Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Acked-by: Michael Neuling <mikey@neuling.org>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/include/asm/reg.h
arch/powerpc/mm/hash_utils_64.c
arch/powerpc/mm/pgtable-radix.c