projects
/
platform
/
kernel
/
linux-stable.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4370eec
)
arm64: Enable interrupts in the EL0 undef handler
author
Catalin Marinas
<catalin.marinas@arm.com>
Thu, 22 Aug 2013 10:47:37 +0000
(11:47 +0100)
committer
Catalin Marinas
<catalin.marinas@arm.com>
Thu, 22 Aug 2013 10:47:37 +0000
(11:47 +0100)
do_undefinstr() has to be called with interrupts disabled since it may
read the instruction from the user address space which could lead to a
data abort and subsequent might_sleep() warning in do_page_fault().
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
arch/arm64/kernel/entry.S
patch
|
blob
|
history
diff --git
a/arch/arm64/kernel/entry.S
b/arch/arm64/kernel/entry.S
index
6ad781b
..
57640df
100644
(file)
--- a/
arch/arm64/kernel/entry.S
+++ b/
arch/arm64/kernel/entry.S
@@
-476,6
+476,8
@@
el0_undef:
* Undefined instruction
*/
mov x0, sp
+ // enable interrupts before calling the main handler
+ enable_irq
b do_undefinstr
el0_dbg:
/*