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
94f3cc8e
Commit
94f3cc8e
authored
Jul 26, 2018
by
Michael Ellerman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
powerpc/64s: Remove PSERIES from the NORI macros
Signed-off-by:
Michael Ellerman
<
mpe@ellerman.id.au
>
parent
cb58a4a4
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
10 deletions
+10
-10
arch/powerpc/include/asm/exception-64s.h
arch/powerpc/include/asm/exception-64s.h
+5
-5
arch/powerpc/kernel/exceptions-64s.S
arch/powerpc/kernel/exceptions-64s.S
+5
-5
No files found.
arch/powerpc/include/asm/exception-64s.h
View file @
94f3cc8e
...
...
@@ -330,7 +330,7 @@ END_FTR_SECTION_NESTED(ftr,ftr,943)
__EXCEPTION_PROLOG_2(label, h)
/* _NORI variant keeps MSR_RI clear */
#define __EXCEPTION_PROLOG_
PSERIES_1_NORI(label, h)
\
#define __EXCEPTION_PROLOG_
2_NORI(label, h)
\
ld r10,PACAKMSR(r13);
/* get MSR value for kernel */
\
xori r10,r10,MSR_RI;
/* Clear MSR_RI */
\
mfspr r11,SPRN_##h##SRR0;
/* save SRR0 */
\
...
...
@@ -341,8 +341,8 @@ END_FTR_SECTION_NESTED(ftr,ftr,943)
h##RFI_TO_KERNEL; \
b .
/* prevent speculative execution */
#define EXCEPTION_PROLOG_
PSERIES_1_NORI(label, h)
\
__EXCEPTION_PROLOG_
PSERIES_1
_NORI(label, h)
#define EXCEPTION_PROLOG_
2_NORI(label, h)
\
__EXCEPTION_PROLOG_
2
_NORI(label, h)
#define EXCEPTION_PROLOG_PSERIES(area, label, h, extra, vec) \
SET_SCRATCH0(r13);
/* save r13 */
\
...
...
@@ -419,10 +419,10 @@ END_FTR_SECTION_NESTED(ftr,ftr,943)
#endif
/* Do not enable RI */
#define EXCEPTION_PROLOG_
PSERIES_NORI(area, label, h, extra, vec)
\
#define EXCEPTION_PROLOG_
NORI(area, label, h, extra, vec)
\
EXCEPTION_PROLOG_0(area); \
EXCEPTION_PROLOG_1(area, extra, vec); \
EXCEPTION_PROLOG_
PSERIES_1
_NORI(label, h);
EXCEPTION_PROLOG_
2
_NORI(label, h);
#define __KVM_HANDLER(area, h, n) \
...
...
arch/powerpc/kernel/exceptions-64s.S
View file @
94f3cc8e
...
...
@@ -127,7 +127,7 @@ EXC_REAL_BEGIN(system_reset, 0x100, 0x100)
*
MSR_RI
is
not
enabled
,
because
PACA_EXNMI
and
nmi
stack
is
*
being
used
,
so
a
nested
NMI
exception
would
corrupt
it
.
*/
EXCEPTION_PROLOG_
PSERIES_
NORI
(
PACA_EXNMI
,
system_reset_common
,
EXC_STD
,
EXCEPTION_PROLOG_NORI
(
PACA_EXNMI
,
system_reset_common
,
EXC_STD
,
IDLETEST
,
0x100
)
EXC_REAL_END
(
system_reset
,
0
x100
,
0x100
)
...
...
@@ -231,8 +231,8 @@ EXC_COMMON_BEGIN(system_reset_common)
TRAMP_REAL_BEGIN
(
system_reset_fwnmi
)
SET_SCRATCH0
(
r13
)
/*
save
r13
*/
/
*
See
comment
at
system_reset
exception
*/
EXCEPTION_PROLOG_
PSERIES_NORI
(
PACA_EXNMI
,
system_reset_common
,
EXC_STD
,
NOTEST
,
0x100
)
EXCEPTION_PROLOG_
NORI
(
PACA_EXNMI
,
system_reset_common
,
EXC_STD
,
NOTEST
,
0x100
)
#endif /* CONFIG_PPC_PSERIES */
...
...
@@ -338,7 +338,7 @@ machine_check_pSeries_0:
*
nested
machine
check
corrupts
it
.
machine_check_common
enables
*
MSR_RI
.
*/
EXCEPTION_PROLOG_
PSERIES_1
_NORI
(
machine_check_common
,
EXC_STD
)
EXCEPTION_PROLOG_
2
_NORI
(
machine_check_common
,
EXC_STD
)
TRAMP_KVM_SKIP
(
PACA_EXMC
,
0
x200
)
...
...
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