[lm-sensors] Patch[2/2] Adding Interrupt Handling Support to Coretemp

Guenter Roeck guenter.roeck at ericsson.com
Wed Dec 8 16:06:50 CET 2010


On Wed, Dec 08, 2010 at 04:17:27AM -0500, R, Durgadoss wrote:
> Hi Fenghua,
> 
> This patch, the second one in the series adds the interrupt
> Handling support for the thermal thresholds. When an interrupt
> occurs, this is notified to the user space(so that the user space
> can take some action) by a netlink event.
> 
> This patch is generated against the stable Linux-2.6 tree.
> 
> This patch depends on the "Adding notification to thermal
> Framework" patch, which can be downloaded from here:
> https://patchwork.kernel.org/patch/282042/
> 
> Kindly review and merge.
> ------------------------------------------------------------------
> From: Durgadoss R <durgadoss.r at intel.com>
> 
> Date: Tue, 7 Dec 2010 04:10:41 +0530
> Subject: [PATCH 2/2] Adding_Threshold_Interrupt_Handling_to_Coretemp
> 
> This patch adds the interrupt handling for the core/package
> thermal thresholds in coretemp. The interrupts are routed to coretemp
> via therm_throt.c. Whenever an interrupt occurs, a notification is sent
> in the form of a netlink event to the user space.
> 
> Signed-off-by: Durgadoss R <durgadoss.r at intel.com>
> 
After browsing through this and the previous patch, I think the functionality
should reside outside and be independent of hwmon. arch/x86/kernel/cpu or
drivers/platform/x86 might be better places for it, though I am not really 
in a position to make that judgement.

Guenter 



More information about the lm-sensors mailing list