From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andy Lutomirski Subject: [PATCH v2 0/2] Forcibly enable some MISC_ENABLE features on Intel Date: Sat, 6 Aug 2011 07:42:34 -0400 Message-ID: Return-path: Sender: linux-kernel-owner@vger.kernel.org To: x86@kernel.org, linux-kernel@vger.kernel.org Cc: Fenghua Yu , Matthew Garrett , Len Brown , linux-acpi@vger.kernel.org, Ingo Molnar , Andy Lutomirski List-Id: linux-acpi@vger.kernel.org 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