Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
linux
Commits
a7b881f1
Commit
a7b881f1
authored
Jun 12, 2003
by
Dave Jones
Committed by
Dave Jones
Jun 12, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Cset exclude: davej@codemonkey.org.uk|ChangeSet|20030611121150|30244
parent
6df4b856
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
3 deletions
+5
-3
arch/i386/kernel/cpu/cpufreq/powernow-k7.c
arch/i386/kernel/cpu/cpufreq/powernow-k7.c
+5
-3
No files found.
arch/i386/kernel/cpu/cpufreq/powernow-k7.c
View file @
a7b881f1
...
@@ -10,7 +10,6 @@
...
@@ -10,7 +10,6 @@
*
*
* Errata 5: Processor may fail to execute a FID/VID change in presence of interrupt.
* Errata 5: Processor may fail to execute a FID/VID change in presence of interrupt.
* - We cli/sti on stepping A0 CPUs around the FID/VID transition.
* - We cli/sti on stepping A0 CPUs around the FID/VID transition.
* (ADDENDUM: This seems to be needed on more systems, so we do it unconditionally now).
* Errata 15: Processors with half frequency multipliers may hang upon wakeup from disconnect.
* Errata 15: Processors with half frequency multipliers may hang upon wakeup from disconnect.
* - We disable half multipliers if ACPI is used on A0 stepping CPUs.
* - We disable half multipliers if ACPI is used on A0 stepping CPUs.
*/
*/
...
@@ -260,7 +259,8 @@ static void change_speed (unsigned int index)
...
@@ -260,7 +259,8 @@ static void change_speed (unsigned int index)
/* Now do the magic poking into the MSRs. */
/* Now do the magic poking into the MSRs. */
__asm__
(
"
\t
cli
\n
"
);
if
(
have_a0
==
1
)
/* A0 errata 5 */
__asm__
(
"
\t
cli
\n
"
);
if
(
freqs
.
old
>
freqs
.
new
)
{
if
(
freqs
.
old
>
freqs
.
new
)
{
/* Going down, so change FID first */
/* Going down, so change FID first */
...
@@ -272,7 +272,9 @@ static void change_speed (unsigned int index)
...
@@ -272,7 +272,9 @@ static void change_speed (unsigned int index)
change_FID
(
vid
);
change_FID
(
vid
);
}
}
__asm__
(
"
\t
sti
\n
"
);
if
(
have_a0
==
1
)
__asm__
(
"
\t
sti
\n
"
);
cpufreq_notify_transition
(
&
freqs
,
CPUFREQ_POSTCHANGE
);
cpufreq_notify_transition
(
&
freqs
,
CPUFREQ_POSTCHANGE
);
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment