Skip to content

Prevent inlining for asm blocks with labels

Bill Wendling kvm 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4x86: realmode: mark exec_in_big_real_mode as noinlinex86/realmode.c+1 -10 replies
2/4x86: svm: mark test_run as noinlinex86/svm.c+1 -10 replies
3/4x86: umip: mark do_ring3 as noinlinex86/umip.c+1 -10 replies
4/4x86: vmx: mark some test_* functions as noinlinex86/vmx.c+3 -30 replies

Reviews trailers per patch

None of the 4 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchSean Christopherson
SeriesR-b
1/4
2/4
3/4
4/4

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

Read the v1 thread

Cover letter [PATCH 0/4] Prevent inlining for asm blocks with labels

Clang may decide to inline some functions that have inline asm with labels. Doing this duplicates the labels, causing the assembler to be complain. These patches add the "noinline" attribute to the functions to prevent this.

Bill Wendling (4):
x86: realmode: mark exec_in_big_real_mode as noinline
x86: svm: mark test_run as noinline
x86: umip: mark do_ring3 as noinline
x86: vmx: mark some test_* functions as noinline

 x86/realmode.c | 2 +-
 x86/svm.c      | 2 +-
 x86/umip.c     | 2 +-
 x86/vmx.c      | 6 +++---
 4 files changed, 6 insertions(+), 6 deletions(-)
Signature · 1 line
2.33.0.rc2.250.ged5fa647cd-goog