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

Re: [Xen-devel] [PATCH for-4.13 0/6] xen/arm: Add support to build with clang


  • To: "julien.grall@xxxxxxx" <julien.grall@xxxxxxx>, "xen-devel@xxxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxxx>
  • From: Artem Mygaiev <Artem_Mygaiev@xxxxxxxx>
  • Date: Thu, 3 Oct 2019 08:31:09 +0000
  • Accept-language: en-US
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=epam.com; dmarc=pass action=none header.from=epam.com; dkim=pass header.d=epam.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=VSvL8P3x3q0OtB2LIlBfzF2GI5OXYz5xGT7ojpiOst8=; b=Ez4UxjCKGwBsSPkie3AGlDfyH/4RR+FJyIMq0GZ0G1UVenQDOu8mQCdIGbh1PtaCVpFuzStNNYm3/t2Tn5ozFce45hMnEnNTnLkY2ibBqTBOxdSZIOEBMUZjtENvgGtUw0nVyHx4ogz52WnbXl4AeVbTVJK74c9Dlq25xcdLgyvrJiJvH9vZb0+qmRPFpWkM4gOIP6zY3yuE+2M+K3LrXsx6y5gCNMyvWQyHd57Rmkpe6iBPCMe/GkcolJ1xC5DS5SoTPYLoFjDUg4NRu6G8eAM8+YuaXFeN3f2CH+13iyMQCvYipAMIOf6T7RXjLjf0B02Tm0djzZDmGTE91WdL+w==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=W5NhtN+hW1b1j+hkf7h2dG7svJnKVZFtaID3zxZdRX6uhqdevrl6R7HklcVEegoEaprXFxVIyFPP8Bflu3UzTAGIbhpV38FYWOEmZOd8fstdovhkHpVKgiNgHW1uS16VBUKX/KSw5MJBMSgOjv67hl9ZS2stdkagH/yINqmJwna4jXCUd2jcHhzI2vVulUGDNIGqYHm+Wf/4YUoEBh21ATrdjFDb9RWSveAO8F0fe4SGmF+Rq5qBxr6jSs3qRFPKp7KPTvxtIEE8GnR3WSGbfeyCn6vdbssGyBcbErZWKeNMAA2wLU3BQAF/MGY8ntXJCZ8iylSiVFizjBbiA1qUJg==
  • Authentication-results: spf=none (sender IP is ) smtp.mailfrom=Artem_Mygaiev@xxxxxxxx;
  • Cc: "julien@xxxxxxx" <julien@xxxxxxx>, "sstabellini@xxxxxxxxxx" <sstabellini@xxxxxxxxxx>, Volodymyr Babchuk <Volodymyr_Babchuk@xxxxxxxx>
  • Delivery-date: Thu, 03 Oct 2019 08:31:22 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
  • Thread-index: AQHVeUtXulsyKnCw3kq84v3Y6/ovqqdIlzmA
  • Thread-topic: [PATCH for-4.13 0/6] xen/arm: Add support to build with clang

Hi Julien

Just to confirm - with this series, we are able to run xen master
(4.13-unstable) on R-Car H3:
 * built using clang
 * built using clang-based arm compiler (with further modifications
needed for armlink)

Note we didn't perform full testing, just start xen on its own.

 -- Artem

On Wed, 2019-10-02 at 19:00 +0100, Julien Grall wrote:
> Hi all,
> 
> After this series, I am able to build Xen on Arm64 with clang 7.0.
> There
> are still some issues when building Xen on Arm32 and also using lld.
> 
> Cross-compilation is left outside for now, but this is still a good
> start
> for clang (and armclang).
> 
> Cheers,
> 
> Julien Grall (6):
>   xen/arm: fix get_cpu_info() when built with clang
>   xen/arm64: bitops: Match the register size with the value size in
> flsl
>   xen/arm: cpuerrata: Match register size with value size in
>     check_workaround_*
>   xen/arm: cpufeature: Match register size with value size in
>     cpus_have_const_cap
>   xen/arm: mm: Mark check_memory_layout_alignment_constraints as
> unused
>   xen/arm: traps: Mark check_stack_alignment_constraints as unused
> 
>  xen/arch/arm/mm.c                  |  3 ++-
>  xen/arch/arm/traps.c               |  3 ++-
>  xen/include/asm-arm/arm64/bitops.h |  3 ++-
>  xen/include/asm-arm/cpuerrata.h    |  4 ++--
>  xen/include/asm-arm/cpufeature.h   |  4 ++--
>  xen/include/asm-arm/current.h      | 10 +++++++++-
>  6 files changed, 19 insertions(+), 8 deletions(-)
> 
> 
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/xen-devel

 


Rackspace

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