|
@@ -273,6 +273,8 @@ static bool spapr_realize_vcpu(PowerPCCPU *cpu, SpaprMachineState *spapr,
|
|
env->spr_cb[SPR_PIR].default_value = cs->cpu_index;
|
|
env->spr_cb[SPR_PIR].default_value = cs->cpu_index;
|
|
env->spr_cb[SPR_TIR].default_value = thread_index;
|
|
env->spr_cb[SPR_TIR].default_value = thread_index;
|
|
|
|
|
|
|
|
+ env->spr_cb[SPR_HASHPKEYR].default_value = spapr->hashpkey_val;
|
|
|
|
+
|
|
cpu_ppc_set_1lpar(cpu);
|
|
cpu_ppc_set_1lpar(cpu);
|
|
|
|
|
|
/* Set time-base frequency to 512 MHz. vhyp must be set first. */
|
|
/* Set time-base frequency to 512 MHz. vhyp must be set first. */
|