ARM64: Force hardware emulation of deprecated instructions.

This commit is contained in:
Michael Zoran
2017-02-11 01:18:31 -08:00
committed by Dom Cobley
parent f1be28e65c
commit edce04b10b

View File

@@ -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: