Add POWER9 to the POWER8 bootstrap case blocks
POWER8 and POWER9 have similar configuration requirements for hypervisor setup, and in the cases here they're identical. Add the POWER9 constant to the POWER8 list so it's initialized correctly. Reviewed by: nwhitehorn
This commit is contained in:
parent
02bace8053
commit
4f4f92c58f
@ -85,6 +85,7 @@ cpudep_ap_early_bootstrap(void)
|
||||
break;
|
||||
case IBMPOWER8:
|
||||
case IBMPOWER8E:
|
||||
case IBMPOWER9:
|
||||
#ifdef __powerpc64__
|
||||
if (mfmsr() & PSL_HV) {
|
||||
isync();
|
||||
@ -397,6 +398,7 @@ cpudep_ap_setup()
|
||||
case IBMPOWER7PLUS:
|
||||
case IBMPOWER8:
|
||||
case IBMPOWER8E:
|
||||
case IBMPOWER9:
|
||||
#ifdef __powerpc64__
|
||||
if (mfmsr() & PSL_HV) {
|
||||
mtspr(SPR_LPCR, mfspr(SPR_LPCR) | LPCR_LPES |
|
||||
|
@ -638,6 +638,7 @@ cpu_powerx_setup(int cpuid, uint16_t vers)
|
||||
switch (vers) {
|
||||
case IBMPOWER8:
|
||||
case IBMPOWER8E:
|
||||
case IBMPOWER9:
|
||||
mtspr(SPR_LPCR, mfspr(SPR_LPCR) | LPCR_PECE_WAKESET);
|
||||
isync();
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user