|
@@ -190,7 +190,7 @@ static void unsplit_core(void)
|
|
|
|
|
|
hid0 = mfspr(SPRN_HID0);
|
|
hid0 = mfspr(SPRN_HID0);
|
|
hid0 &= ~HID0_POWER8_DYNLPARDIS;
|
|
hid0 &= ~HID0_POWER8_DYNLPARDIS;
|
|
- mtspr(SPRN_HID0, hid0);
|
|
|
|
|
|
+ update_power8_hid0(hid0);
|
|
update_hid_in_slw(hid0);
|
|
update_hid_in_slw(hid0);
|
|
|
|
|
|
while (mfspr(SPRN_HID0) & mask)
|
|
while (mfspr(SPRN_HID0) & mask)
|
|
@@ -227,7 +227,7 @@ static void split_core(int new_mode)
|
|
/* Write new mode */
|
|
/* Write new mode */
|
|
hid0 = mfspr(SPRN_HID0);
|
|
hid0 = mfspr(SPRN_HID0);
|
|
hid0 |= HID0_POWER8_DYNLPARDIS | split_parms[i].value;
|
|
hid0 |= HID0_POWER8_DYNLPARDIS | split_parms[i].value;
|
|
- mtspr(SPRN_HID0, hid0);
|
|
|
|
|
|
+ update_power8_hid0(hid0);
|
|
update_hid_in_slw(hid0);
|
|
update_hid_in_slw(hid0);
|
|
|
|
|
|
/* Wait for it to happen */
|
|
/* Wait for it to happen */
|