From 6050670551e2a431fc4bce8d788fef88445b3e36 Mon Sep 17 00:00:00 2001 From: Anju T Sudhakar Date: Mon, 25 Sep 2017 17:41:46 +0530 Subject: [PATCH] skiboot/imc: Fix the core_imc_event_mask CORE_IMC_EVENT_MASK is a scom that contains bits to control event sampling for different machine state for core imc. The current event-mask setting sample events only on host kernel (hypervisor) and host userspace. Patch to enable the sampling of events in other machine states (like guest kernel and guest userspace). Signed-off-by: Anju T Sudhakar Signed-off-by: Stewart Smith --- include/imc.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/imc.h b/include/imc.h index aa7f22dfa60b..9eaf804ceb50 100644 --- a/include/imc.h +++ b/include/imc.h @@ -125,7 +125,7 @@ struct imc_chip_cb * Core IMC SCOMs */ #define CORE_IMC_EVENT_MASK_ADDR 0x20010AA8ull -#define CORE_IMC_EVENT_MASK 0x0001020000000000ull +#define CORE_IMC_EVENT_MASK 0x0402010000000000ull #define CORE_IMC_PDBAR_MASK 0x0003ffffffffe000ull #define CORE_IMC_HTM_MODE_ENABLE 0xE800000000000000ull #define CORE_IMC_HTM_MODE_DISABLE 0xE000000000000000ull