lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date:	Wed,  8 Jan 2014 11:15:51 +0100
From:	Stephane Eranian <eranian@...gle.com>
To:	linux-kernel@...r.kernel.org
Cc:	peterz@...radead.org, mingo@...e.hu, ak@...ux.intel.com,
	acme@...hat.com, jolsa@...hat.com, zheng.z.yan@...el.com,
	bp@...en8.de, vincent.weaver@...ne.edu,
	maria.n.dimakopoulou@...il.com
Subject: [PATCH v2 0/2] perf/x86: various RAPL improvements and fixes

This short patch series provides the following improvements
to the RAPL support for perf_events:
 - support for RAPL PP1 energy counter
 - fix struct perf_event active_list field initialization

The PP1 counter maps to the builtin graphic card for client
processors. that is why it is called energy-gpu.

The new energy event is:
 - name: power/energy-gpu/
 - code: 0x4
 - unit: Joules
 - scaling factor: 2^-32 Joules.

In v2, we renamed energy-pp1 to energy-gpu. We dropped the Haswell
Celeron patch because it is committed already. But we add a fix for
the broken initialization of the active_entry list.

Signed-off-by: Stephane Eranian <eranian@...gle.com>

Stephane Eranian (2):
  perf/x86: fix active_entry initialization
  perf/x86: add RAPL PP1 energy counter support

 arch/x86/kernel/cpu/perf_event_intel_rapl.c |   31 +++++++++++++++++++++------
 include/linux/perf_event.h                  |    6 ++----
 kernel/events/core.c                        |    2 ++
 3 files changed, 28 insertions(+), 11 deletions(-)

-- 
1.7.9.5

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ