Re: [PATCH 5/5] Package Level Thermal Control and Power Limit Notification: pkgtemp doc

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Fenghua Yu
Date: Thursday, August 19, 2010 - 1:51 pm

On Thu, Aug 19, 2010 at 09:27:19AM -0700, Guenter Roeck wrote:
The pkgtemp reports thermal status for a set of sensors in a package. Please
note the sensors in a package are not limited to processor sensors which are
handled by coretemp. The sensors in a package also include gfx sensors, cache
sensors, memory controllor sensors which are not handled by any hwmon drivers.

OS gets maximum package thermal status only from MSR PACKAGE_THERM_STATUS.
There is no detailed thermal info for each sensor in a package. User-space
can't compute a maximum by itself. So a piece of kernel driver code, whether
a seperate driver or a integrated driver, is necessary if user-space wants to
know thermal status of a package.

I agree with this method too. On a multiple socket system, the current coretemp
output will cause confusion since it only outputs core# without package#.

If it's ok for you, I can rewrite this part to have hwmon device per CPU with
both core and package thermal info and send out RFC patch soon.

Thanks.

-Fenghua
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCH 5/5] Package Level Thermal Control and Power Li ..., Fenghua Yu, (Thu Aug 19, 1:51 pm)