1 From 316a4c02310f6a30b4b54b0905608236fee42c42 Mon Sep 17 00:00:00 2001
2 From: Michael Zoran <mzoran@crowfest.net>
3 Date: Sat, 11 Feb 2017 01:18:31 -0800
4 Subject: [PATCH 0113/1085] ARM64: Force hardware emulation of deprecated
8 arch/arm64/kernel/armv8_deprecated.c | 5 +++++
9 1 file changed, 5 insertions(+)
11 --- a/arch/arm64/kernel/armv8_deprecated.c
12 +++ b/arch/arm64/kernel/armv8_deprecated.c
13 @@ -539,9 +539,14 @@ static void __init register_insn_emulati
15 switch (insn->status) {
18 insn->current_mode = INSN_EMULATE;
19 /* Disable the HW mode if it was turned on at early boot time */
20 run_all_cpu_set_hw_mode(insn, false);
22 + insn->current_mode = INSN_HW;
23 + run_all_cpu_set_hw_mode(insn, true);