projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3013bd7
)
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
Dom Cobley
<popcornmix@gmail.com>
Mon, 19 Feb 2024 11:32:47 +0000
(11:32 +0000)
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
e459cfd
..
fc16351
100644
(file)
--- a/
arch/arm64/kernel/armv8_deprecated.c
+++ b/
arch/arm64/kernel/armv8_deprecated.c
@@
-539,9
+539,14
@@
static void __init register_insn_emulation(struct insn_emulation *insn)
switch (insn->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);
+#endif
insn->max = INSN_HW;
break;
case INSN_OBSOLETE: