x86: Fix duplicate symbols w/ clang
Status from this message: Queued, thanks.
Get series with b4
b4 am [email protected]Versions newest first
Patches in v3 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/7 | lib: Drop x86/processor.h's barrier() in favor of compiler.h versionlib/ lib/ | +1 | 1 reply | |
| 2/7 | lib: define the "noinline" macrolib/ x86/ | +3 | 1 reply | |
| 3/7 | lib: Move __unused attribute macro to compiler.hlib/ lib/ | +1 | 1 reply | |
| 4/7 | x86: realmode: mark exec_in_big_real_mode as noinlinex86/ | +3 | 1 reply | |
| 5/7 | x86: svm: mark test_run as noinlinex86/ | +1 | 1 reply | |
| 6/7 | x86: umip: mark do_ring3 as noinlinex86/ | +1 | 1 reply | |
| 7/7 | x86: vmx: mark some test_* functions as noinlinex86/ | +3 | 1 reply |
Reviews trailers per patch
All 7 patches have a Reviewed-by or Acked-by.
| Patch | Jim Mattson |
|---|---|
| 1/7 | R-b |
| 2/7 | R-b |
| 3/7 | R-b |
| 4/7 | R-b |
| 5/7 | R-b |
| 6/7 | R-b |
| 7/7 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [kvm-unit-tests PATCH v3 0/7] x86: Fix duplicate symbols w/ clang
Add a "noinline" macro to mirror the kernel's wrapping of the attribute and to save typing, and use it to fix a variety of duplicate symbol errors that pop up with some versions of clang due to clang aggressively inlining functions that define globally visible labels in inline asm blobs.
Bill Wendling (5):
lib: define the "noinline" macro
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
Sean Christopherson (2):
lib: Drop x86/processor.h's barrier() in favor of compiler.h version
lib: Move __unused attribute macro to compiler.h
lib/libcflat.h | 3 +-- lib/linux/compiler.h | 2 ++ lib/x86/processor.h | 5 ----- x86/pmu_lbr.c | 4 ++-- x86/realmode.c | 4 +++- x86/svm.c | 2 +- x86/umip.c | 2 +- x86/vmx.c | 6 +++--- 8 files changed, 13 insertions(+), 15 deletions(-)
Signature · 1 line
2.33.0.309.g3052b89438-goog