How to disable NEON in kernel5.4.55 for ARM64

Trey Chen (陳振華) trey.chen at econet-inc.com
Tue Nov 17 02:13:55 EST 2020


Dear linux-arm-kernel,

We use CA-53 CPU and want to run on ARM64 Kernel5.4.55. 
For some reason, we remove NEON from CA-53.

Do you know how to disable NEON in kernel5.4.55 for ARM64?

Ps. by ARM AE’s suggestion, I have done the following two steps but I don’t know if that’s enough?!

1.	Set KERNEL_MODE_NEON’s def_bool as n in arch/arm64/Kconfig
2.	Not enabling FP/ASIMD in __cpu_setup() in arch/arm64/mm/proc.S

Thanks,
-Trey


More information about the linux-arm-kernel mailing list