public inbox for linux-acpi@vger.kernel.org
 help / color / mirror / Atom feed
From: ykzhao <yakui.zhao@intel.com>
To: lenb@kernel.org
Cc: linux-acpi@vger.kernel.org
Subject: [PATCH] ACPI : ACPI: Don't disable ARB_DISABLE on some old cpus
Date: Sun, 27 Sep 2009 13:15:02 +0800	[thread overview]
Message-ID: <1254028502.4298.11.camel@localhost.localdomain> (raw)

From: Zhao Yakui <yakui.zhao@intel.com>

Don't disable ARB_DISABLE when the familary ID is 0x0F.
It is required when it enters the C3 state on the old cpus.

http://bugzilla.kernel.org/show_bug.cgi?id=14211

Signed-off-by: Zhao Yakui <yakui.zhao@intel.com>
---
 arch/x86/kernel/acpi/cstate.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Index: linux-2.6/arch/x86/kernel/acpi/cstate.c
===================================================================
--- linux-2.6.orig/arch/x86/kernel/acpi/cstate.c	2009-09-18 10:28:32.000000000 +0800
+++ linux-2.6/arch/x86/kernel/acpi/cstate.c	2009-09-24 14:59:57.000000000 +0800
@@ -48,7 +48,7 @@
 	 * P4, Core and beyond CPUs
 	 */
 	if (c->x86_vendor == X86_VENDOR_INTEL &&
-	    (c->x86 > 0x6 || (c->x86 == 6 && c->x86_model >= 14)))
+	    (c->x86 > 0xf || (c->x86 == 6 && c->x86_model >= 14)))
 			flags->bm_control = 0;
 }
 EXPORT_SYMBOL(acpi_processor_power_init_bm_check);



             reply	other threads:[~2009-09-27  5:15 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-09-27  5:15 ykzhao [this message]
2009-09-27  7:51 ` [PATCH] ACPI : ACPI: Don't disable ARB_DISABLE on some old cpu Len Brown

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1254028502.4298.11.camel@localhost.localdomain \
    --to=yakui.zhao@intel.com \
    --cc=lenb@kernel.org \
    --cc=linux-acpi@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox