public inbox for linux-acpi@vger.kernel.org
 help / color / mirror / Atom feed
From: Jindrich Makovicka <makovick-/k6j/d2J2EitDQUhxP5w7+MCGPLT8p0O@public.gmane.org>
To: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
Subject: Enable C2 for processors without CST
Date: Sat, 02 Jul 2005 18:21:37 +0200	[thread overview]
Message-ID: <da6eui$obf$1@sea.gmane.org> (raw)

[-- Attachment #1: Type: text/plain, Size: 191 bytes --]

Hi,

this patch reenables power saving states for CPU when CST isn't
available. It is needed to make C2 work on my AMD XP-M 2600+ with
2.6.13-rc1-mm1 kernel.

Regards,
-- 
Jindrich Makovicka

[-- Attachment #2: processor_idle.c.diff --]
[-- Type: text/plain, Size: 436 bytes --]

--- processor_idle.c.orig	2005-07-02 18:11:33.186334953 +0200
+++ processor_idle.c	2005-07-02 18:13:33.735687489 +0200
@@ -881,7 +881,7 @@
 	result = acpi_processor_get_power_info_cst(pr);
 	if ((result) || (acpi_processor_power_verify(pr) < 2)) {
 		result = acpi_processor_get_power_info_fadt(pr);
-		if (result)
+		if ((result) || acpi_processor_power_verify(pr) < 2)
 			result = acpi_processor_get_power_info_default_c1(pr);
 	}
 

                 reply	other threads:[~2005-07-02 16:21 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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='da6eui$obf$1@sea.gmane.org' \
    --to=makovick-/k6j/d2j2eitdquhxp5w7+mcgplt8p0o@public.gmane.org \
    --cc=acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.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