Skip to content

Commit

Permalink
skiboot/imc: Fix the core_imc_event_mask
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
anjutsudhakar authored and stewartsmith committed Sep 28, 2017
1 parent c06ed58 commit 6050670
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/imc.h
Expand Up @@ -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
Expand Down

0 comments on commit 6050670

Please sign in to comment.