From: Peng Fan <peng....@nxp.com> Some compilers default use hardfloat to generate instructions, so it will use some FPU/NEON registers to do some optimization.
However some inmates might use FPU/NEON registers do some calculation such as vector/audio and etc. So we need to disable jailhouse use these registers. Use `-march=armv8-a+nofp` for this. Reported-by: Michal Hanak <michal.ha...@nxp.com> Signed-off-by: Peng Fan <peng....@nxp.com> --- V2: Subject Change hypervisor/arch/arm64/Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/hypervisor/arch/arm64/Makefile b/hypervisor/arch/arm64/Makefile index 1eb961d2..0718994d 100644 --- a/hypervisor/arch/arm64/Makefile +++ b/hypervisor/arch/arm64/Makefile @@ -11,3 +11,5 @@ # LINUXINCLUDE += -I$(src)/arch/arm-common/include + +KBUILD_CFLAGS += -march=armv8-a+nofp -- 2.16.4 -- You received this message because you are subscribed to the Google Groups "Jailhouse" group. To unsubscribe from this group and stop receiving emails from it, send an email to jailhouse-dev+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jailhouse-dev/20200821024921.3075-2-peng.fan%40nxp.com.