Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1339994
| From | Thomas Gleixner <tglx@linutronix.de> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [patch V3 18/28] x86/perf/intel_rapl: Make Knights Landings support functional |
| Date | 2016-02-22 23:30 +0100 |
| Message-ID | <r579p-4ce-37@gated-at.bofh.it> (permalink) |
| References | <r579n-4ce-3@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
The Knights Landings support added the events and the detection case, but then returns 0 without actually initializing the driver. Fixes: 3a2a7797326a4 "perf/x86/intel/rapl: Add support for Knights Landing (KNL)" Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Cc: Dasaratharaman Chandramouli <dasaratharaman.chandramouli@intel.com> --- arch/x86/kernel/cpu/perf_event_intel_rapl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Index: b/arch/x86/kernel/cpu/perf_event_intel_rapl.c =================================================================== --- a/arch/x86/kernel/cpu/perf_event_intel_rapl.c +++ b/arch/x86/kernel/cpu/perf_event_intel_rapl.c @@ -731,7 +731,7 @@ static int __init rapl_pmu_init(void) rapl_add_quirk(rapl_hsw_server_quirk); rapl_cntr_mask = RAPL_IDX_KNL; rapl_pmu_events_group.attrs = rapl_events_knl_attr; - + break; default: /* unsupported */ return 0;
Back to linux.kernel | Previous | Next — Next in thread | Find similar | Unroll thread
[patch V3 18/28] x86/perf/intel_rapl: Make Knights Landings support functional Thomas Gleixner <tglx@linutronix.de> - 2016-02-22 23:30 +0100 [tip:perf/core] perf/x86/intel/rapl: Make Knights Landings support functional tip-bot for Thomas Gleixner <tipbot@zytor.com> - 2016-02-29 12:20 +0100
csiph-web