]> git.baikalelectronics.ru Git - kernel.git/commit
x86 thermal: Disable power limit notification interrupt by default
authorFenghua Yu <fenghua.yu@intel.com>
Tue, 21 May 2013 19:35:17 +0000 (15:35 -0400)
committerTony Luck <tony.luck@intel.com>
Fri, 14 Jun 2013 21:49:00 +0000 (14:49 -0700)
commitd9ec0627a7c89ccc7b2ff103c0793d7535d45f4c
tree5228c5cf075acac76a7043ec418da33056743678
parent7b969c439f98a0e3b7dc894533870f25d4b4d31a
x86 thermal: Disable power limit notification interrupt by default

The package power limit notification interrupt is primarily for
system diagnosis, and should not be blindly enabled on every
system by default -- particuarly since Linux does nothing in the
handler except count how many times it has been called...

Add a new kernel cmdline parameter "int_pln_enable" for situations where
users want to oberve these events via existing system counters:

$ grep TRM /proc/interrupts

$ grep . /sys/devices/system/cpu/cpu*/thermal_throttle/*

https://bugzilla.kernel.org/show_bug.cgi?id=36182

Signed-off-by: Fenghua Yu <fenghua.yu@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
Signed-off-by: Tony Luck <tony.luck@intel.com>
Documentation/kernel-parameters.txt
arch/x86/kernel/cpu/mcheck/therm_throt.c