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>
This commit is contained in:

committed by
Michael Ellerman

parent
c6d1a767b9
commit
ad410674f5
@@ -475,6 +475,9 @@
|
||||
#define HID0_POWER8_1TO4LPAR __MASK(51)
|
||||
#define HID0_POWER8_DYNLPARDIS __MASK(48)
|
||||
|
||||
/* POWER9 HID0 bits */
|
||||
#define HID0_POWER9_RADIX __MASK(63 - 8)
|
||||
|
||||
#define SPRN_HID1 0x3F1 /* Hardware Implementation Register 1 */
|
||||
#ifdef CONFIG_6xx
|
||||
#define HID1_EMCP (1<<31) /* 7450 Machine Check Pin Enable */
|
||||
|
Reference in New Issue
Block a user