Buildresult: powerpc-next/s390-defconfig/s390x-gcc8 built on Sep 5 2019, 23:39
kisskb
Revisions
|
Branches
|
Compilers
|
Configs
|
Build Results
|
Build Failures
|
Status:
OK
Date/Time:
Sep 5 2019, 23:39
Duration:
0:04:27.021512
Builder:
ka1
Revision:
powerpc/64: Fix stacktrace on BE when function_graph is enabled (
35f7eea41dba2cdfb11be7a37eb21cf010fd3220)
Target:
powerpc-next/s390-defconfig/s390x-gcc8
Branch:
powerpc-next
Compiler:
s390x-gcc8
(s390-linux-gcc (GCC) 8.1.0 / GNU ld (GNU Binutils) 2.30)
Config:
defconfig
(
download
)
Log:
Download original
Possible warnings (22)
arch/s390/mm/fault.c:328:6: warning: this statement may fall through [-Wimplicit-fallthrough=] arch/s390/mm/fault.c:332:6: warning: this statement may fall through [-Wimplicit-fallthrough=] drivers/s390/char/con3215.c:399:6: warning: this statement may fall through [-Wimplicit-fallthrough=] arch/s390/include/asm/debug.h:248:2: warning: this statement may fall through [-Wimplicit-fallthrough=] drivers/s390/char/tape_core.c:679:4: warning: this statement may fall through [-Wimplicit-fallthrough=] drivers/s390/char/tape_core.c:950:7: warning: this statement may fall through [-Wimplicit-fallthrough=] include/linux/list.h:577:2: warning: this statement may fall through [-Wimplicit-fallthrough=] net/iucv/af_iucv.c:2246:6: warning: this statement may fall through [-Wimplicit-fallthrough=] net/iucv/af_iucv.c:510:6: warning: this statement may fall through [-Wimplicit-fallthrough=] net/iucv/af_iucv.c:519:6: warning: this statement may fall through [-Wimplicit-fallthrough=] net/iucv/af_iucv.c:537:3: warning: this statement may fall through [-Wimplicit-fallthrough=] drivers/s390/crypto/zcrypt_msgtype6.c:871:6: warning: this statement may fall through [-Wimplicit-fallthrough=] drivers/s390/crypto/zcrypt_msgtype6.c:901:6: warning: this statement may fall through [-Wimplicit-fallthrough=] drivers/s390/crypto/zcrypt_msgtype6.c:838:6: warning: this statement may fall through [-Wimplicit-fallthrough=] drivers/s390/crypto/zcrypt_msgtype6.c:801:6: warning: this statement may fall through [-Wimplicit-fallthrough=] drivers/s390/net/qeth_l2_main.c:328:7: warning: this statement may fall through [-Wimplicit-fallthrough=] drivers/s390/net/ctcm_fsms.c:1703:6: warning: this statement may fall through [-Wimplicit-fallthrough=] drivers/s390/net/ctcm_mpc.c:358:6: warning: this statement may fall through [-Wimplicit-fallthrough=] drivers/s390/net/ctcm_mpc.c:1469:6: warning: this statement may fall through [-Wimplicit-fallthrough=] drivers/s390/net/ctcm_mpc.c:2087:6: warning: this statement may fall through [-Wimplicit-fallthrough=] include/linux/printk.h:309:2: warning: this statement may fall through [-Wimplicit-fallthrough=] drivers/net/ethernet/mellanox/mlx5/core/en/xsk/setup.c:127:1: warning: the frame size of 1312 bytes is larger than 1024 bytes [-Wframe-larger-than=]
Full Log
# git rev-parse -q --verify 35f7eea41dba2cdfb11be7a37eb21cf010fd3220^{commit} 35f7eea41dba2cdfb11be7a37eb21cf010fd3220 already have revision, skipping fetch # git checkout -q -f -B kisskb 35f7eea41dba2cdfb11be7a37eb21cf010fd3220 # git clean -qxdf # < git log -1 # commit 35f7eea41dba2cdfb11be7a37eb21cf010fd3220 # Author: Michael Ellerman <mpe@ellerman.id.au> # Date: Fri Aug 23 22:29:01 2019 +1000 # # powerpc/64: Fix stacktrace on BE when function_graph is enabled # # Currently if we oops or warn while function_graph is active the stack # trace looks like: # .trace_graph_return+0xac/0x100 # .ftrace_return_to_handler+0x98/0x140 # .return_to_handler+0x20/0x40 # .return_to_handler+0x0/0x40 # .return_to_handler+0x0/0x40 # .return_to_handler+0x0/0x40 # .return_to_handler+0x0/0x40 # .return_to_handler+0x0/0x40 # .return_to_handler+0x0/0x40 # .cpu_startup_entry+0x34/0x40 # .start_secondary+0x680/0x6f0 # start_secondary_prolog+0x10/0x14 # # Notice the multiple entries that just show .return_to_handler. # # There is logic in show_stack() to detect this case and print the # traced function, but we inadvertently broke it in commit # 7d56c65a6ff9 ("powerpc/ftrace: Remove mod_return_to_handler") (2014), # because that commit accidentally removed the dereference of rth which # gets the text address from the function descriptor. Hence this is only # broken on big endian (or technically ELFv1). # # Fix it by using the proper accessor, which is ppc_function_entry(). # Result is we get a stack trace such as: # # .trace_graph_return+0x134/0x160 # .ftrace_return_to_handler+0x94/0x140 # .return_to_handler+0x20/0x40 # .return_to_handler+0x0/0x40 (.shared_cede_loop+0x48/0x130) # .return_to_handler+0x0/0x40 (.cpuidle_enter_state+0xa0/0x690) # .return_to_handler+0x0/0x40 (.cpuidle_enter+0x44/0x70) # .return_to_handler+0x0/0x40 (.call_cpuidle+0x68/0xc0) # .return_to_handler+0x0/0x40 (.do_idle+0x37c/0x400) # .return_to_handler+0x0/0x40 (.cpu_startup_entry+0x30/0x50) # .rest_init+0x224/0x348 # # Fixes: 7d56c65a6ff9 ("powerpc/ftrace: Remove mod_return_to_handler") # Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> # Reviewed-by: Naveen N. Rao <naveen.n.rao@linux.vnet.ibm.com> # Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> # Link: https://lore.kernel.org/r/20190823122901.32667-1-mpe@ellerman.id.au # < /opt/cross/kisskb/korg/gcc-8.1.0-nolibc/s390-linux/bin/s390-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-8.1.0-nolibc/s390-linux/bin/s390-linux-ld --version # < git log --format=%s --max-count=1 35f7eea41dba2cdfb11be7a37eb21cf010fd3220 # < make -s -j 48 ARCH=s390 O=/kisskb/build/powerpc-next_s390-defconfig_s390x-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.1.0-nolibc/s390-linux/bin/s390-linux- defconfig # make -s -j 48 ARCH=s390 O=/kisskb/build/powerpc-next_s390-defconfig_s390x-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.1.0-nolibc/s390-linux/bin/s390-linux- /kisskb/src/arch/s390/mm/fault.c: In function 'do_fault_error': /kisskb/src/arch/s390/mm/fault.c:328:6: warning: this statement may fall through [-Wimplicit-fallthrough=] if (access == VM_EXEC && signal_return(regs) == 0) ^ /kisskb/src/arch/s390/mm/fault.c:330:2: note: here case VM_FAULT_BADMAP: ^~~~ /kisskb/src/arch/s390/mm/fault.c:332:6: warning: this statement may fall through [-Wimplicit-fallthrough=] if (user_mode(regs)) { ^ /kisskb/src/arch/s390/mm/fault.c:339:2: note: here case VM_FAULT_BADCONTEXT: ^~~~ /kisskb/src/drivers/s390/char/con3215.c: In function 'raw3215_irq': /kisskb/src/drivers/s390/char/con3215.c:399:6: warning: this statement may fall through [-Wimplicit-fallthrough=] if (dstat == 0x08) ^ /kisskb/src/drivers/s390/char/con3215.c:401:2: note: here case 0x04: ^~~~ In file included from /kisskb/src/drivers/s390/char/tape.h:17, from /kisskb/src/drivers/s390/char/tape_core.c:29: /kisskb/src/drivers/s390/char/tape_core.c: In function '__tape_do_irq': /kisskb/src/arch/s390/include/asm/debug.h:248:2: warning: this statement may fall through [-Wimplicit-fallthrough=] __ret; \ ^~~~~ /kisskb/src/drivers/s390/char/tape.h:34:2: note: in expansion of macro 'debug_sprintf_event' debug_sprintf_event(TAPE_DBF_AREA, level, str, ## __VA_ARGS__); \ ^~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/s390/char/tape_core.c:1117:5: note: in expansion of macro 'DBF_LH' DBF_LH(1, "(%08x): Request timed out\n", ^~~~~~ /kisskb/src/drivers/s390/char/tape_core.c:1119:4: note: here case -EIO: ^~~~ /kisskb/src/drivers/s390/char/tape_core.c: In function 'tape_generic_remove': /kisskb/src/drivers/s390/char/tape_core.c:679:4: warning: this statement may fall through [-Wimplicit-fallthrough=] tape_state_set(device, TS_NOT_OPER); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/s390/char/tape_core.c:680:3: note: here case TS_NOT_OPER: ^~~~ /kisskb/src/drivers/s390/char/tape_core.c: In function '__tape_start_request': /kisskb/src/drivers/s390/char/tape_core.c:950:7: warning: this statement may fall through [-Wimplicit-fallthrough=] if (device->tape_state == TS_UNUSED) ^ /kisskb/src/drivers/s390/char/tape_core.c:952:3: note: here default: ^~~~~~~ In file included from /kisskb/src/include/linux/preempt.h:11, from /kisskb/src/include/linux/spinlock.h:51, from /kisskb/src/include/linux/mmzone.h:8, from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/slab.h:15, from /kisskb/src/drivers/s390/crypto/ap_queue.c:13: /kisskb/src/drivers/s390/crypto/ap_queue.c: In function 'ap_sm_recv': /kisskb/src/include/linux/list.h:577:2: warning: this statement may fall through [-Wimplicit-fallthrough=] for (pos = list_first_entry(head, typeof(*pos), member); \ ^~~ /kisskb/src/drivers/s390/crypto/ap_queue.c:147:3: note: in expansion of macro 'list_for_each_entry' list_for_each_entry(ap_msg, &aq->pendingq, list) { ^~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/s390/crypto/ap_queue.c:155:2: note: here case AP_RESPONSE_NO_PENDING_REPLY: ^~~~ /kisskb/src/net/iucv/af_iucv.c: In function 'afiucv_hs_rcv': /kisskb/src/net/iucv/af_iucv.c:2246:6: warning: this statement may fall through [-Wimplicit-fallthrough=] if (skb->len == sizeof(struct af_iucv_trans_hdr)) { ^ /kisskb/src/net/iucv/af_iucv.c:2251:2: note: here case (AF_IUCV_FLAG_SHT): ^~~~ /kisskb/src/net/iucv/af_iucv.c: In function 'iucv_sock_close': /kisskb/src/net/iucv/af_iucv.c:510:6: warning: this statement may fall through [-Wimplicit-fallthrough=] if (iucv->transport == AF_IUCV_TRANS_HIPER) { ^ /kisskb/src/net/iucv/af_iucv.c:515:2: note: here case IUCV_DISCONN: /* fall through */ ^~~~ /kisskb/src/net/iucv/af_iucv.c:519:6: warning: this statement may fall through [-Wimplicit-fallthrough=] if (!err && !skb_queue_empty(&iucv->send_skb_q)) { ^ /kisskb/src/net/iucv/af_iucv.c:529:2: note: here case IUCV_CLOSING: /* fall through */ ^~~~ /kisskb/src/net/iucv/af_iucv.c:537:3: warning: this statement may fall through [-Wimplicit-fallthrough=] skb_queue_purge(&iucv->backlog_skb_q); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/net/iucv/af_iucv.c:539:2: note: here default: /* fall through */ ^~~~~~~ /kisskb/src/drivers/s390/crypto/zcrypt_msgtype6.c: In function 'convert_response_ep11_xcrb': /kisskb/src/drivers/s390/crypto/zcrypt_msgtype6.c:871:6: warning: this statement may fall through [-Wimplicit-fallthrough=] if (msg->cprbx.cprb_ver_id == 0x04) ^ /kisskb/src/drivers/s390/crypto/zcrypt_msgtype6.c:874:2: note: here default: /* Unknown response type, this should NEVER EVER happen */ ^~~~~~~ /kisskb/src/drivers/s390/crypto/zcrypt_msgtype6.c: In function 'convert_response_rng': /kisskb/src/drivers/s390/crypto/zcrypt_msgtype6.c:901:6: warning: this statement may fall through [-Wimplicit-fallthrough=] if (msg->cprbx.cprb_ver_id == 0x02) ^ /kisskb/src/drivers/s390/crypto/zcrypt_msgtype6.c:907:2: note: here default: /* Unknown response type, this should NEVER EVER happen */ ^~~~~~~ /kisskb/src/drivers/s390/crypto/zcrypt_msgtype6.c: In function 'convert_response_xcrb': /kisskb/src/drivers/s390/crypto/zcrypt_msgtype6.c:838:6: warning: this statement may fall through [-Wimplicit-fallthrough=] if (msg->cprbx.cprb_ver_id == 0x02) ^ /kisskb/src/drivers/s390/crypto/zcrypt_msgtype6.c:844:2: note: here default: /* Unknown response type, this should NEVER EVER happen */ ^~~~~~~ /kisskb/src/drivers/s390/crypto/zcrypt_msgtype6.c: In function 'convert_response_ica': /kisskb/src/drivers/s390/crypto/zcrypt_msgtype6.c:801:6: warning: this statement may fall through [-Wimplicit-fallthrough=] if (msg->cprbx.cprb_ver_id == 0x02) ^ /kisskb/src/drivers/s390/crypto/zcrypt_msgtype6.c:808:2: note: here default: /* Unknown response type, this should NEVER EVER happen */ ^~~~~~~ /kisskb/src/drivers/s390/net/qeth_l2_main.c: In function 'qeth_l2_process_inbound_buffer': /kisskb/src/drivers/s390/net/qeth_l2_main.c:328:7: warning: this statement may fall through [-Wimplicit-fallthrough=] if (IS_OSN(card)) { ^ /kisskb/src/drivers/s390/net/qeth_l2_main.c:337:3: note: here default: ^~~~~~~ /kisskb/src/drivers/s390/net/ctcm_fsms.c: In function 'ctcmpc_chx_attnbusy': /kisskb/src/drivers/s390/net/ctcm_fsms.c:1703:6: warning: this statement may fall through [-Wimplicit-fallthrough=] if (grp->changed_side == 1) { ^ /kisskb/src/drivers/s390/net/ctcm_fsms.c:1707:2: note: here case MPCG_STATE_XID0IOWAIX: ^~~~ /kisskb/src/drivers/s390/net/ctcm_mpc.c: In function 'ctc_mpc_alloc_channel': /kisskb/src/drivers/s390/net/ctcm_mpc.c:358:6: warning: this statement may fall through [-Wimplicit-fallthrough=] if (callback) ^ /kisskb/src/drivers/s390/net/ctcm_mpc.c:360:2: note: here case MPCG_STATE_XID0IOWAIT: ^~~~ /kisskb/src/drivers/s390/net/ctcm_mpc.c: In function 'mpc_action_timeout': /kisskb/src/drivers/s390/net/ctcm_mpc.c:1469:6: warning: this statement may fall through [-Wimplicit-fallthrough=] if ((fsm_getstate(rch->fsm) == CH_XID0_PENDING) && ^ /kisskb/src/drivers/s390/net/ctcm_mpc.c:1472:2: note: here default: ^~~~~~~ /kisskb/src/drivers/s390/net/ctcm_mpc.c: In function 'mpc_send_qllc_discontact': /kisskb/src/drivers/s390/net/ctcm_mpc.c:2087:6: warning: this statement may fall through [-Wimplicit-fallthrough=] if (grp->estconnfunc) { ^ /kisskb/src/drivers/s390/net/ctcm_mpc.c:2092:2: note: here case MPCG_STATE_FLOWC: ^~~~ In file included from /kisskb/src/include/linux/kernel.h:15, from /kisskb/src/arch/s390/include/asm/bug.h:5, from /kisskb/src/include/linux/bug.h:5, from /kisskb/src/include/linux/scatterlist.h:7, from /kisskb/src/drivers/scsi/libsas/sas_discover.c:9: /kisskb/src/drivers/scsi/libsas/sas_discover.c: In function 'sas_discover_domain': /kisskb/src/include/linux/printk.h:309:2: warning: this statement may fall through [-Wimplicit-fallthrough=] printk(KERN_NOTICE pr_fmt(fmt), ##__VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/scsi/libsas/sas_discover.c:459:3: note: in expansion of macro 'pr_notice' pr_notice("ATA device seen but CONFIG_SCSI_SAS_ATA=N so cannot attach\n"); ^~~~~~~~~ /kisskb/src/drivers/scsi/libsas/sas_discover.c:462:2: note: here default: ^~~~~~~ /kisskb/src/drivers/net/ethernet/mellanox/mlx5/core/en/xsk/setup.c: In function 'mlx5e_open_xsk': /kisskb/src/drivers/net/ethernet/mellanox/mlx5/core/en/xsk/setup.c:127:1: warning: the frame size of 1312 bytes is larger than 1024 bytes [-Wframe-larger-than=] } ^ Completed OK # rm -rf /kisskb/build/powerpc-next_s390-defconfig_s390x-gcc8 # Build took: 0:04:27.021512
© Michael Ellerman 2006-2018.