From 3386a793a5c92c33c904a598343bff3db8f8abf3 Mon Sep 17 00:00:00 2001 From: equation314 Date: Mon, 29 Oct 2018 23:05:16 +0800 Subject: [PATCH] aarch64: disable NEON --- kernel/aarch64-blog_os.json | 2 +- kernel/src/arch/aarch64/boot/boot.S | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/kernel/aarch64-blog_os.json b/kernel/aarch64-blog_os.json index e3f80a0..b0c24dc 100644 --- a/kernel/aarch64-blog_os.json +++ b/kernel/aarch64-blog_os.json @@ -20,7 +20,7 @@ }, "llvm-target": "aarch64-unknown-none", "no-compiler-rt": true, - "features": "+a53,+strict-align", + "features": "+a53,+strict-align,-neon", "max-atomic-width": 128, "os": "none", "panic": "abort", diff --git a/kernel/src/arch/aarch64/boot/boot.S b/kernel/src/arch/aarch64/boot/boot.S index 974d6ed..1740a20 100644 --- a/kernel/src/arch/aarch64/boot/boot.S +++ b/kernel/src/arch/aarch64/boot/boot.S @@ -55,7 +55,6 @@ switch_to_el1: movk x0, #0x8000, lsl #16 msr hcr_el2, x0 - # don't trap accessing SVE registers (ref: D10.2.30) msr cptr_el2, xzr