linux-stable/arch
Dave Jones 2d0c661b97 [PATCH] Fix powernow oops on dual-core athlon
Date: Thu, 28 Jul 2005 16:38:21 +0000 (-0700)
Subject: powernow-k8 requires that a data structure for
X-Git-Tag: v2.6.13-rc4
X-Git-Url: http://www.kernel.org/git/gitweb.cgi?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=03938c3f1062b0f279a0ef937a471d4db83702ed

powernow-k8 requires that a data structure for
each core be created in the _cpu_init function
call.  The cpufreq infrastructure doesn't call
_cpu_init for the second core in each processor.
Some systems crashed when _get was called with
an odd-numbered core because it tried to
dereference a NULL pointer since the data
structure had not been created.

The attached patch solves the problem by
initializing data structures for all shared
cores in the _cpu_init function.  It should
apply to 2.6.12-rc6 and has been tested by
AMD and Sun.

Signed-off-by: Mark Langsdorf <mark.langsdorf@amd.com>
Signed-off-by: Dave Jones <davej@redhat.com>
Signed-off-by: Chris Wright <chrisw@osdl.org>
2005-08-05 00:04:25 -07:00
..
alpha [PATCH] alpha/osf_sys: use helper functions to convert between tv and jiffies 2005-05-17 07:59:21 -07:00
arm [PATCH] ARM: 2715/1: restore CPLD interrupts upon resume for Lubbock and Mainstone 2005-06-16 21:23:56 +01:00
arm26 [PATCH] ISA DMA Kconfig fixes - part 1 2005-05-04 07:33:13 -07:00
cris [PATCH] convert that currently tests _NSIG directly to use valid_signal() 2005-05-01 08:59:14 -07:00
frv [PATCH] convert that currently tests _NSIG directly to use valid_signal() 2005-05-01 08:59:14 -07:00
h8300 [PATCH] h8300 sleep problem 2005-05-31 14:54:17 -07:00
i386 [PATCH] Fix powernow oops on dual-core athlon 2005-08-05 00:04:25 -07:00
ia64 [PATCH] ia64 ptrace + sigrestore_context (CAN-2005-1761) 2005-06-22 12:32:50 -07:00
m32r [PATCH] convert that currently tests _NSIG directly to use valid_signal() 2005-05-01 08:59:14 -07:00
m68k [PATCH] M68k: Mark Sun-3 NCR5380 SCSI broken 2005-06-12 20:43:22 -07:00
m68knommu [PATCH] m68knommu: fix scheduling and race problems in idle loop 2005-06-03 08:16:17 -07:00
mips [PATCH] mips: add resource management to pmu 2005-05-17 07:59:20 -07:00
parisc [PATCH] ISA DMA Kconfig fixes - part 1 2005-05-04 07:33:13 -07:00
ppc [PATCH] ppc32: stop misusing ntps time_offset value 2005-07-15 14:15:24 -07:00
ppc64 [PATCH] update ppc64 defconfig 2005-06-14 17:41:39 -07:00
s390 [PATCH] s390: deadlock in appldata 2005-06-04 17:13:00 -07:00
sh [PATCH] ISA DMA Kconfig fixes - part 1 2005-05-04 07:33:13 -07:00
sh64 [PATCH] convert that currently tests _NSIG directly to use valid_signal() 2005-05-01 08:59:14 -07:00
sparc [SPARC]: Remove legacy stuff from cpu_idle(). 2005-05-05 14:53:01 -07:00
sparc64 [SPARC64]: Refine PCI strbuf ctx-based flush. 2005-05-31 19:13:52 -07:00
um [PATCH] uml: fix TT mode by reverting "use fork instead of clone" 2005-07-15 14:15:26 -07:00
v850 [PATCH] convert that currently tests _NSIG directly to use valid_signal() 2005-05-01 08:59:14 -07:00
x86_64 [PATCH] x86_64 memleak from malicious 32bit elf program 2005-08-05 00:04:16 -07:00