projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ARM: 8195/1: vfp: Bounce undefined instructions in vectored mode
[firefly-linux-kernel-4.4.55.git]
/
arch
/
arm
/
vfp
/
vfphw.S
diff --git
a/arch/arm/vfp/vfphw.S
b/arch/arm/vfp/vfphw.S
index cda654cbf2c289638da7a6da28b685345ffbf0c4..f74a8f7e5f845a817ea21179fa65412217b365fd 100644
(file)
--- a/
arch/arm/vfp/vfphw.S
+++ b/
arch/arm/vfp/vfphw.S
@@
-197,6
+197,12
@@
look_for_VFP_exceptions:
tst r5, #FPSCR_IXE
bne process_exception
+ tst r5, #FPSCR_LENGTH_MASK
+ beq skip
+ orr r1, r1, #FPEXC_DEX
+ b process_exception
+skip:
+
@ Fall into hand on to next handler - appropriate coproc instr
@ not recognised by VFP