aboutsummaryrefslogtreecommitdiff
path: root/include/imc.h
diff options
context:
space:
mode:
authorAnju T Sudhakar <anju@linux.vnet.ibm.com>2017-09-25 17:41:46 +0530
committerStewart Smith <stewart@linux.vnet.ibm.com>2017-09-27 23:02:52 -0500
commit6050670551e2a431fc4bce8d788fef88445b3e36 (patch)
tree25d187238208c3bd6ad9126aab2b853617ff6f40 /include/imc.h
parentc06ed583d05d8c8b86584b3c4afda71adbd5301a (diff)
downloadskiboot-6050670551e2a431fc4bce8d788fef88445b3e36.zip
skiboot-6050670551e2a431fc4bce8d788fef88445b3e36.tar.gz
skiboot-6050670551e2a431fc4bce8d788fef88445b3e36.tar.bz2
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 <anju@linux.vnet.ibm.com> Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'include/imc.h')
-rw-r--r--include/imc.h2
1 files changed, 1 insertions, 1 deletions
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