diff --git a/core/cpu.c b/core/cpu.c index 1569c9f6c7ad..0077103d1aeb 100644 --- a/core/cpu.c +++ b/core/cpu.c @@ -1333,6 +1333,7 @@ static void cpu_cleanup_one(void *param __unused) { mtspr(SPR_AMR, 0); mtspr(SPR_IAMR, 0); + mtspr(SPR_PCR, 0); } static int64_t cpu_cleanup_all(void) diff --git a/include/processor.h b/include/processor.h index 27cc1aa3942a..6b262b45e04f 100644 --- a/include/processor.h +++ b/include/processor.h @@ -77,6 +77,7 @@ #define SPR_LPCR 0x13e #define SPR_HMER 0x150 /* Hypervisor Maintenance Exception */ #define SPR_HMEER 0x151 /* HMER interrupt enable mask */ +#define SPR_PCR 0x152 #define SPR_AMOR 0x15d #define SPR_PSSCR 0x357 /* RW: Stop status and control (ISA 3) */ #define SPR_TSCR 0x399