On Fri, Aug 04, 2023 at 06:10:19PM +0530, Nikunj A. Dadhania wrote: > 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. Thanks, that does reproduce, although now I'm left wondering what exactly makes it go beep. Also, URGH, I thought the build was broken until I noticed it had BTF on :/