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
Kirill Smelkov
linux
Commits
8848af93
Commit
8848af93
authored
Feb 24, 2003
by
Anton Blanchard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ppc64: use fast version of mtmsrd when changing RI, from Milton Miller
parent
ebd27d3a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
arch/ppc64/kernel/entry.S
arch/ppc64/kernel/entry.S
+1
-1
arch/ppc64/kernel/head.S
arch/ppc64/kernel/head.S
+3
-3
No files found.
arch/ppc64/kernel/entry.S
View file @
8848af93
...
@@ -396,7 +396,7 @@ restore:
...
@@ -396,7 +396,7 @@ restore:
mfmsr
r0
mfmsr
r0
li
r2
,
MSR_RI
li
r2
,
MSR_RI
andc
r0
,
r0
,
r2
andc
r0
,
r0
,
r2
mtmsrd
r0
mtmsrd
r0
,
1
ld
r0
,
_MSR
(
r1
)
ld
r0
,
_MSR
(
r1
)
mtspr
SRR1
,
r0
mtspr
SRR1
,
r0
...
...
arch/ppc64/kernel/head.S
View file @
8848af93
...
@@ -562,7 +562,7 @@ fast_exception_return:
...
@@ -562,7 +562,7 @@ fast_exception_return:
mfmsr
r20
mfmsr
r20
li
r21
,
MSR_RI
li
r21
,
MSR_RI
andc
r20
,
r20
,
r21
andc
r20
,
r20
,
r21
mtmsrd
r20
mtmsrd
r20
,
1
mtspr
SRR1
,
r23
mtspr
SRR1
,
r23
mtspr
SRR0
,
r22
mtspr
SRR0
,
r22
...
@@ -989,7 +989,7 @@ _GLOBAL(do_stab_bolted)
...
@@ -989,7 +989,7 @@ _GLOBAL(do_stab_bolted)
mfmsr
r22
mfmsr
r22
li
r23
,
MSR_RI
li
r23
,
MSR_RI
andc
r22
,
r22
,
r23
andc
r22
,
r22
,
r23
mtmsrd
r22
mtmsrd
r22
,
1
ld
r22
,
EX_SRR0
(
r21
)
/*
Get
SRR0
from
exc
.
frame
*/
ld
r22
,
EX_SRR0
(
r21
)
/*
Get
SRR0
from
exc
.
frame
*/
ld
r23
,
EX_SRR1
(
r21
)
/*
Get
SRR1
from
exc
.
frame
*/
ld
r23
,
EX_SRR1
(
r21
)
/*
Get
SRR1
from
exc
.
frame
*/
...
@@ -1094,7 +1094,7 @@ SLB_NUM_ENTRIES = 64
...
@@ -1094,7 +1094,7 @@ SLB_NUM_ENTRIES = 64
mfmsr
r22
mfmsr
r22
li
r23
,
MSR_RI
li
r23
,
MSR_RI
andc
r22
,
r22
,
r23
andc
r22
,
r22
,
r23
mtmsrd
r22
mtmsrd
r22
,
1
ld
r22
,
EX_SRR0
(
r21
)
/*
Get
SRR0
from
exc
.
frame
*/
ld
r22
,
EX_SRR0
(
r21
)
/*
Get
SRR0
from
exc
.
frame
*/
ld
r23
,
EX_SRR1
(
r21
)
/*
Get
SRR1
from
exc
.
frame
*/
ld
r23
,
EX_SRR1
(
r21
)
/*
Get
SRR1
from
exc
.
frame
*/
...
...
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