Skip to content

Commit fa694ae

Browse files
Kan LiangIngo Molnar
authored andcommitted
perf/x86/intel/uncore: Fix missing marker for snr_uncore_imc_freerunning_events
An Oops during the boot is found on some SNR machines. It turns out this is because the snr_uncore_imc_freerunning_events[] array was missing an end-marker. Fixes: ee49532 ("perf/x86/intel/uncore: Add IMC uncore support for Snow Ridge") Reported-by: Like Xu <[email protected]> Signed-off-by: Kan Liang <[email protected]> Signed-off-by: Peter Zijlstra (Intel) <[email protected]> Signed-off-by: Ingo Molnar <[email protected]> Tested-by: Like Xu <[email protected]> Cc: [email protected] Link: https://lkml.kernel.org/r/[email protected]
1 parent e743830 commit fa694ae

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
@@ -4536,6 +4536,7 @@ static struct uncore_event_desc snr_uncore_imc_freerunning_events[] = {
45364536
INTEL_UNCORE_EVENT_DESC(write, "event=0xff,umask=0x21"),
45374537
INTEL_UNCORE_EVENT_DESC(write.scale, "3.814697266e-6"),
45384538
INTEL_UNCORE_EVENT_DESC(write.unit, "MiB"),
4539+
{ /* end: all zeroes */ },
45394540
};
45404541

45414542
static struct intel_uncore_ops snr_uncore_imc_freerunning_ops = {

0 commit comments

Comments
 (0)