mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-25 00:11:13 +00:00
d2626bd2a7
Changelog: https://cdn.kernel.org/pub/linux/kernel/v6.x/ChangeLog-6.6.42 Removed upstreamed: bcm27xx/patches-6.6/950-0490-input-ads7846-Add-missing-spi_device_id-strings.patch[1] All patches automatically rebased. 1. https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v6.6.42&id=528466f921aa7637bca684ce2d7d62cdb2c34013 Build system: x86/64 Build-tested: x86/64/AMD Cezanne, flogic/xiaomi_redmi-router-ax6000-ubootmod, ramips/tplink_archer-a6-v3 Run-tested: x86/64/AMD Cezanne, flogic/xiaomi_redmi-router-ax6000-ubootmod, ramips/tplink_archer-a6-v3 Signed-off-by: John Audia <therealgraysky@proton.me> Link: https://github.com/openwrt/openwrt/pull/16010 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
28 lines
824 B
Diff
28 lines
824 B
Diff
From 316a4c02310f6a30b4b54b0905608236fee42c42 Mon Sep 17 00:00:00 2001
|
|
From: Michael Zoran <mzoran@crowfest.net>
|
|
Date: Sat, 11 Feb 2017 01:18:31 -0800
|
|
Subject: [PATCH 0113/1085] ARM64: Force hardware emulation of deprecated
|
|
instructions.
|
|
|
|
---
|
|
arch/arm64/kernel/armv8_deprecated.c | 5 +++++
|
|
1 file changed, 5 insertions(+)
|
|
|
|
--- a/arch/arm64/kernel/armv8_deprecated.c
|
|
+++ b/arch/arm64/kernel/armv8_deprecated.c
|
|
@@ -542,9 +542,14 @@ static void __init register_insn_emulati
|
|
|
|
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:
|