public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v3 0/1] RAPL (Running Average Power Limit) driver
@ 2013-04-09 12:46 Jacob Pan
  2013-04-09 12:46 ` [PATCH v3 1/1] Introduce Intel RAPL cooling device driver Jacob Pan
  0 siblings, 1 reply; 12+ messages in thread
From: Jacob Pan @ 2013-04-09 12:46 UTC (permalink / raw)
  To: LKML, Platform Driver, Matthew Garrett
  Cc: Greg Kroah-Hartman, Joe Perches, Zhang Rui, Rafael Wysocki,
	Len Brown, Srinivas Pandruvada, Arjan van de Ven, Jacob Pan


Changes since V3:
	This is a simpler version which only exposes interface via
	the generic thermal layer. No new ABI introduced.

	RAPL driver does some automatic settings to the related power
	parameters based on user's single input from thermal cooling
	device interface.

	On the other side, more work needed to fully use RAPL
	interface. This is likely result in adding more knobs in the
	generic thermal sysfs.

	- deleted event notifications
	- deleted per domain device and RAPL class and their private
	  sysfs
	- added more logic to do some automatic settings based on
	  user input. e.g. will enable clamping by default and set
	  a reasonable time window for long term power limits.

Changes since V2:
	- use 'struct device' instead of raw kobject to represent
	  RAPL domains
	- changed eventfd control interface to use event string
	  instead of passing file descriptors that cannot be
	  authenticated in sysfs directory
	- clean ups based on v1 reviews
		- use kcalloc for arrays
		- drop dependencies on X86
		- misc cleanups


Jacob Pan (1):
  Introduce Intel RAPL cooling device driver

 drivers/platform/x86/Kconfig      |    9 +
 drivers/platform/x86/Makefile     |    1 +
 drivers/platform/x86/intel_rapl.c |  764 +++++++++++++++++++++++++++++++++++++
 drivers/platform/x86/intel_rapl.h |  176 +++++++++
 4 files changed, 950 insertions(+)
 create mode 100644 drivers/platform/x86/intel_rapl.c
 create mode 100644 drivers/platform/x86/intel_rapl.h

-- 
1.7.9.5


^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2013-04-09 23:22 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-04-09 12:46 [PATCH v3 0/1] RAPL (Running Average Power Limit) driver Jacob Pan
2013-04-09 12:46 ` [PATCH v3 1/1] Introduce Intel RAPL cooling device driver Jacob Pan
2013-04-09 15:26   ` Greg Kroah-Hartman
2013-04-09 15:53     ` Joe Perches
2013-04-09 16:07       ` Greg Kroah-Hartman
2013-04-09 16:29         ` Joe Perches
2013-04-09 16:15     ` Jacob Pan
2013-04-09 16:26       ` Joe Perches
2013-04-09 17:03         ` Jacob Pan
2013-04-09 16:34       ` Greg Kroah-Hartman
2013-04-09 16:00   ` Joe Perches
2013-04-09 23:22     ` Jacob Pan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox