Skip to contentSkip to conversation

linux-next: build warnings in Linus' tree

DISCUSSION Stephen Rothwell 2 participants 3 messages Sep 7, 2020 – Sep 9, 2020 Linux-next tree

lore
Share & tools
lore
#0 lore raw

Hi all,

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 have not idea what caused them.

Signature · 2 lines
Cheers,
Stephen Rothwell
#1 lore raw
Quoted 5 lines · Stephen Rothwell

Hi all,

Building Linus' tree, today's linux-next build (x86_64 allmodconfig) produced these warnings:

Quoted 15 lines

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

Signature · 1 line
Josh
#2 lore raw

Hi Josh,

Quoted 22 lines · On Tue, 8 Sep 2020 08:14:39 -0500 Josh Poimboeuf <[email protected]> wrote:
Quoted 4 lines · Stephen Rothwell

Building Linus' tree, today's linux-next build (x86_64 allmodconfig) produced these warnings:

Quoted 15 lines

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

Quoted 3 lines

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.

Signature · 2 lines
Cheers,
Stephen Rothwell