Subject: Re: linux-next: build warnings in Linus' tree

From: Stephen Rothwell <[email-masked]>
Date: Wed, 9 Sep 2020 10:15:08 +1000

Hi Josh,

On Tue, 8 Sep 2020 08:14:39 -0500 Josh Poimboeuf <[email-masked]> wrote:
>
> On Tue, Sep 08, 2020 at 09:11:02AM +1000, Stephen Rothwell wrote:
> > 
> > Building Linus' tree, today's linux-next build (x86_64 allmodconfig)
> > produced these warnings:
> > 
> > arch/x86/kernel/cpu/mce/core.o: warning: objtool: mce_panic()+0x2a3: unreachable instruction
> > net/core/skbuff.o: warning: objtool: skb_push.cold()+0x1b: unreachable instruction
> > arch/x86/mm/mmio-mod.o: warning: objtool: pre()+0x21a: unreachable instruction
> > arch/x86/kvm/vmx/vmx.o: warning: objtool: vmx_handle_exit_irqoff()+0x142: unreachable instruction
> > kernel/exit.o: warning: objtool: __x64_sys_exit_group()+0x26: unreachable instruction
> > kernel/cred.o: warning: objtool: get_task_cred.cold()+0x19: unreachable instruction
> > drivers/misc/sgi-gru/grukservices.o: warning: objtool: gru_wait_abort_proc()+0x97: unreachable instruction
> > drivers/scsi/pcmcia/aha152x_core.o: warning: objtool: is_complete()+0x6c6: unreachable instruction
> > drivers/message/fusion/mptbase.o: warning: objtool: mpt_SoftResetHandler()+0x4a5: unreachable instruction
> > drivers/scsi/aic7xxx/aic79xx_core.o: warning: objtool: ahd_intr()+0x2a9: unreachable instruction
> > drivers/net/ethernet/marvell/octeontx2/nic/otx2_txrx.o: warning: objtool: otx2_sq_append_tso()+0xab6: unreachable instruction
> > fs/btrfs/extent_io.o: warning: objtool: __set_extent_bit.cold()+0x12: unreachable instruction
> > fs/btrfs/backref.o: warning: objtool: btrfs_backref_finish_upper_links()+0x818: unreachable instruction
> > fs/btrfs/relocation.o: warning: objtool: update_backref_cache.isra.0()+0x3bf: unreachable instruction
> > drivers/atm/horizon.o: warning: objtool: rx_data_av_handler()+0x452: unreachable instruction  
> 
> I suspect these will all be fixed by this livepatching pull request:
> 
>   https://lkml.kernel.org/r/20200907082036.GC8084@alley

Yep, all but the vmx_handle_exit_irqoff() one as Linus noted.

Thanks.
-- 
Cheers,
Stephen Rothwell