[APPLIED] Re: [Maverick] [PATCH 0/6] Package Thermal Status and Power Limit Notifcation
Leann Ogasawara
leann.ogasawara at canonical.com
Fri Sep 3 01:40:48 UTC 2010
Applied to Maverick linux master.
Thanks,
Leann
On Mon, 2010-08-30 at 18:18 -0700, leann.ogasawara at canonical.com wrote:
> BugLink: https://bugs.launchpad.net/bugs/601073
>
> It's been requested we backport the following 2.6.36-rc1 patches to
> provide Package Thermal Status and Power Limit Notification which is a
> new feature for Intel's Sandy Bridge processor. There was one minor
> conflict (and easily fixed up) when cherry-picking patch "x86, cpu:
> Package Level Thermal Control, Power Limit Notification definitions".
> All remaining patches were cleanly cherry-picked. Please consider for
> Maverick once the Beta Freeze lifts.
>
> I'd also like to note I've built and installed a test kernel with the
> patches applied and verified I was able to load the pkgtemp driver and
> dump package level thermal information:
>
> $ modinfo pkgtemp
> filename: /lib/modules/2.6.35-19-generic/kernel/drivers/hwmon/pkgtemp.ko
> license: GPL
> description: Intel processor package temperature monitor
> author: Fenghua Yu <fenghua.yu at intel.com>
> srcversion: A82BB4919B07E7EB4BC36A1
> depends:
> vermagic: 2.6.35-19-generic SMP mod_unload modversions
>
> $ sensors
> acpitz-virtual-0
> Adapter: Virtual device
> temp1: +27.8°C (crit = +100.0°C)
> temp2: +29.8°C (crit = +100.0°C)
>
> pkgtemp-isa-0000
> Adapter: ISA adapter
> physical id 0: +30.0°C (high = +86.0°C, crit = +100.0°C)
>
> Additionally, power limit and throttle information can be obtained via
> sysfs (/sys/devices/system/cpu/cpu*/thermal_throttle):
>
> core_power_limit_count
> core_throttle_count
> package_power_limit_count
> package_throttle_count
>
> Thanks,
> Leann
>
> Fenghua Yu (5):
> x86, cpu: Package Level Thermal Control, Power Limit Notification
> definitions
> x86, hwmon: Package Level Thermal/Power: pkgtemp hwmon driver
> x86, hwmon: Package Level Thermal/Power: thermal throttling handler
> x86, hwmon: Package Level Thermal/Power: power limit
> x86, hwmon: Package Level Thermal/Power: pkgtemp documentation
>
> Leann Ogasawara (1):
> UBUNTU: [Config] Enable CONFIG_SENSORS_PKGTEMP=m
>
> Documentation/hwmon/pkgtemp | 36 +++
> arch/x86/configs/i386_defconfig | 1 +
> arch/x86/configs/x86_64_defconfig | 1 +
> arch/x86/include/asm/cpufeature.h | 2 +
> arch/x86/include/asm/msr-index.h | 17 +-
> arch/x86/kernel/cpu/addon_cpuid_features.c | 2 +
> arch/x86/kernel/cpu/mcheck/therm_throt.c | 206 ++++++++++---
> debian.master/config/config.common.ubuntu | 1 +
> drivers/hwmon/Kconfig | 7 +
> drivers/hwmon/Makefile | 1 +
> drivers/hwmon/pkgtemp.c | 456 ++++++++++++++++++++++++++++
> 11 files changed, 689 insertions(+), 41 deletions(-)
> create mode 100644 Documentation/hwmon/pkgtemp
> create mode 100644 drivers/hwmon/pkgtemp.c
>
>
More information about the kernel-team
mailing list