From: Pavel Machek <pavel@ucw.cz>
To: Tony Lindgren <tony@atomide.com>
Cc: linux-kernel@vger.kernel.org, davej@codemonkey.org.uk
Subject: Re: [PATCH] Powernow-k8 buggy BIOS override for 2.6.6
Date: Thu, 13 May 2004 19:21:16 +0200 [thread overview]
Message-ID: <20040513172116.GD4506@atrey.karlin.mff.cuni.cz> (raw)
In-Reply-To: <20040513171921.GB28678@atomide.com>
Hi!
> > > Following is the updated patch to make the powernow-k8 driver work on
> > > machines with buggy BIOS, such as emachines m6805.
> > >
> > > The patch overrides the PST table only if check_pst_table() fails.
> > >
> > > The minimum value for the override is 800MHz, which is the lowest value
> > > on all x86_64 systems AFAIK. The max value is the current running value.
> > >
> > > This patch should be safe to apply, even if Pavel's ACPI table check is
> > > added to the driver. Or does anybody see a problem with it?
> >
> > Well, there may be problems with that.
>
> That works good now, see my recent posting to the thread on the cpufreq list
> for more details. I had ACPI processor as module, and that made the
> powernow-k8 ACPI detection to fail. I fixed it with the following little
> patch, attaching it here too for reference.
This patch is okay if you insert modules in right order, but not if
you attempt to insert cpufreq before acpi, right?
Please do not make that go in like it is.
Pavel
> diff -Nru a/arch/i386/kernel/cpu/cpufreq/powernow-k8.c b/arch/i386/kernel/cpu/cpufreq/powernow-k8.c
> --- a/arch/i386/kernel/cpu/cpufreq/powernow-k8.c Thu May 13 09:58:24 2004
> +++ b/arch/i386/kernel/cpu/cpufreq/powernow-k8.c Thu May 13 09:58:24 2004
> @@ -32,7 +32,7 @@
> #include <asm/io.h>
> #include <asm/delay.h>
>
> -#ifdef CONFIG_ACPI_PROCESSOR
> +#if defined(CONFIG_ACPI_PROCESSOR) || defined(CONFIG_ACPI_PROCESSOR_MODULE)
> #include <linux/acpi.h>
> #include <acpi/processor.h>
> #endif
--
Horseback riding is like software...
...vgf orggre jura vgf serr.
next prev parent reply other threads:[~2004-05-13 17:21 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-05-12 23:56 Tony Lindgren
2004-05-13 16:26 ` Pavel Machek
2004-05-13 17:19 ` Tony Lindgren
2004-05-13 17:21 ` Pavel Machek [this message]
2004-05-13 17:31 ` Tony Lindgren
2004-05-13 17:32 ` Pavel Machek
2004-05-13 17:41 ` Tony Lindgren
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=20040513172116.GD4506@atrey.karlin.mff.cuni.cz \
--to=pavel@ucw.cz \
--cc=davej@codemonkey.org.uk \
--cc=linux-kernel@vger.kernel.org \
--cc=tony@atomide.com \
/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
all inboxes | Powered by JetHome®