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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 23 Jan 2020 07:22:37 +0000 (08:22 +0100)
commit179bed43be590f25ce027050703d1bd7f255602e
tree4b0d632815ef081cdba7c93ad03989e29c183e92
parent710d9fd2f48bdd7e9944ea58d2205934951e7336
perf/x86/intel/uncore: Fix missing marker for snr_uncore_imc_freerunning_events

commit fa694ae532836bd2f4cd659e9b4032abaf9fa9e5 upstream.

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: ee49532b38dd ("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
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/x86/events/intel/uncore_snbep.c