projects
/
platform
/
kernel
/
linux-rpi3.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4ee5b65
)
ARM64: Force hardware emulation of deprecated instructions.
author
Michael Zoran
<mzoran@crowfest.net>
Sat, 11 Feb 2017 09:18:31 +0000
(
01:18
-0800)
committer
popcornmix
<popcornmix@gmail.com>
Mon, 13 May 2019 23:07:59 +0000
(
00:07
+0100)
arch/arm64/kernel/armv8_deprecated.c
patch
|
blob
|
history
diff --git
a/arch/arm64/kernel/armv8_deprecated.c
b/arch/arm64/kernel/armv8_deprecated.c
index
92be1d1
..
70852e9
100644
(file)
--- a/
arch/arm64/kernel/armv8_deprecated.c
+++ b/
arch/arm64/kernel/armv8_deprecated.c
@@
-182,10
+182,15
@@
static void __init register_insn_emulation(struct insn_emulation_ops *ops)
switch (ops->status) {
case INSN_DEPRECATED:
+#if 0
insn->current_mode = INSN_EMULATE;
/* Disable the HW mode if it was turned on at early boot time */
run_all_cpu_set_hw_mode(insn, false);
+#else
+ insn->current_mode = INSN_HW;
+ run_all_cpu_set_hw_mode(insn, true);
insn->max = INSN_HW;
+#endif
break;
case INSN_OBSOLETE:
insn->current_mode = INSN_UNDEF;