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

Re: [Minios-devel] [UNIKRAFT PATCH] plat/kvm: Fix build for x86_64


  • To: Costin Lupu <costin.lup@xxxxxxxxx>, Mihai Pogonaru <pogonarumihai@xxxxxxxxx>, "minios-devel@xxxxxxxxxxxxx" <minios-devel@xxxxxxxxxxxxx>, "Santiago.Pagani@xxxxxxxxx" <Santiago.Pagani@xxxxxxxxx>
  • From: "Justin He (Arm Technology China)" <Justin.He@xxxxxxx>
  • Date: Wed, 30 Oct 2019 06:45:01 +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=xJONI7uGkyGj9eawxQCqQfqlY3Y8LbMjpoOz6TxjKcM=; b=KJ3QQlbFapM2te0jRxr4rc7GLd9qDLdF7y7kH9wkviLvNqPqCaNK5zzIIPPHY5+vBmeodU9ZPFEjeaiKseak0QB9BLd/mGXqQEbbzBvRM5b3hPB4eyQGUR6NzksbYTMrNl2EhDEXgz7XHXZ+gkaW4ErnmaOdNl520CrMzaCxko1hXF/f/tTi+yfdnwbvPP27MbB5ZJN9wwlo3ewz8gpzGiBbTT0THPRHhIFWMuIh2hAbb80g9PdWzbWZFaKaW2OpWwCvMmEEsm87XCU2oYiWEU3WeFUS808x/uvQPVQNm37ThGymDtvVnlydi3STafoyZIKmBDRobK0y+r9RWDHmCg==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=jSXDoxzTc+nKRd35ufNw4BHjFLmJJ7kk//RaFjR7XidU+BjmnPJ4nCKgi61dDgnEGWyXndcy2KITod5Cfw5dTCE2Jr/6Vhkez0IkG/o4qyBZd48WXF0LoRa18IniCoIqvqCjRg8D89f75E4N6gb0xJqWIPcJ3GyPpGVE93FF5izMBXed0ARA6EuaWgebG1J3U3SZ3dCgweNR9ZL8SLf1hKCqLqlTpNsVDxiQdBbP7rfP7QdHxP8HCbC2F/dG42ProEMdj/qUY4QrJwxFH5CdNgkC4kJN5p9btqbZMz1+02bTjLmRlf50s6OLcnwNaNaDGHJhloj5kmTDDnAXaifuzg==
  • Authentication-results: spf=fail (sender IP is 63.35.35.123) smtp.mailfrom=arm.com; lists.xen.org; dkim=pass (signature was verified) header.d=armh.onmicrosoft.com;lists.xen.org; dmarc=none action=none header.from=arm.com;
  • Authentication-results-original: spf=none (sender IP is ) smtp.mailfrom=Justin.He@xxxxxxx;
  • Delivery-date: Wed, 30 Oct 2019 06:45:15 +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: AQHVjo3cvnEtZOEn80GgNhx3nOTGuqdyvH+AgAABDMA=
  • Thread-topic: [Minios-devel] [UNIKRAFT PATCH] plat/kvm: Fix build for x86_64

Hi Costin
Apologize for breaking X86's build

--
Cheers,
Justin (Jia He)



> -----Original Message-----
> From: Costin Lupu <costin.lup@xxxxxxxxx>
> Sent: Wednesday, October 30, 2019 2:40 PM
> To: Mihai Pogonaru <pogonarumihai@xxxxxxxxx>; minios-
> devel@xxxxxxxxxxxxx; Santiago.Pagani@xxxxxxxxx; Justin He (Arm Technology
> China) <Justin.He@xxxxxxx>
> Subject: Re: [Minios-devel] [UNIKRAFT PATCH] plat/kvm: Fix build for x86_64
>
> Hi Justin and Santiago,
>
> This was broken by `build: Add Arm64 multi-thread support files to build
> system`. Please be more careful and also test the build for x86_64
> before submitting patches or when reviewing. My recommendation would
> be
> to keep a different Unikraft app configured for x86_64, but using the
> same dependencies as you are using for your ARM app. Then it would be
> just a matter of running make in your x86_64 app to check whether
> everything is ok.
>
> Cheers,
> Costin
>
> On 10/29/19 9:19 PM, Mihai Pogonaru wrote:
> > We were double adding thread.c and sw_ctx.c to build on x86_64.
> >
> > Signed-off-by: Mihai Pogonaru <pogonarumihai@xxxxxxxxx>
> > ---
> >  plat/kvm/Makefile.uk | 4 ++--
> >  1 file changed, 2 insertions(+), 2 deletions(-)
> >
> > diff --git a/plat/kvm/Makefile.uk b/plat/kvm/Makefile.uk
> > index 63bd5b06..5d87352f 100644
> > --- a/plat/kvm/Makefile.uk
> > +++ b/plat/kvm/Makefile.uk
> > @@ -81,8 +81,8 @@ LIBKVMPLAT_SRCS-$(CONFIG_ARCH_ARM_64) +=
> $(UK_PLAT_COMMON_BASE)/arm/time.c|commo
> >  LIBKVMPLAT_SRCS-$(CONFIG_ARCH_ARM_64) +=
> $(UK_PLAT_COMMON_BASE)/arm/traps.c|common
> >  ifeq ($(CONFIG_HAVE_SCHED),y)
> >  LIBKVMPLAT_SRCS-$(CONFIG_ARCH_ARM_64) +=
> $(UK_PLAT_COMMON_BASE)/arm/thread_start64.S|common
> > -LIBKVMPLAT_SRCS-y += $(UK_PLAT_COMMON_BASE)/thread.c|common
> > -LIBKVMPLAT_SRCS-y += $(UK_PLAT_COMMON_BASE)/sw_ctx.c|common
> > +LIBKVMPLAT_SRCS-$(CONFIG_ARCH_ARM_64) +=
> $(UK_PLAT_COMMON_BASE)/thread.c|common
> > +LIBKVMPLAT_SRCS-$(CONFIG_ARCH_ARM_64) +=
> $(UK_PLAT_COMMON_BASE)/sw_ctx.c|common
> >  endif
> >  LIBKVMPLAT_SRCS-$(CONFIG_ARCH_ARM_64) +=
> $(LIBKVMPLAT_BASE)/arm/memory.c|arm
> >  LIBKVMPLAT_SRCS-$(CONFIG_ARCH_ARM_64) +=
> $(LIBKVMPLAT_BASE)/arm/entry64.S
> >
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®.