Len Brown 21bc42ab85 ACPI: thermal: use round_jiffies when thermal zone polling is enabled
Properly functioning systems do not use thermal zone polling,
they use event-based notification.

However, some users enable periodic thermal zone polling
to work around bugs on their platforms, and at least one
platform exists with a real _TZP that requests polling.

While thermal zone polling (_TZP) is specified in units to 0.1 seconds,
it actually has a maximum granularity of 1 second.  Thus, we can safely
round up the _TZP timeout to occur on the next 1-second boundary.
This will batch it with other 1-second-granularity timers in the
system and thus potentially extend processor idle duration.

Note that the same timer is used both for _TZP
and for passive processor thermal throttling.
We can not round up the timeout when it is used
for passive thermal throttling.

Also, we can not make this a deferrable timer,
as temperature is just as relevant during idle
as it is during non-idle.

Signed-off-by: Len Brown <len.brown@intel.com>
2007-09-04 12:49:22 -04:00
..
2007-07-31 15:39:39 -07:00
2007-08-31 04:54:06 -04:00
2007-08-22 19:52:46 -07:00
2007-07-31 15:39:39 -07:00
2007-07-21 18:37:12 -07:00
2007-07-16 09:05:42 -07:00
2007-08-31 01:42:23 -07:00
2007-08-25 01:44:01 -04:00
2007-07-20 14:25:51 +10:00
2007-07-31 15:39:37 -07:00
2007-08-25 01:44:01 -04:00
2007-08-24 01:27:24 -04:00
2007-06-28 19:19:20 +10:00
2007-08-22 19:52:45 -07:00
2007-08-31 01:42:23 -07:00
2007-07-18 08:38:22 -07:00
2007-07-18 15:57:16 -07:00
2007-07-26 11:35:17 -07:00
2007-07-20 13:39:59 +10:00
2007-07-29 18:58:39 +00:00