Skip to content

Commit 29b46df

Browse files
kliang2KAGA-KOKO
authored andcommitted
perf/x86/intel/uncore: Correct num_boxes for IIO and IRP
There are 6 IIO/IRP boxes for CBDMA, PCIe0-2, MCP 0 and MCP 1 separately. Correct the num_boxes. Signed-off-by: Kan Liang <Kan.liang@intel.com> Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Cc: ak@linux.intel.com Cc: peterz@infradead.org Cc: eranian@google.com Cc: acme@kernel.org Link: http://lkml.kernel.org/r/1505149816-12580-1-git-send-email-kan.liang@intel.com
1 parent 450a978 commit 29b46df

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

arch/x86/events/intel/uncore_snbep.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3462,7 +3462,7 @@ static struct intel_uncore_ops skx_uncore_iio_ops = {
34623462
static struct intel_uncore_type skx_uncore_iio = {
34633463
.name = "iio",
34643464
.num_counters = 4,
3465-
.num_boxes = 5,
3465+
.num_boxes = 6,
34663466
.perf_ctr_bits = 48,
34673467
.event_ctl = SKX_IIO0_MSR_PMON_CTL0,
34683468
.perf_ctr = SKX_IIO0_MSR_PMON_CTR0,
@@ -3492,7 +3492,7 @@ static const struct attribute_group skx_uncore_format_group = {
34923492
static struct intel_uncore_type skx_uncore_irp = {
34933493
.name = "irp",
34943494
.num_counters = 2,
3495-
.num_boxes = 5,
3495+
.num_boxes = 6,
34963496
.perf_ctr_bits = 48,
34973497
.event_ctl = SKX_IRP0_MSR_PMON_CTL0,
34983498
.perf_ctr = SKX_IRP0_MSR_PMON_CTR0,

0 commit comments

Comments
 (0)