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

Julien Grall posted 6 patches 1 week ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/xen tags/patchew/20191002180047.17144-1-julien.grall@arm.com
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] [PATCH for-4.13 0/6] xen/arm: Add support to build with clang

Posted by Julien Grall 1 week ago
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(-)

-- 
2.11.0


_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xenproject.org
https://lists.xenproject.org/mailman/listinfo/xen-devel

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

Posted by Jürgen Groß 1 week ago
On 02.10.19 20:00, 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

For the series:

Release-acked-by: Juergen Gross <jgross@suse.com>


Juergen

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xenproject.org
https://lists.xenproject.org/mailman/listinfo/xen-devel