Skip to content

xen/arm: Add support to build with clang

Julien Grall xen-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest6 patches 11 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6xen/arm: fix get_cpu_info() when built with clangxen/include/asm-arm/current.h+9 -10 replies
2/6xen/arm64: bitops: Match the register size with the value size in flslxen/include/asm-arm/arm64/bitops.h+2 -11 reply
3/6xen/arm: cpuerrata: Match register size with value size in check_workaround_*xen/include/asm-arm/cpuerrata.h+2 -23 replies
4/6xen/arm: cpufeature: Match register size with value size in cpus_have_const_capxen/include/asm-arm/cpufeature.h+2 -21 reply
5/6xen/arm: mm: Mark check_memory_layout_alignment_constraints as unusedxen/arch/arm/mm.c+2 -12 replies
6/6xen/arm: traps: Mark check_stack_alignment_constraints as unusedxen/arch/arm/traps.c+2 -12 replies

Reviews trailers per patch

5 of 6 patches have a Reviewed-by or Acked-by.

PatchStefano StabelliniJuergen Gross
SeriesRelease-acked-by
1/6A-b
2/6A-b
3/6
4/6A-b
5/6A-b
6/6A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

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

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(-)
Signature · 7 lines
2.11.0


_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel