Skip to content

i386 Clang support

Nick Desaulniers lkml 2 versions – Applied

Status from this message: The following commit has been merged into the x86/asm branch of tip:

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest11 patches 11 repliesApplied
  2. v11 patch 13 repliesSuperseded

Patches in v3 Applied

#Subject and filesSizeRepliesApplied
1/11x86/percpu: Introduce size abstraction macrosarch/x86/include/asm/percpu.h+30 -00 replies
2/11x86/percpu: Clean up percpu_to_op()arch/x86/include/asm/percpu.h+35 -550 replies
3/11x86/percpu: Clean up percpu_from_op()arch/x86/include/asm/percpu.h+15 -350 replies
4/11x86/percpu: Clean up percpu_add_op()arch/x86/include/asm/percpu.h+22 -770 replies
5/11x86/percpu: Remove "e" constraint from XADDarch/x86/include/asm/percpu.h+1 -10 replies
6/11x86/percpu: Clean up percpu_add_return_op()arch/x86/include/asm/percpu.h+16 -350 replies
7/11x86/percpu: Clean up percpu_xchg_op()arch/x86/include/asm/percpu.h+18 -430 replies
8/11x86/percpu: Clean up percpu_cmpxchg_op()arch/x86/include/asm/percpu.h+18 -400 replies
9/11x86/percpu: Clean up percpu_stable_op()arch/x86/include/asm/percpu.h+12 -290 replies
10/11x86/percpu: Remove unused PER_CPU() macroarch/x86/include/asm/percpu.h+0 -180 replies
11/11x86: support i386 with Clangarch/x86/include/asm/uaccess.h+3 -17 replies

Reviews trailers per patch

All 11 patches have a Reviewed-by or Acked-by.

PatchNick DesaulniersLinus TorvaldsPeter Zijlstra (Intel)Sedat Dilek
SeriesT-b
1/11T-b R-b A-b A-b
2/11T-b R-b A-b A-b
3/11T-b R-b A-b A-b
4/11T-b R-b A-b A-b
5/11T-b R-b A-b A-b
6/11T-b R-b A-b A-b
7/11T-b R-b A-b A-b
8/11T-b R-b A-b A-b
9/11T-b R-b A-b A-b
10/11T-b R-b A-b A-b
11/11A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 4 reviewers.

Read the v3 thread

Cover letter [PATCH v3 00/11] i386 Clang support

Resend of Brian's v2 with Acks from Peter and Linus collected, as well as the final patch (mine) added. The commit of the final patch discusses some of the architectural differences between GCC and Clang, and the kernels tickling of this difference for i386, which necessitated these patches.

Brian Gerst (10):
x86/percpu: Introduce size abstraction macros
x86/percpu: Clean up percpu_to_op()
x86/percpu: Clean up percpu_from_op()
x86/percpu: Clean up percpu_add_op()
x86/percpu: Remove "e" constraint from XADD
x86/percpu: Clean up percpu_add_return_op()
x86/percpu: Clean up percpu_xchg_op()
x86/percpu: Clean up percpu_cmpxchg_op()
x86/percpu: Clean up percpu_stable_op()
x86/percpu: Remove unused PER_CPU() macro

Nick Desaulniers (1):
x86: support i386 with Clang

 arch/x86/include/asm/percpu.h  | 510 +++++++++++----------------------
 arch/x86/include/asm/uaccess.h |   4 +-
 2 files changed, 175 insertions(+), 339 deletions(-)
Signature · 1 line
2.28.0.rc0.105.gf9edc3c819-goog