projects
/
platform
/
kernel
/
linux-amlogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3f09163
)
aarch64: enable swp software emulation [1/1]
author
Jianxin Pan
<jianxin.pan@amlogic.com>
Tue, 30 Oct 2018 10:08:09 +0000
(18:08 +0800)
committer
Jianxin Pan
<jianxin.pan@amlogic.com>
Tue, 6 Nov 2018 04:22:17 +0000
(21:22 -0700)
PD#IPTV-14
Problem:
3D Benchmark.apk crash
Solution:
Add swp instruction support on armv8
Verify:
local
Change-Id: Ice2bef5c0ef7110b3adb4af811f99d4bfca1e8dc
Signed-off-by: Jianxin Pan <jianxin.pan@amlogic.com>
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
29d2ad8
..
6499b24
100644
(file)
--- a/
arch/arm64/kernel/armv8_deprecated.c
+++ b/
arch/arm64/kernel/armv8_deprecated.c
@@
-454,7
+454,11
@@
static struct undef_hook swp_hooks[] = {
static struct insn_emulation_ops swp_ops = {
.name = "swp",
+#ifdef CONFIG_AMLOGIC_MODIFY
+ .status = INSN_DEPRECATED,
+#else
.status = INSN_OBSOLETE,
+#endif
.hooks = swp_hooks,
.set_hw_mode = NULL,
};