[Skiboot] [PATCH] skiboot/imc: Fix the core_imc_event_mask
Anju T Sudhakar
anju at linux.vnet.ibm.com
Mon Sep 25 22:11:46 AEST 2017
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 <anju at linux.vnet.ibm.com>
---
include/imc.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/imc.h b/include/imc.h
index aa7f22d..9eaf804 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
--
2.7.4
More information about the Skiboot
mailing list