linux-i2c.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Temporarily disabling SNB package C-states?
@ 2013-07-10 21:03 Andy Lutomirski
  0 siblings, 0 replies; only message in thread
From: Andy Lutomirski @ 2013-07-10 21:03 UTC (permalink / raw)
  To: x86, linux-pm, Len Brown, linux-i2c

I wrote a driver for the SNB Xeon iMC SMBUS adapter, but it doesn't
work right due to erratum BT109 (I think).  To work around it, I need
to keep a particular cpu package awake for a few ms when my driver is
in use.  Is there a good way to do this?  So far I've thought of:

 - pm_qos.  This seems hacky and it will keep a lot more of the system
awake than I need.

 - Hook into cpuidle to keep a single core awake.

 - Actually run on the target package, possibly in a kthread or
workqueue, and stay busy.  Ugh.

 - Fiddle with the package c-state limit (in
MSR_PKG_CST_CONFIG_CONTROL) directly.  This seems like it's asking for
trouble.  I'd have to coordinate with intel_idle, presumably.

Any ideas/suggestions?

--Andy

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2013-07-10 21:03 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-07-10 21:03 Temporarily disabling SNB package C-states? Andy Lutomirski

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).