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

RE: [UNIKRAFT PATCH v5 0/7] Support float point on arm64 kvm plat


  • To: Sharan Santhanam <sharan.santhanam@xxxxxxxxx>, "minios-devel@xxxxxxxxxxxxxxxxxxxx" <minios-devel@xxxxxxxxxxxxxxxxxxxx>
  • From: Justin He <Justin.He@xxxxxxx>
  • Date: Thu, 9 Apr 2020 11:38:59 +0000
  • Accept-language: en-US, zh-CN
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=arm.com; dmarc=pass action=none header.from=arm.com; dkim=pass header.d=arm.com; arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=VgRldwA6avbmYeEw6SnFeDV2p7eXlBXFgI2jIO/osx8=; b=VaYT0jdnKY+Bh/MMoQY09ncwrmBCBQ4NSDixlqaytT39AmKhrPi9hPIfVgHcEqzTaxF4JwdJqp9zhJaAxXIosqKWlSpz7dzguvsZP+f3fViYDP+K+Y12IzR+YL8VS7cGAgCUVeuRTpkuQjG3Vmu5BJE1aw9RlZknlAP8Ke1x2rVKui9tHjXFvzHENqCWJ5WJyNLpII+GGiH+gs+pBaGDpIgvHG1A67tPhCwynMM+jBBBBefozqlR+8/6XFBIivH2MbETiRn8nnMvNwH66MbV8LQagZQKFzpm/IHV9R1pSMsFw4veZDq7ahtCUektEqg0TEFPXOB8EwuNKDw50D51lg==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=UKqdvy/8nYPBba590cM8kS/fFPaSWcmfEYEtIR8WlzflBvYP2TKQW2xbRscauCsf148+WqbYz9oHnt0/rzfEqxb94vgJ2ik8/doiSDZ9QNvFP5TE8nII/F5fWrDH6l0ud20+PdymGYDAwnfnTdwjIYANZOyZaVyviXcMvxOhh9V/FsUj3ijXZniJS9QiFmlk8XnZod+H9mTem4Z9DiBjfaCpadPWE14TDV6WTJRM/3AmvoK/92oN9MPQUy3CS7h0bmvaLjGaNJep8gCnaGO+UMgWPqKW3OE7XADD2D/WUMaf8dYPlQ6Nns/6Wy+xtex0xIovKhgIvHWSAU7AnLYZpA==
  • Authentication-results: spf=pass (sender IP is 63.35.35.123) smtp.mailfrom=arm.com; lists.xenproject.org; dkim=pass (signature was verified) header.d=armh.onmicrosoft.com;lists.xenproject.org; dmarc=bestguesspass action=none header.from=arm.com;
  • Authentication-results-original: spf=none (sender IP is ) smtp.mailfrom=Justin.He@xxxxxxx;
  • Cc: Felipe Huici <felipe.huici@xxxxxxxxx>, Kaly Xin <Kaly.Xin@xxxxxxx>, Simon Kuenzer <simon.kuenzer@xxxxxxxxx>, nd <nd@xxxxxxx>
  • Delivery-date: Thu, 09 Apr 2020 11:39:12 +0000
  • List-id: Mini-os development list <minios-devel.lists.xenproject.org>
  • Nodisclaimer: true
  • Original-authentication-results: spf=none (sender IP is ) smtp.mailfrom=Justin.He@xxxxxxx;
  • Thread-index: AQHWDhViMPLB7XdR+kav661BG11+lqhwhCQAgAAmZ4A=
  • Thread-topic: [UNIKRAFT PATCH v5 0/7] Support float point on arm64 kvm plat

Hi Sharan, thanks for your review 😊

--
Cheers,
Justin (Jia He)



> -----Original Message-----
> From: Sharan Santhanam <sharan.santhanam@xxxxxxxxx>
> Sent: Thursday, April 9, 2020 5:21 PM
> To: Justin He <Justin.He@xxxxxxx>; minios-devel@xxxxxxxxxxxxxxxxxxxx
> Cc: Simon Kuenzer <simon.kuenzer@xxxxxxxxx>; Felipe Huici
> <felipe.huici@xxxxxxxxx>; Kaly Xin <Kaly.Xin@xxxxxxx>; nd <nd@xxxxxxx>
> Subject: Re: [UNIKRAFT PATCH v5 0/7] Support float point on arm64 kvm plat
> 
> Hello Justin,
> 
> Thank you for the work and I have upstreamed the patch series.
> 
> Thanks & regards
> 
> Sharan
> 
> On 4/9/20 4:19 AM, Jia He wrote:
> > This series is to enable the fpsimd support on arm64 kvm plat.
> >
> > The key points are in the patch 3 and 4
> >
> > Tested on a ThundX2 qemu "-machine virt" guest machine.
> > 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 simple app with 2 threads, and then print their local
> > double/float variables. Results Look fine to me.
> >
> > Changes:
> > v5:
> >   - add r-b for patch 1,3, and only patch 2,4 have no r-b tag.
> >   - correct the header file, and clean codes in patch 4 (by Sharan)
> > v4: address most of the comments from Sharan
> >   - change the fp_save/restore_store as per freebsd way
> >   - refine the help msg in patch 1
> >   - add r-b for patch 5,6,7
> >   - s/CONFIG_FLOAT_POINT/CONFIG_FPSIMD/g
> > v3: rebase to latest staging branch
> > v2: remove RFC tag.
> >   - utilize 'isr' variant feature introduced by Simon, this addresses the
> >     mgeneral-regs-only issue in v1.
> >   - refactor the save/restore codes due to license issue.
> >
> > Jia He (7):
> >    plat: build: Add a config option to enable fp on arm64
> >    build: Link libgcc at the end of the link options list
> >    plat/kvm: arm64: Enable the fp/simd at the starting point
> >    plat/arm: Support fp/simd save/restore during context switch
> >    arch/arm64: Don't pass -mgeneral-regs-only when CONFIG_FPSIMD is y
> >    arch/arm64: Fix -mfpu=none when not supporting fpsimd
> >    build: Add 'isr' variant for arm64 kvm plat source files called within
> >      irq context
> >
> >   arch/arm/arm64/Makefile.uk          |  7 ++-
> >   plat/Config.uk                      |  7 +++
> >   plat/common/arm/fp_arm64.c          | 80 +++++++++++++++++++++++++++++
> >   plat/common/include/arm/arm64/cpu.h | 46 ++++++++++++++++-
> >   plat/kvm/Linker.uk                  |  2 +
> >   plat/kvm/Makefile.uk                | 11 ++--
> >   plat/kvm/arm/entry64.S              |  8 +++
> >   7 files changed, 152 insertions(+), 9 deletions(-)
> >   create mode 100644 plat/common/arm/fp_arm64.c
> >

 


Rackspace

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