]>
Commit | Line | Data |
---|---|---|
321d628a FG |
1 | From bc21c74b922871588bf6626bff34fa084ed60d71 Mon Sep 17 00:00:00 2001 |
2 | From: "Steven Rostedt (VMware)" <rostedt@goodmis.org> | |
3 | Date: Thu, 12 Oct 2017 18:06:19 -0400 | |
e4cdf2a5 | 4 | Subject: [PATCH 062/241] x86/fpu/debug: Remove unused 'x86_fpu_state' and |
321d628a FG |
5 | 'x86_fpu_deactivate_state' tracepoints |
6 | MIME-Version: 1.0 | |
7 | Content-Type: text/plain; charset=UTF-8 | |
8 | Content-Transfer-Encoding: 8bit | |
9 | ||
10 | CVE-2017-5754 | |
11 | ||
12 | Commit: | |
13 | ||
14 | d1898b733619 ("x86/fpu: Add tracepoints to dump FPU state at key points") | |
15 | ||
16 | ... added the 'x86_fpu_state' and 'x86_fpu_deactivate_state' trace points, | |
17 | but never used them. Today they are still not used. As they take up | |
18 | and waste memory, remove them. | |
19 | ||
20 | Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org> | |
21 | Cc: Dave Hansen <dave.hansen@linux.intel.com> | |
22 | Cc: Linus Torvalds <torvalds@linux-foundation.org> | |
23 | Cc: Peter Zijlstra <peterz@infradead.org> | |
24 | Cc: Thomas Gleixner <tglx@linutronix.de> | |
25 | Link: http://lkml.kernel.org/r/20171012180619.670b68b6@gandalf.local.home | |
26 | Signed-off-by: Ingo Molnar <mingo@kernel.org> | |
27 | (cherry picked from commit 127a1bea40f7f2a36bc7207ea4d51bb6b4e936fa) | |
28 | Signed-off-by: Andy Whitcroft <apw@canonical.com> | |
29 | Signed-off-by: Kleber Sacilotto de Souza <kleber.souza@canonical.com> | |
30 | (cherry picked from commit c7c367ddb6ffb6af2cfee287960e97c4aefc6548) | |
31 | Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com> | |
32 | --- | |
33 | arch/x86/include/asm/trace/fpu.h | 10 ---------- | |
34 | 1 file changed, 10 deletions(-) | |
35 | ||
36 | diff --git a/arch/x86/include/asm/trace/fpu.h b/arch/x86/include/asm/trace/fpu.h | |
37 | index 342e59789fcd..fed7d9ecae60 100644 | |
38 | --- a/arch/x86/include/asm/trace/fpu.h | |
39 | +++ b/arch/x86/include/asm/trace/fpu.h | |
40 | @@ -36,11 +36,6 @@ DECLARE_EVENT_CLASS(x86_fpu, | |
41 | ) | |
42 | ); | |
43 | ||
44 | -DEFINE_EVENT(x86_fpu, x86_fpu_state, | |
45 | - TP_PROTO(struct fpu *fpu), | |
46 | - TP_ARGS(fpu) | |
47 | -); | |
48 | - | |
49 | DEFINE_EVENT(x86_fpu, x86_fpu_before_save, | |
50 | TP_PROTO(struct fpu *fpu), | |
51 | TP_ARGS(fpu) | |
52 | @@ -76,11 +71,6 @@ DEFINE_EVENT(x86_fpu, x86_fpu_activate_state, | |
53 | TP_ARGS(fpu) | |
54 | ); | |
55 | ||
56 | -DEFINE_EVENT(x86_fpu, x86_fpu_deactivate_state, | |
57 | - TP_PROTO(struct fpu *fpu), | |
58 | - TP_ARGS(fpu) | |
59 | -); | |
60 | - | |
61 | DEFINE_EVENT(x86_fpu, x86_fpu_init_state, | |
62 | TP_PROTO(struct fpu *fpu), | |
63 | TP_ARGS(fpu) | |
64 | -- | |
65 | 2.14.2 | |
66 |