armv8_deprecated.c (5c47e3cfd4f9d12e9f594d99118c1381c163ff98) armv8_deprecated.c (117f5727ae058de03e2407f5fe566e715d143596)
1/*
2 * Copyright (C) 2014 ARM Limited
3 *
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License version 2 as
6 * published by the Free Software Foundation.
7 */
8

--- 622 unchanged lines hidden (view full) ---

631
632 if (IS_ENABLED(CONFIG_CP15_BARRIER_EMULATION))
633 register_insn_emulation(&cp15_barrier_ops);
634
635 if (IS_ENABLED(CONFIG_SETEND_EMULATION)) {
636 if(system_supports_mixed_endian_el0())
637 register_insn_emulation(&setend_ops);
638 else
1/*
2 * Copyright (C) 2014 ARM Limited
3 *
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License version 2 as
6 * published by the Free Software Foundation.
7 */
8

--- 622 unchanged lines hidden (view full) ---

631
632 if (IS_ENABLED(CONFIG_CP15_BARRIER_EMULATION))
633 register_insn_emulation(&cp15_barrier_ops);
634
635 if (IS_ENABLED(CONFIG_SETEND_EMULATION)) {
636 if(system_supports_mixed_endian_el0())
637 register_insn_emulation(&setend_ops);
638 else
639 pr_info("setend instruction emulation is not supported on the system");
639 pr_info("setend instruction emulation is not supported on this system\n");
640 }
641
642 cpuhp_setup_state_nocalls(CPUHP_AP_ARM64_ISNDEP_STARTING,
643 "arm64/isndep:starting",
644 run_all_insn_set_hw_mode, NULL);
645 register_insn_emulation_sysctl(ctl_abi);
646
647 return 0;
648}
649
650late_initcall(armv8_deprecated_init);
640 }
641
642 cpuhp_setup_state_nocalls(CPUHP_AP_ARM64_ISNDEP_STARTING,
643 "arm64/isndep:starting",
644 run_all_insn_set_hw_mode, NULL);
645 register_insn_emulation_sysctl(ctl_abi);
646
647 return 0;
648}
649
650late_initcall(armv8_deprecated_init);