Re: [PATCH] KVM: SVM: Add exception to disable objtool warning for kvm-amd.o

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

 



On 8/4/2023 4:44 PM, Peter Zijlstra wrote:
> On Wed, Aug 02, 2023 at 02:41:07PM +0530, Nikunj A Dadhania wrote:
>> commit 7f4b5cde2409 ("kvm: Disable objtool frame pointer checking for
>> vmenter.S") had added the vmenter.o file to the exception list.
>>
>> objtool gives the following warnings in the newer kernel builds:
>>
>>   arch/x86/kvm/kvm-amd.o: warning: objtool: __svm_vcpu_run+0x17d: BP used as a scratch register
>>   arch/x86/kvm/kvm-amd.o: warning: objtool: __svm_sev_es_vcpu_run+0x72: BP used as a scratch register
>>
> 
> I wanted to poke around a little, but can't reproduce this.
> 
> I took x86_64-defconfig + KVM=m + KVM_AMD=m + UNWIND_FRAME_POINTER=y but
> objtool won't complain :/ What actual .config trips this?

I have attached the config.

Regards,
Nikunj

Attachment: config.gz
Description: GNU Zip compressed data


[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