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
f02e6c61
Commit
f02e6c61
authored
Jun 08, 2017
by
Helge Deller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
parisc: Don't hardcode PSW values in hpmc code
Signed-off-by:
Helge Deller
<
deller@gmx.de
>
parent
3f4fb108
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
arch/parisc/kernel/hpmc.S
arch/parisc/kernel/hpmc.S
+3
-2
No files found.
arch/parisc/kernel/hpmc.S
View file @
f02e6c61
...
...
@@ -44,6 +44,7 @@
#include <asm/assembly.h>
#include <asm/pdc.h>
#include <asm/psw.h>
#include <linux/linkage.h>
#include <linux/init.h>
...
...
@@ -135,7 +136,7 @@ ENTRY_CFI(os_hpmc)
*
So
turn
on
the
Q
bit
and
turn
off
the
M
bit
.
*/
ld
o
8
(%
r0
),%
r4
/*
PSW
Q
on
,
PSW
M
off
*/
ld
i
PSW_SM_Q
,%
r4
/*
PSW
Q
on
,
PSW
M
off
*/
mtctl
%
r4
,
ipsw
mtctl
%
r0
,
pcsq
mtctl
%
r0
,
pcsq
...
...
@@ -257,7 +258,7 @@ os_hpmc_5:
tovirt_r1
%
r30
/*
make
sp
virtual
*/
rsm
8
,%
r0
/*
Clear
Q
bit
*/
rsm
PSW_SM_Q
,%
r0
/*
Clear
Q
bit
*/
ldi
1
,%
r8
/*
Set
trap
code
to
"1"
for
HPMC
*/
load32
PA
(
intr_save
),%
r1
be
0
(%
sr7
,%
r1
)
...
...
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