summaryrefslogtreecommitdiff
path: root/scripts/config
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2016-02-22 22:19:09 (GMT)
committerIngo Molnar <mingo@kernel.org>2016-02-29 08:35:14 (GMT)
commit4f089678d071781851c3b73c41e55a3765b6a5ee (patch)
tree3717728133dfa1cd562085235de710e4eeb90c07 /scripts/config
parentffeda003803213a8d0babefdd6a95fe424884c14 (diff)
downloadlinux-4f089678d071781851c3b73c41e55a3765b6a5ee.tar.xz
perf/x86/intel/uncore: Fix error handling
This driver lacks any form of proper error handling. If initialization fails or hotplug prepare fails, it lets the facility with half initialized stuff around. Fix the state and memory leaks in a first step. As a second step we need to undo the hardware state which is set via uncore_box_init() on some of the uncore implementations. Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org> Cc: Andi Kleen <andi.kleen@intel.com> Cc: Arnaldo Carvalho de Melo <acme@redhat.com> Cc: Borislav Petkov <bp@alien8.de> Cc: Harish Chegondi <harish.chegondi@intel.com> Cc: Jacob Pan <jacob.jun.pan@linux.intel.com> Cc: Jiri Olsa <jolsa@redhat.com> Cc: Kan Liang <kan.liang@intel.com> Cc: Linus Torvalds <torvalds@linux-foundation.org> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Stephane Eranian <eranian@google.com> Cc: Vince Weaver <vincent.weaver@maine.edu> Cc: linux-kernel@vger.kernel.org Link: http://lkml.kernel.org/r/20160222221010.848880559@linutronix.de Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'scripts/config')
0 files changed, 0 insertions, 0 deletions