Skip to content

Commit 3866ae3

Browse files
Alexander AntonovPeter Zijlstra
authored andcommitted
perf/x86/intel/uncore: Fix IIO event constraints for Skylake Server
According to the latest uncore document, COMP_BUF_OCCUPANCY (0xd5) event can be collected on 2-3 counters. Update uncore IIO event constraints for Skylake Server. Fixes: cd34cd9 ("perf/x86/intel/uncore: Add Skylake server uncore support") Signed-off-by: Alexander Antonov <[email protected]> Signed-off-by: Peter Zijlstra (Intel) <[email protected]> Reviewed-by: Kan Liang <[email protected]> Link: https://lore.kernel.org/r/[email protected]
1 parent e324234 commit 3866ae3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

arch/x86/events/intel/uncore_snbep.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3678,6 +3678,7 @@ static struct event_constraint skx_uncore_iio_constraints[] = {
36783678
UNCORE_EVENT_CONSTRAINT(0xc0, 0xc),
36793679
UNCORE_EVENT_CONSTRAINT(0xc5, 0xc),
36803680
UNCORE_EVENT_CONSTRAINT(0xd4, 0xc),
3681+
UNCORE_EVENT_CONSTRAINT(0xd5, 0xc),
36813682
EVENT_CONSTRAINT_END
36823683
};
36833684

0 commit comments

Comments
 (0)