|
@@ -388,6 +388,10 @@ void radix__early_init_mmu_secondary(void)
|
|
* update partition table control register and UPRT
|
|
* update partition table control register and UPRT
|
|
*/
|
|
*/
|
|
if (!firmware_has_feature(FW_FEATURE_LPAR)) {
|
|
if (!firmware_has_feature(FW_FEATURE_LPAR)) {
|
|
|
|
+
|
|
|
|
+ if (cpu_has_feature(CPU_FTR_POWER9_DD1))
|
|
|
|
+ update_hid_for_radix();
|
|
|
|
+
|
|
lpcr = mfspr(SPRN_LPCR);
|
|
lpcr = mfspr(SPRN_LPCR);
|
|
mtspr(SPRN_LPCR, lpcr | LPCR_UPRT | LPCR_HR);
|
|
mtspr(SPRN_LPCR, lpcr | LPCR_UPRT | LPCR_HR);
|
|
|
|
|