linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/2] Forcibly enable some MISC_ENABLE features on Intel
@ 2011-08-06 11:42 Andy Lutomirski
  2011-08-06 11:42 ` [PATCH v2 1/2] x86: Enable fast strings on Intel if BIOS hasn't already Andy Lutomirski
  2011-08-06 11:42 ` [PATCH v2 2/2] x86: Enable monitor/mwait " Andy Lutomirski
  0 siblings, 2 replies; 9+ messages in thread
From: Andy Lutomirski @ 2011-08-06 11:42 UTC (permalink / raw)
  To: x86, linux-kernel
  Cc: Fenghua Yu, Matthew Garrett, Len Brown, linux-acpi, Ingo Molnar,
	Andy Lutomirski

Intel allows BIOS or the OS to enable or disable some CPU fueatures via
IA32_MISC_ENABLE.  I have machines that don't enable fast strings or
monitor/mwait in BIOS, so do it on bootup instead.

The Intel SDM volume 3, appendix B.1 says that the OS should not touch
the monitor enable bit if SSE3 is not present, which presumably means
that the OS may touch that bit if SSE3 is present.  In any case, these
patches seem to work.

Changes from v1:
 - Display FW_WARN messages.
 - Don't change the kmemcheck message.
 - Improve the fast string comment.
 - Improve the changelogs.

Andy Lutomirski (2):
  x86: Enable fast strings on Intel if BIOS hasn't already
  x86: Enable monitor/mwait on Intel if BIOS hasn't already

 arch/x86/kernel/cpu/intel.c |   50 ++++++++++++++++++++++++++++++++++++++++--
 1 files changed, 47 insertions(+), 3 deletions(-)

-- 
1.7.6


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2011-08-09 15:13 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-08-06 11:42 [PATCH v2 0/2] Forcibly enable some MISC_ENABLE features on Intel Andy Lutomirski
2011-08-06 11:42 ` [PATCH v2 1/2] x86: Enable fast strings on Intel if BIOS hasn't already Andy Lutomirski
2011-08-06 19:33   ` Yu, Fenghua
2011-08-06 23:31     ` Andrew Lutomirski
2011-08-07 23:44       ` Yu, Fenghua
2011-08-09 15:00         ` Ingo Molnar
2011-08-09 15:12           ` Andrew Lutomirski
2011-08-08 18:42       ` Yu, Fenghua
2011-08-06 11:42 ` [PATCH v2 2/2] x86: Enable monitor/mwait " 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).