Commit 29b46dfb authored by Kan Liang's avatar Kan Liang Committed by Thomas Gleixner

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: default avatarKan Liang <Kan.liang@intel.com>
Signed-off-by: default avatarThomas 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
parent 450a9789
...@@ -3462,7 +3462,7 @@ static struct intel_uncore_ops skx_uncore_iio_ops = { ...@@ -3462,7 +3462,7 @@ static struct intel_uncore_ops skx_uncore_iio_ops = {
static struct intel_uncore_type skx_uncore_iio = { static struct intel_uncore_type skx_uncore_iio = {
.name = "iio", .name = "iio",
.num_counters = 4, .num_counters = 4,
.num_boxes = 5, .num_boxes = 6,
.perf_ctr_bits = 48, .perf_ctr_bits = 48,
.event_ctl = SKX_IIO0_MSR_PMON_CTL0, .event_ctl = SKX_IIO0_MSR_PMON_CTL0,
.perf_ctr = SKX_IIO0_MSR_PMON_CTR0, .perf_ctr = SKX_IIO0_MSR_PMON_CTR0,
...@@ -3492,7 +3492,7 @@ static const struct attribute_group skx_uncore_format_group = { ...@@ -3492,7 +3492,7 @@ static const struct attribute_group skx_uncore_format_group = {
static struct intel_uncore_type skx_uncore_irp = { static struct intel_uncore_type skx_uncore_irp = {
.name = "irp", .name = "irp",
.num_counters = 2, .num_counters = 2,
.num_boxes = 5, .num_boxes = 6,
.perf_ctr_bits = 48, .perf_ctr_bits = 48,
.event_ctl = SKX_IRP0_MSR_PMON_CTL0, .event_ctl = SKX_IRP0_MSR_PMON_CTL0,
.perf_ctr = SKX_IRP0_MSR_PMON_CTR0, .perf_ctr = SKX_IRP0_MSR_PMON_CTR0,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment