]> git.baikalelectronics.ru Git - kernel.git/commit
perf/x86/intel/uncore: Fix missing marker for snr_uncore_imc_freerunning_events
authorKan Liang <kan.liang@linux.intel.com>
Thu, 16 Jan 2020 20:02:09 +0000 (12:02 -0800)
committerIngo Molnar <mingo@kernel.org>
Fri, 17 Jan 2020 10:33:28 +0000 (11:33 +0100)
commit94b0c36e827a664a08bfec0c13ff11e8556588ee
tree0b45b14d20150183cc1e1f23d09a1b4a85de71a6
parent33ee12bf4f85440a65736ac0cf46d1d56c658205
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: 9206f7a55359 ("perf/x86/intel/uncore: Add IMC uncore support for Snow Ridge")
Reported-by: Like Xu <like.xu@linux.intel.com>
Signed-off-by: Kan Liang <kan.liang@linux.intel.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Tested-by: Like Xu <like.xu@linux.intel.com>
Cc: stable@vger.kernel.org
Link: https://lkml.kernel.org/r/20200116200210.18937-1-kan.liang@linux.intel.com
arch/x86/events/intel/uncore_snbep.c