Re: [kvm-unit-tests PATCH v3 0/7] x86: Fix duplicate symbols w/ clang

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 09/09/21 20:32, Sean Christopherson wrote:
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(-)


Queued, thanks.

Paolo




[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux