summaryrefslogtreecommitdiffstats
path: root/include/rdma
diff options
context:
space:
mode:
authorAndy Lutomirski <luto@kernel.org>2015-07-30 20:32:40 -0700
committerIngo Molnar <mingo@kernel.org>2015-08-04 10:16:54 +0200
commite5779e8e12299f77c2421a707855d8d124171d85 (patch)
treecb527ea37574379a35826c9292dc956cfc7b7433 /include/rdma
parentae3f011fc25104a218caf4448b1d47ef1c9b3a42 (diff)
downloadlinux-e5779e8e12299f77c2421a707855d8d124171d85.tar.gz
linux-e5779e8e12299f77c2421a707855d8d124171d85.tar.bz2
linux-e5779e8e12299f77c2421a707855d8d124171d85.zip
perf/x86/hw_breakpoints: Disallow kernel breakpoints unless kprobe-safe
Code on the kprobe blacklist doesn't want unexpected int3 exceptions. It probably doesn't want unexpected debug exceptions either. Be safe: disallow breakpoints in nokprobes code. On non-CONFIG_KPROBES kernels, there is no kprobe blacklist. In that case, disallow kernel breakpoints entirely. It will be particularly important to keep hw breakpoints out of the entry and NMI code once we move debug exceptions off the IST stack. Signed-off-by: Andy Lutomirski <luto@kernel.org> Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org> Cc: Borislav Petkov <bp@alien8.de> Cc: Brian Gerst <brgerst@gmail.com> Cc: Linus Torvalds <torvalds@linux-foundation.org> Cc: Masami Hiramatsu <masami.hiramatsu.pt@hitachi.com> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Steven Rostedt <rostedt@goodmis.org> Cc: Thomas Gleixner <tglx@linutronix.de> Link: http://lkml.kernel.org/r/e14b152af99640448d895e3c2a8c2d5ee19a1325.1438312874.git.luto@kernel.org Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'include/rdma')
0 files changed, 0 insertions, 0 deletions