Re: [linux-stable-rc:linux-5.10.y 7114/7120] arch/x86/kernel/kvm.o: warning: objtool: __raw_callee_save___kvm_vcpu_is_preempted()+0x12: 'naked' return found in RETHUNK build

From: Greg Kroah-Hartman
Date: Thu Jul 14 2022 - 02:27:50 EST


On Thu, Jul 14, 2022 at 12:31:03AM +0200, Ben Hutchings wrote:
> On Wed, 2022-07-13 at 06:39 +0800, kernel test robot wrote:
> > tree: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git linux-5.10.y
> > head: 53b881e19526bcc3e51d9668cab955c80dcf584c
> > commit: 892f1f2b8631df5bdd0baba6e1ee3fa6eff396d0 [7114/7120] x86/retbleed: Add fine grained Kconfig knobs
> > config: x86_64-rhel-8.3-syz (https://download.01.org/0day-ci/archive/20220713/202207130605.fX0cfbtW-lkp@xxxxxxxxx/config)
> > compiler: gcc-11 (Debian 11.3.0-3) 11.3.0
> > reproduce (this is a W=1 build):
> > # https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git/commit/?id=892f1f2b8631df5bdd0baba6e1ee3fa6eff396d0
> > git remote add linux-stable-rc https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git
> > git fetch --no-tags linux-stable-rc linux-5.10.y
> > git checkout 892f1f2b8631df5bdd0baba6e1ee3fa6eff396d0
> > # save the config file
> > mkdir build_dir && cp config build_dir/.config
> > make W=1 O=build_dir ARCH=x86_64 SHELL=/bin/bash arch/x86/
> >
> > If you fix the issue, kindly add following tag where applicable
> > Reported-by: kernel test robot <lkp@xxxxxxxxx>
> >
> > All warnings (new ones prefixed by >>):
> >
> > > > arch/x86/kernel/kvm.o: warning: objtool: __raw_callee_save___kvm_vcpu_is_preempted()+0x12: 'naked' return found in RETHUNK build
> >
>
> 5.10-stable will need this fix that was already included in 5.15-
> stable:
>
> commit edbaf6e5e93acda96aae23ba134ef3c1466da3b5
> Author: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>
> Date: Thu Jun 30 12:19:47 2022 +0200
>
> x86, kvm: use proper ASM macros for kvm_vcpu_is_preempted
>

Ah, thanks, I forgot I had fixed that already! Now queued up.

greg k-h