aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/mm/mmio-mod.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86/mm/mmio-mod.c')
-rw-r--r--arch/x86/mm/mmio-mod.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/arch/x86/mm/mmio-mod.c b/arch/x86/mm/mmio-mod.c
index 8256546d49bf..ab2bb776d310 100644
--- a/arch/x86/mm/mmio-mod.c
+++ b/arch/x86/mm/mmio-mod.c
@@ -81,17 +81,14 @@ static LIST_HEAD(trace_list); /* struct remap_trace */
81/* module parameters */ 81/* module parameters */
82static unsigned long filter_offset; 82static unsigned long filter_offset;
83static int nommiotrace; 83static int nommiotrace;
84static int ISA_trace;
85static int trace_pc; 84static int trace_pc;
86 85
87module_param(filter_offset, ulong, 0); 86module_param(filter_offset, ulong, 0);
88module_param(nommiotrace, bool, 0); 87module_param(nommiotrace, bool, 0);
89module_param(ISA_trace, bool, 0);
90module_param(trace_pc, bool, 0); 88module_param(trace_pc, bool, 0);
91 89
92MODULE_PARM_DESC(filter_offset, "Start address of traced mappings."); 90MODULE_PARM_DESC(filter_offset, "Start address of traced mappings.");
93MODULE_PARM_DESC(nommiotrace, "Disable actual MMIO tracing."); 91MODULE_PARM_DESC(nommiotrace, "Disable actual MMIO tracing.");
94MODULE_PARM_DESC(ISA_trace, "Do not exclude the low ISA range.");
95MODULE_PARM_DESC(trace_pc, "Record address of faulting instructions."); 92MODULE_PARM_DESC(trace_pc, "Record address of faulting instructions.");
96 93
97static bool is_enabled(void) 94static bool is_enabled(void)
@@ -424,8 +421,6 @@ void enable_mmiotrace(void)
424 421
425 if (nommiotrace) 422 if (nommiotrace)
426 pr_info(NAME "MMIO tracing disabled.\n"); 423 pr_info(NAME "MMIO tracing disabled.\n");
427 if (ISA_trace)
428 pr_warning(NAME "Warning! low ISA range will be traced.\n");
429 spin_lock_irq(&trace_lock); 424 spin_lock_irq(&trace_lock);
430 atomic_inc(&mmiotrace_enabled); 425 atomic_inc(&mmiotrace_enabled);
431 spin_unlock_irq(&trace_lock); 426 spin_unlock_irq(&trace_lock);