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?