[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Minios-devel] [UNIKRAFT RFC PATCH 0/5] Support float point on arm64 kvm plat



This series is to enable the float point support on arm64 kvm plat.

The key point is the patch 01 and 05
patch 01: write the sys regs to enable fp
patch 05: save/restore the q0-q31 during context switch

Tested on a ThundX2
qemu command line:/usr/local/bin/qemu-system-aarch64  \
-machine virt,gic-version=2 -m 1024 -cpu max -no-acpi -smp 1 \
-display none  -nographic -nodefaults -serial stdio \
-kernel build/helloworld_kvm-arm64

I created a app with 2 threads, and then print their local double/float
variables. Looks fine to me.

Jia He (5):
  plat: build: Add a config option to enable fp on arm64
  plat/kvm: arm64: Enable the fp/simd at the starting point
  arch/arm64: Don't pass -mgeneral-regs-only when CONFIG_FLOAT_POINT is
    y
  build: Link libgcc at the end of the link options list
  plat/arm: Support fp/simd save/restore during context switch

 arch/arm/arm64/Makefile.uk          |  6 +++
 plat/Config.uk                      |  7 +++
 plat/common/arm/thread_start64.S    | 83 +++++++++++++++++++++++++++++
 plat/common/include/arm/arm64/cpu.h | 46 +++++++++++++++-
 plat/kvm/Linker.uk                  |  2 +
 plat/kvm/arm/entry64.S              |  8 +++
 6 files changed, 150 insertions(+), 2 deletions(-)

-- 
2.17.1


_______________________________________________
Minios-devel mailing list
Minios-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/minios-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.