Subject: linux-next: runtime failure of next-20190603

From: Stephen Rothwell <[email-masked]>
Date: Mon, 3 Jun 2019 16:22:15 +1000

Hi all,

My qemu powerpc_pseries_le_defconfig boots failed today with the following
output at shutdown time:

# halt
# Stopping network...[   32.109495] watchdog: BUG: soft lockup - CPU#0 stuck for 22s! [ifdown:97]
[   32.109794] Modules linked in:
[   32.110367] CPU: 0 PID: 97 Comm: ifdown Not tainted 5.2.0-rc3 #2
[   32.110577] NIP:  c000000000bbeb38 LR: c000000000bbf0a0 CTR: 0000000000000000
[   32.110732] REGS: c00000007c50f4d0 TRAP: 0901   Not tainted  (5.2.0-rc3)
[   32.110813] MSR:  8000000000009033 <SF,EE,ME,IR,DR,RI,LE>  CR: 24422422  XER: 20000000
[   32.111162] CFAR: c000000000bbf09c IRQMASK: 0 
[   32.111162] GPR00: c0000000002fa540 c00000007c50f760 c00000000119c100 c00000007c50f7b8 
[   32.111162] GPR04: ffffffffffffffff 000000000000000f c00000007c50f8f0 0000000000000003 
[   32.111162] GPR08: c00000007d468450 0000000000000003 c00c000000006834 c00000007ffe7000 
[   32.111162] GPR12: c000000001268a90 c000000001380000 
[   32.112430] NIP [c000000000bbeb38] xas_load+0x8/0xd0
[   32.112506] LR [c000000000bbf0a0] xas_find+0x1b0/0x260
[   32.112737] Call Trace:
[   32.112859] [c00000007c50f760] [c000000000bbf0a0] xas_find+0x1b0/0x260 (unreliable)
[   32.113082] [c00000007c50f790] [c0000000002fa540] find_get_entries+0x2e0/0x350
[   32.113204] [c00000007c50f840] [c00000000031fe08] shmem_undo_range+0x2d8/0xa90
[   32.113292] [c00000007c50f9f0] [c0000000003205ec] shmem_truncate_range+0x2c/0x60
[   32.113381] [c00000007c50fa20] [c000000000320ca4] shmem_setattr+0x3a4/0x3e0
[   32.113467] [c00000007c50fa80] [c00000000040e600] notify_change+0x2d0/0x5c0
[   32.113596] [c00000007c50fae0] [c0000000003d8f7c] do_truncate+0x9c/0x140
[   32.113672] [c00000007c50fb70] [c0000000003f66d8] path_openat+0x848/0x1660
[   32.113747] [c00000007c50fc70] [c0000000003f900c] do_filp_open+0x8c/0x120
[   32.113816] [c00000007c50fda0] [c0000000003da9e8] do_sys_open+0x248/0x350
[   32.113956] [c00000007c50fe20] [c00000000000bce4] system_call+0x5c/0x70
[   32.114123] Instruction dump:
[   32.114508] 4e800020 60000000 3900c005 7fa94040 409dff60 7d291674 2f890000 419eff54 
[   32.114651] 38600000 4e800020 3c4c005e 3842d5d0 <7c0802a6> fbe1fff8 7c7f1b78 f8010010 

Reverting commit

  fa858b6eec3f ("XArray: Add xas_replace")

made the failure go away.

-- 
Cheers,
Stephen Rothwell