linux/arch/x86/events
Thomas Gleixner 7b672d6433 perf/x86/intel/uncore: Clear all hardware state on exit
The only missing bit is to completely clear the hardware state on failure
exit. This is now a pretty simple exercise.

Undo the box->init_box() setup on all packages which have been initialized so
far.

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/20160222221011.702452407@linutronix.de
Signed-off-by: Ingo Molnar <mingo@kernel.org>
2016-02-29 09:35:19 +01:00
..
amd Merge branch 'perf/urgent' into perf/core, to queue up dependent patch 2016-02-17 10:37:36 +01:00
intel perf/x86/intel/uncore: Clear all hardware state on exit 2016-02-29 09:35:19 +01:00
core.c perf/x86: Move perf_event.h to its new home 2016-02-17 10:11:36 +01:00
Makefile perf/x86: Move perf_event_msr.c .............. => x86/events/msr.c 2016-02-17 10:11:36 +01:00
msr.c perf/x86: Move perf_event_msr.c .............. => x86/events/msr.c 2016-02-17 10:11:36 +01:00
perf_event.h perf/x86: Move perf_event.h to its new home 2016-02-17 10:11:36 +01:00