From: Andrew Morton <akpm-3NddpPZAyC0@public.gmane.org>
To: "Rafael J. Wysocki" <rjw-KKrjLPT3xs0@public.gmane.org>
Cc: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org,
flo-MALAOO1t6vMdnm+yROfE0A@public.gmane.org,
Dave Jones
<davej-rdkfGonbjUTCLXcRTR1eJlpr/1R2p/CL@public.gmane.org>
Subject: Re: Fw: powersave not working with amd64 on nforce 4 board
Date: Thu, 28 Jul 2005 01:34:16 -0700 [thread overview]
Message-ID: <20050728013416.6cd24d6e.akpm@osdl.org> (raw)
In-Reply-To: <200507281025.25183.rjw-KKrjLPT3xs0@public.gmane.org>
"Rafael J. Wysocki" <rjw-KKrjLPT3xs0@public.gmane.org> wrote:
>
> n Thursday, 28 of July 2005 01:16, Andrew Morton wrote:
> >
> > It might help if you were to raise a bugzilla entry for this..
>
> More likely it's BIOS bug. I ran 2.6.13-rc3-mm1 on a box with nForce4
> and it worked fine except I needed to apply the attached patch from
> Mark Langsdorf, since the CPU is a dual-core.
>
> BTW, any chance to include this patch in -mm?
Spose so. Would prefer that Mark himself sends it though.
Dave, does it look sane?
--- linux-2.6.12-rc6/arch/i386/kernel/cpu/cpufreq/powernow-k8.c.old 2005-06-12 17:41:55.123651184 -0500
+++ linux-2.6.12-rc6/arch/i386/kernel/cpu/cpufreq/powernow-k8.c 2005-06-12 17:46:32.780440936 -0500
@@ -44,7 +44,7 @@
#define PFX "powernow-k8: "
#define BFX PFX "BIOS error: "
-#define VERSION "version 1.40.2"
+#define VERSION "version 1.40.4"
#include "powernow-k8.h"
/* serialize freq changes */
@@ -978,7 +978,7 @@
{
struct powernow_k8_data *data;
cpumask_t oldmask = CPU_MASK_ALL;
- int rc;
+ int rc, i;
if (!check_supported_cpu(pol->cpu))
return -ENODEV;
@@ -1064,7 +1064,9 @@
printk("cpu_init done, current fid 0x%x, vid 0x%x\n",
data->currfid, data->currvid);
- powernow_data[pol->cpu] = data;
+ for_each_cpu_mask(i, cpu_core_map[pol->cpu]) {
+ powernow_data[i] = data;
+ }
return 0;
-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO September
19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
next prev parent reply other threads:[~2005-07-28 8:34 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-07-27 23:16 Fw: powersave not working with amd64 on nforce 4 board Andrew Morton
[not found] ` <20050727161646.05c40b3a.akpm-3NddpPZAyC0@public.gmane.org>
2005-07-28 8:25 ` Rafael J. Wysocki
[not found] ` <200507281025.25183.rjw-KKrjLPT3xs0@public.gmane.org>
2005-07-28 8:34 ` Andrew Morton [this message]
[not found] ` <20050728013416.6cd24d6e.akpm-3NddpPZAyC0@public.gmane.org>
2005-07-28 16:29 ` Dave Jones
[not found] ` <20050728162947.GB26599-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2005-07-28 17:46 ` Andrew Morton
[not found] ` <20050728104613.17f33c3f.akpm-3NddpPZAyC0@public.gmane.org>
2005-07-28 17:58 ` Dave Jones
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=20050728013416.6cd24d6e.akpm@osdl.org \
--to=akpm-3nddppzayc0@public.gmane.org \
--cc=acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org \
--cc=davej-rdkfGonbjUTCLXcRTR1eJlpr/1R2p/CL@public.gmane.org \
--cc=flo-MALAOO1t6vMdnm+yROfE0A@public.gmane.org \
--cc=rjw-KKrjLPT3xs0@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