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

Re: [Minios-devel] [UNIKRAFT early RFC PATCH 00/11] Enble early SMP support on arm64 kvm plat


  • To: Julien Grall <Julien.Grall@xxxxxxx>, "minios-devel@xxxxxxxxxxxxxxxxxxxx" <minios-devel@xxxxxxxxxxxxxxxxxxxx>, Simon Kuenzer <simon.kuenzer@xxxxxxxxx>, "Sharan.Santhanam@xxxxxxxxx" <Sharan.Santhanam@xxxxxxxxx>
  • From: "Justin He (Arm Technology China)" <Justin.He@xxxxxxx>
  • Date: Thu, 27 Jun 2019 06:21:10 +0000
  • Accept-language: en-US, zh-CN
  • Arc-authentication-results: i=1; test.office365.com 1;spf=none;dmarc=none;dkim=none;arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=testarcselector01; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=FRO+KXq1sC7mRBO4amW+qJvVrjGjCYJhgujAvbMTs8g=; b=yT0PCE2MFWitG64yrfEOsSB15kWExjkJoXQLWwpyU0MRsvcyJ1i9bXKiPcI0sr8kfMRgSKxE+8jMLb4S/NUqEbqnkquC4gsj/Z5lacn0dwo1Tnu9jI0eVvSWNBmgbMQXm7sLsxQe5B7iaDDq6YyPPvr8H5uVA7WJIZnHdxuD1cQ=
  • Arc-seal: i=1; a=rsa-sha256; s=testarcselector01; d=microsoft.com; cv=none; b=OEjHDLR8NwgajdAP8d6AP/xZFaWcihhY+FG8U3qWj7osIEewT3FxgANAI1sgiMDlemAG2p3DlrI14gUDMnGRXcCZJ5jL66hKUeUm7bHsSX+HIACS6yLhX/Al/LV8veZAeXG9h37qTZE/tGcxPMKlU0HOnCFwxbyaNwRDyYLAA0w=
  • Authentication-results: spf=none (sender IP is ) smtp.mailfrom=Justin.He@xxxxxxx;
  • Cc: Felipe Huici <felipe.huici@xxxxxxxxx>, Florian Schmidt <florian.schmidt@xxxxxxxxx>, "yuri.volchkov@xxxxxxxxx" <yuri.volchkov@xxxxxxxxx>, "Kaly Xin \(Arm Technology China\)" <Kaly.Xin@xxxxxxx>
  • Delivery-date: Thu, 27 Jun 2019 06:21:18 +0000
  • List-id: Mini-os development list <minios-devel.lists.xenproject.org>
  • Thread-index: AQHVJ/6vjr8oC49Y4Uynz/BJYAUxxqamPTcAgAjTRcA=
  • Thread-topic: [UNIKRAFT early RFC PATCH 00/11] Enble early SMP support on arm64 kvm plat

Hi Julien
Thanks for the comments.
I will record all of your comments about smp support series and address them 
after a while in next version.

--
Cheers,
Justin (Jia He)



> -----Original Message-----
> From: Julien Grall <julien.grall@xxxxxxx>
> Sent: 2019年6月21日 23:33
> To: Justin He (Arm Technology China) <Justin.He@xxxxxxx>; minios-
> devel@xxxxxxxxxxxxxxxxxxxx; Simon Kuenzer <simon.kuenzer@xxxxxxxxx>;
> Sharan.Santhanam@xxxxxxxxx
> Cc: Florian Schmidt <florian.schmidt@xxxxxxxxx>; Felipe Huici
> <felipe.huici@xxxxxxxxx>; yuri.volchkov@xxxxxxxxx; Kaly Xin (Arm
> Technology China) <Kaly.Xin@xxxxxxx>
> Subject: Re: [UNIKRAFT early RFC PATCH 00/11] Enble early SMP support on
> arm64 kvm plat
>
> Hi,
>
> Thank you for sending the series.
>
> On 21/06/2019 07:57, Jia He wrote:
> > This is the early SMP support on arm64 kvm plat which based on previous
> series #1-#5
>
> A reviewer may have no idea what are "series #1 - #5". So I would
> recommend to
> give pointer to each of them. Also, for easing review, it is nice to have a 
> repo
> with everything applied.
>
> But I think basing your work on 6 different series is not really wise. For a
> first, there was a lot of comments on those series. Does it mean this is 
> before
> or after them addressed?
>
> Secondly this is making more difficult to go through the code and potentially
> for you to address comment. May I recommend to focus on the getting series
> #1-#5
> to be merged?
>
> >
> > Most of the codes refer to the implementation in freebsd.
>
> Some general comments here. I know this is an early RFC, but I will point out
> for the next series :).
>
> 1) Please be more verbose in the commit message. This is helpful for
> reviewer
> and future developers to understand what the patch does
> 2) You probably want to make the GIC code SMP safe. Also, the GIC
> CPU ID may be
> different from the MIDR (you don't want to route interrupt to the wrong
> CPU ;)).
> 3) It looks like spinlock is pretty much a NOP today. Is there any plan
> to
> address this?
>
> Cheers,
>
> >
> > Jia He (11):
> >    lib/nolibc: Introduce ndelay and mdelay for busy wait
> >    plat/common/ofw: Move fdt_reg_read_number to header file for static
> >      inline
> >    plat/kvm/smp: Add psci call definitions in psci.h
> >    plat/kvm/smp: Add smp definitions in smp.h
> >    plat/kvm/smp: Add psci call psci_cpu_on
> >    plat/kvm: arm64: Add a parameter to start_mmu
> >    plat/kvm: arm64: Add entry point for APs (secondary cpus)
> >    plat/kvm/arm: Implement smp boot on arm64 kvm plat
> >    plat/kvm/arm: Add simple percpu variable support
> >    lib/ukboot: Enable CONFIG_SMP for arm64
> >    plat/kvm/arm: Enable scheduler on secondary APs
> >
> >   lib/nolibc/exportsyms.uk       |   4 +
> >   lib/nolibc/include/time.h      |   3 +
> >   lib/nolibc/time.c              |  16 ++-
> >   lib/ukboot/Config.uk           |   5 +
> >   lib/ukboot/Makefile.uk         |   1 +
> >   lib/ukboot/boot.c              |  15 +++
> >   plat/common/include/arm/psci.h |  87 ++++++++++++
> >   plat/common/include/smp.h      |  49 +++++++
> >   plat/drivers/include/ofw/fdt.h |  17 ++-
> >   plat/drivers/ofw/fdt.c         |  17 +--
> >   plat/kvm/Makefile.uk           |   1 +
> >   plat/kvm/arm/entry64.S         |  31 +++++
> >   plat/kvm/arm/pagetable64.S     |   7 +-
> >   plat/kvm/arm/setup.c           | 233 +++++++++++++++++++++++++++++++++
> >   14 files changed, 466 insertions(+), 20 deletions(-)
> >   create mode 100644 plat/common/include/arm/psci.h
> >   create mode 100644 plat/common/include/smp.h
> >
>
> --
> 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®.