projects
/
linux-2.6-microblaze.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e963b7a
)
powerpc/40x: Make more space for system call exception
author
Christophe Leroy
<christophe.leroy@csgroup.eu>
Sat, 9 May 2020 17:05:11 +0000
(17:05 +0000)
committer
Michael Ellerman
<mpe@ellerman.id.au>
Tue, 12 May 2020 11:22:11 +0000
(21:22 +1000)
When CONFIG_VIRT_CPU_ACCOUNTING is selected, system call exception
handler doesn't fit below 0xd00 and build fails.
As exception 0xd00 doesn't exist and is never generated by 40x,
comment it out in order to get more space for system call exception.
Fixes:
9e27086292aa
("powerpc/32: Warn and return ENOSYS on syscalls from kernel")
Reported-by: kbuild test robot <lkp@intel.com>
Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link:
https://lore.kernel.org/r/633165d72f75b4ef4c0901aebe99d3915c93e9a2.1589043863.git.christophe.leroy@csgroup.eu
arch/powerpc/kernel/head_40x.S
patch
|
blob
|
history
diff --git
a/arch/powerpc/kernel/head_40x.S
b/arch/powerpc/kernel/head_40x.S
index
9bb6639
..
2cec543
100644
(file)
--- a/
arch/powerpc/kernel/head_40x.S
+++ b/
arch/powerpc/kernel/head_40x.S
@@
-344,8
+344,9
@@
_ENTRY(saved_ksp_limit)
/* 0x0C00 - System Call Exception */
START_EXCEPTION(0x0C00, SystemCall)
SYSCALL_ENTRY 0xc00
+/* Trap_0D is commented out to get more space for system call exception */
- EXCEPTION(0x0D00, Trap_0D, unknown_exception, EXC_XFER_STD)
+/* EXCEPTION(0x0D00, Trap_0D, unknown_exception, EXC_XFER_STD) */
EXCEPTION(0x0E00, Trap_0E, unknown_exception, EXC_XFER_STD)
EXCEPTION(0x0F00, Trap_0F, unknown_exception, EXC_XFER_STD)