]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
perf/x86/intel, watchdog/core: Sanitize PMU HT bug workaround
authorPeter Zijlstra <peterz@infradead.org>
Tue, 12 Sep 2017 19:36:56 +0000 (21:36 +0200)
committerIngo Molnar <mingo@kernel.org>
Thu, 14 Sep 2017 09:41:03 +0000 (11:41 +0200)
commit2406e3b166eee42777a6b0b38f52f924454474d7
tree955877e11ae1214cf8ed504c616457e70d671299
parentd0b6e0a8ef24b1b07078ababe5d91bcdf4f4264a
perf/x86/intel, watchdog/core: Sanitize PMU HT bug workaround

The lockup_detector_suspend/resume() interface is broken in several ways
especially as it results in recursive locking of the CPU hotplug lock.

Use the new stop/restart interface in the perf NMI watchdog to temporarily
disable and reenable the already active watchdog events. That's enough to
handle it.

Signed-off-by: Peter Zijlstra <peterz@infradead.org>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Reviewed-by: Don Zickus <dzickus@redhat.com>
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: Borislav Petkov <bp@alien8.de>
Cc: Chris Metcalf <cmetcalf@mellanox.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Nicholas Piggin <npiggin@gmail.com>
Cc: Sebastian Siewior <bigeasy@linutronix.de>
Cc: Ulrich Obergfell <uobergfe@redhat.com>
Link: http://lkml.kernel.org/r/20170912194146.247141871@linutronix.de
Signed-off-by: Ingo Molnar <mingo@kernel.org>
arch/x86/events/intel/core.c