aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/idle/intel_idle.c
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2018-10-23 08:32:18 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2018-10-23 08:32:18 -0400
commitc05f3642f4304dd081876e77a68555b6aba4483f (patch)
tree915baf10c3518d162c00e62b5d855cf92282ed79 /drivers/idle/intel_idle.c
parent0200fbdd431519d730b5d399a12840ec832b27cc (diff)
parentdda93b45389f025fd3422d22cc31cc1ea6040305 (diff)
Merge branch 'perf-core-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
Pull perf updates from Ingo Molnar: "The main updates in this cycle were: - Lots of perf tooling changes too voluminous to list (big perf trace and perf stat improvements, lots of libtraceevent reorganization, etc.), so I'll list the authors and refer to the changelog for details: Benjamin Peterson, Jérémie Galarneau, Kim Phillips, Peter Zijlstra, Ravi Bangoria, Sangwon Hong, Sean V Kelley, Steven Rostedt, Thomas Gleixner, Ding Xiang, Eduardo Habkost, Thomas Richter, Andi Kleen, Sanskriti Sharma, Adrian Hunter, Tzvetomir Stoyanov, Arnaldo Carvalho de Melo, Jiri Olsa. ... with the bulk of the changes written by Jiri Olsa, Tzvetomir Stoyanov and Arnaldo Carvalho de Melo. - Continued intel_rdt work with a focus on playing well with perf events. This also imported some non-perf RDT work due to dependencies. (Reinette Chatre) - Implement counter freezing for Arch Perfmon v4 (Skylake and newer). This allows to speed up the PMI handler by avoiding unnecessary MSR writes and make it more accurate. (Andi Kleen) - kprobes cleanups and simplification (Masami Hiramatsu) - Intel Goldmont PMU updates (Kan Liang) - ... plus misc other fixes and updates" * 'perf-core-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip: (155 commits) kprobes/x86: Use preempt_enable() in optimized_callback() x86/intel_rdt: Prevent pseudo-locking from using stale pointers kprobes, x86/ptrace.h: Make regs_get_kernel_stack_nth() not fault on bad stack perf/x86/intel: Export mem events only if there's PEBS support x86/cpu: Drop pointless static qualifier in punit_dev_state_show() x86/intel_rdt: Fix initial allocation to consider CDP x86/intel_rdt: CBM overlap should also check for overlap with CDP peer x86/intel_rdt: Introduce utility to obtain CDP peer tools lib traceevent, perf tools: Move struct tep_handler definition in a local header file tools lib traceevent: Separate out tep_strerror() for strerror_r() issues perf python: More portable way to make CFLAGS work with clang perf python: Make clang_has_option() work on Python 3 perf tools: Free temporary 'sys' string in read_event_files() perf tools: Avoid double free in read_event_file() perf tools: Free 'printk' string in parse_ftrace_printk() perf tools: Cleanup trace-event-info 'tdata' leak perf strbuf: Match va_{add,copy} with va_end perf test: S390 does not support watchpoints in test 22 perf auxtrace: Include missing asm/bitsperlong.h to get BITS_PER_LONG tools include: Adopt linux/bits.h ...
Diffstat (limited to 'drivers/idle/intel_idle.c')
-rw-r--r--drivers/idle/intel_idle.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/drivers/idle/intel_idle.c b/drivers/idle/intel_idle.c
index 791b8a366e6e..8b5d85c91e9d 100644
--- a/drivers/idle/intel_idle.c
+++ b/drivers/idle/intel_idle.c
@@ -1073,14 +1073,14 @@ static const struct x86_cpu_id intel_idle_ids[] __initconst = {
1073 INTEL_CPU_FAM6(WESTMERE, idle_cpu_nehalem), 1073 INTEL_CPU_FAM6(WESTMERE, idle_cpu_nehalem),
1074 INTEL_CPU_FAM6(WESTMERE_EP, idle_cpu_nehalem), 1074 INTEL_CPU_FAM6(WESTMERE_EP, idle_cpu_nehalem),
1075 INTEL_CPU_FAM6(NEHALEM_EX, idle_cpu_nehalem), 1075 INTEL_CPU_FAM6(NEHALEM_EX, idle_cpu_nehalem),
1076 INTEL_CPU_FAM6(ATOM_PINEVIEW, idle_cpu_atom), 1076 INTEL_CPU_FAM6(ATOM_BONNELL, idle_cpu_atom),
1077 INTEL_CPU_FAM6(ATOM_LINCROFT, idle_cpu_lincroft), 1077 INTEL_CPU_FAM6(ATOM_BONNELL_MID, idle_cpu_lincroft),
1078 INTEL_CPU_FAM6(WESTMERE_EX, idle_cpu_nehalem), 1078 INTEL_CPU_FAM6(WESTMERE_EX, idle_cpu_nehalem),
1079 INTEL_CPU_FAM6(SANDYBRIDGE, idle_cpu_snb), 1079 INTEL_CPU_FAM6(SANDYBRIDGE, idle_cpu_snb),
1080 INTEL_CPU_FAM6(SANDYBRIDGE_X, idle_cpu_snb), 1080 INTEL_CPU_FAM6(SANDYBRIDGE_X, idle_cpu_snb),
1081 INTEL_CPU_FAM6(ATOM_CEDARVIEW, idle_cpu_atom), 1081 INTEL_CPU_FAM6(ATOM_SALTWELL, idle_cpu_atom),
1082 INTEL_CPU_FAM6(ATOM_SILVERMONT1, idle_cpu_byt), 1082 INTEL_CPU_FAM6(ATOM_SILVERMONT, idle_cpu_byt),
1083 INTEL_CPU_FAM6(ATOM_MERRIFIELD, idle_cpu_tangier), 1083 INTEL_CPU_FAM6(ATOM_SILVERMONT_MID, idle_cpu_tangier),
1084 INTEL_CPU_FAM6(ATOM_AIRMONT, idle_cpu_cht), 1084 INTEL_CPU_FAM6(ATOM_AIRMONT, idle_cpu_cht),
1085 INTEL_CPU_FAM6(IVYBRIDGE, idle_cpu_ivb), 1085 INTEL_CPU_FAM6(IVYBRIDGE, idle_cpu_ivb),
1086 INTEL_CPU_FAM6(IVYBRIDGE_X, idle_cpu_ivt), 1086 INTEL_CPU_FAM6(IVYBRIDGE_X, idle_cpu_ivt),
@@ -1088,7 +1088,7 @@ static const struct x86_cpu_id intel_idle_ids[] __initconst = {
1088 INTEL_CPU_FAM6(HASWELL_X, idle_cpu_hsw), 1088 INTEL_CPU_FAM6(HASWELL_X, idle_cpu_hsw),
1089 INTEL_CPU_FAM6(HASWELL_ULT, idle_cpu_hsw), 1089 INTEL_CPU_FAM6(HASWELL_ULT, idle_cpu_hsw),
1090 INTEL_CPU_FAM6(HASWELL_GT3E, idle_cpu_hsw), 1090 INTEL_CPU_FAM6(HASWELL_GT3E, idle_cpu_hsw),
1091 INTEL_CPU_FAM6(ATOM_SILVERMONT2, idle_cpu_avn), 1091 INTEL_CPU_FAM6(ATOM_SILVERMONT_X, idle_cpu_avn),
1092 INTEL_CPU_FAM6(BROADWELL_CORE, idle_cpu_bdw), 1092 INTEL_CPU_FAM6(BROADWELL_CORE, idle_cpu_bdw),
1093 INTEL_CPU_FAM6(BROADWELL_GT3E, idle_cpu_bdw), 1093 INTEL_CPU_FAM6(BROADWELL_GT3E, idle_cpu_bdw),
1094 INTEL_CPU_FAM6(BROADWELL_X, idle_cpu_bdw), 1094 INTEL_CPU_FAM6(BROADWELL_X, idle_cpu_bdw),
@@ -1101,8 +1101,8 @@ static const struct x86_cpu_id intel_idle_ids[] __initconst = {
1101 INTEL_CPU_FAM6(XEON_PHI_KNL, idle_cpu_knl), 1101 INTEL_CPU_FAM6(XEON_PHI_KNL, idle_cpu_knl),
1102 INTEL_CPU_FAM6(XEON_PHI_KNM, idle_cpu_knl), 1102 INTEL_CPU_FAM6(XEON_PHI_KNM, idle_cpu_knl),
1103 INTEL_CPU_FAM6(ATOM_GOLDMONT, idle_cpu_bxt), 1103 INTEL_CPU_FAM6(ATOM_GOLDMONT, idle_cpu_bxt),
1104 INTEL_CPU_FAM6(ATOM_GEMINI_LAKE, idle_cpu_bxt), 1104 INTEL_CPU_FAM6(ATOM_GOLDMONT_PLUS, idle_cpu_bxt),
1105 INTEL_CPU_FAM6(ATOM_DENVERTON, idle_cpu_dnv), 1105 INTEL_CPU_FAM6(ATOM_GOLDMONT_X, idle_cpu_dnv),
1106 {} 1106 {}
1107}; 1107};
1108 1108
@@ -1319,7 +1319,7 @@ static void intel_idle_state_table_update(void)
1319 ivt_idle_state_table_update(); 1319 ivt_idle_state_table_update();
1320 break; 1320 break;
1321 case INTEL_FAM6_ATOM_GOLDMONT: 1321 case INTEL_FAM6_ATOM_GOLDMONT:
1322 case INTEL_FAM6_ATOM_GEMINI_LAKE: 1322 case INTEL_FAM6_ATOM_GOLDMONT_PLUS:
1323 bxt_idle_state_table_update(); 1323 bxt_idle_state_table_update();
1324 break; 1324 break;
1325 case INTEL_FAM6_SKYLAKE_DESKTOP: 1325 case INTEL_FAM6_SKYLAKE_DESKTOP: