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

Re: [Minios-devel] [UNIKRAFT RFC PATCH 1/5] plat: build: Add a config option to enable fp on arm64


  • To: Julien Grall <julien@xxxxxxx>, "minios-devel@xxxxxxxxxxxxxxxxxxxx" <minios-devel@xxxxxxxxxxxxxxxxxxxx>, Simon Kuenzer <simon.kuenzer@xxxxxxxxx>, "Santiago.Pagani@xxxxxxxxx" <Santiago.Pagani@xxxxxxxxx>
  • From: Justin He <Justin.He@xxxxxxx>
  • Date: Fri, 20 Dec 2019 00:56:32 +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=+6rf3UcFfMrRruDDYULzEe2OWVXz18av1ZNSLGZEilg=; b=TrPoKP0fP22kYxYJQfVt7mInonc4IrkPPM78qCDJzYSvHqMJLyiVtHtHOBTNFBqU3jld/Qhb4JU6vZPHo0YWouzl7rHDcR/2wZAz6YKID/nb/k6nF+brB99sxam4q6Wd0SdOFXtXOQ5GeYeANxWu1rLCcw64iU8DXsHjlMriJIFb2yJ6zqb7ZMrU/o0xuD+E9l9QZrQ3OU1j5pw8lF62dKZFHl87fhkesCyVmw2sR63LB6Kvs5CsCLA6cZvOcRUdDZDr3jAREaNd4st6qWb9nPnR7AhJcyUGIPgDLHJpYkwqevvu0GztkSxOK/D5JMqMck2v5T6TrBcKhxp0wMvsOA==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=BjXMERQSkHzSb7sWbXLomQh+S2TF1CAMLN9edf9oPhwVRWkvOZRnc01g/pD2BHm1QgYPPe5FvLoFGSLoX5/S8fIu1iusPJoY4V/TtSFsMn8cirTeN1/cNB3HJ/6u5sev/o1EarycQR86oQOaWfy3upQxukX6W4KyoqORvll3LkVGlvf/Mq3+aodFO68zzUKQaCMS6iZ5p2jbA522ZIpBbs56Zm6J6ixfMLQ2fuiWjRlInXkJ2nLGowyTTSJTS3aux24ddZLoZhfEgD0OUWGVWrA9vICEKqCinHFgs2lU8GNZP4cXPua+KQSscs95ZD2/lcQkcwEJEADIPx2EYX543A==
  • 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>, Julien Grall <Julien.Grall@xxxxxxx>, "Sharan.Santhanam@xxxxxxxxx" <Sharan.Santhanam@xxxxxxxxx>
  • Delivery-date: Fri, 20 Dec 2019 00:56:50 +0000
  • List-id: Mini-os development list <minios-devel.lists.xenproject.org>
  • Original-authentication-results: spf=none (sender IP is ) smtp.mailfrom=Justin.He@xxxxxxx;
  • Thread-index: AQHVtnh+FQnFSmqZY06/IwhTXs1Pf6fBhbAAgACtYxA=
  • Thread-topic: [Minios-devel] [UNIKRAFT RFC PATCH 1/5] plat: build: Add a config option to enable fp on arm64

Hi Julien

> -----Original Message-----
> From: Julien Grall <julien@xxxxxxx>
> Sent: Thursday, December 19, 2019 10:34 PM
> To: Justin He <Justin.He@xxxxxxx>; minios-devel@xxxxxxxxxxxxxxxxxxxx;
> Simon Kuenzer <simon.kuenzer@xxxxxxxxx>; Santiago.Pagani@xxxxxxxxx
> Cc: Felipe Huici <felipe.huici@xxxxxxxxx>; Kaly Xin <Kaly.Xin@xxxxxxx>;
> Julien Grall <Julien.Grall@xxxxxxx>; Sharan.Santhanam@xxxxxxxxx
> Subject: Re: [Minios-devel] [UNIKRAFT RFC PATCH 1/5] plat: build: Add a
> config option to enable fp on arm64
>
> Hi,
>
> On 19/12/2019 14:27, Jia He wrote:
> > This config is to enable the support for arm64 fp feature. Fp is for
> > application only, never for Unkraft kernel itself.
> >
> > This config is 'n' by default since there is some overhead during context
> > switch.
> >
> > Signed-off-by: Jia He <justin.he@xxxxxxx>
> > ---
> >   plat/Config.uk | 7 +++++++
> >   1 file changed, 7 insertions(+)
> >
> > diff --git a/plat/Config.uk b/plat/Config.uk
> > index 0eb5a10..f555f17 100644
> > --- a/plat/Config.uk
> > +++ b/plat/Config.uk
> > @@ -21,3 +21,10 @@ config HZ
> >     help
> >             Configure the timer interrupt frequency.
> >             Only change this if you know what you're doing.
> > +
> > +config FLOAT_POINT
> > +   bool "arm64 floating point support in application"
> > +   default n
> > +   depends on ARCH_ARM_64
> > +   help
> > +           Enable support FPU usage in application
>
> Does this config needs to be Arm64 bit? Can't this potentially be
> re-used for other arch?
>
IIUC, Unikraft on x86 kvm plat had supported floating point without any issue
Do you mean this config should be used for arm32?

--
Cheers,
Justin (Jia He)


> Cheers,
>
> --
> Julien Grall
IMPORTANT NOTICE: The contents of this email and any attachments are 
confidential and may also be privileged. If you are not the intended recipient, 
please notify the sender immediately and do not disclose the contents to any 
other person, use it for any purpose, or store or copy the information in any 
medium. Thank you.
_______________________________________________
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®.