[regression] 6.8.1: fails to hibernate with pm_runtime_force_suspend+0x0/0x120 returns -16

Martin Steigerwald
2024-03-16T16:02:47Z

Hi!

ThinkPad T14 AMD Gen 1 fails to hibernate with self-compiled 6.8.1.
Hibernation works correctly with self-compiled 6.7.9.

Trying to use "no_console_suspend" to debug next. Will not do bisect
between major kernel releases on a production machine.

[ 409.847217] PM: hibernation: hibernation entry
[ 409.874672] Filesystems sync: 0.027 seconds
[ 409.875204] Freezing user space processes
[ 409.877765] Freezing user space processes completed (elapsed 0.002 seconds)
[ 409.877770] OOM killer disabled.
[ 409.878027] PM: hibernation: Marking nosave pages: [mem 0x00000000-0x00000fff]
[ 409.878031] PM: hibernation: Marking nosave pages: [mem 0x0009f000-0x000fffff]
[ 409.878034] PM: hibernation: Marking nosave pages: [mem 0x09c00000-0x09d00fff]
[ 409.878039] PM: hibernation: Marking nosave pages: [mem 0x09f00000-0x09f0ffff]
[ 409.878041] PM: hibernation: Marking nosave pages: [mem 0xa2356000-0xa2356fff]
[ 409.878042] PM: hibernation: Marking nosave pages: [mem 0xa2363000-0xa2364fff]
[ 409.878043] PM: hibernation: Marking nosave pages: [mem 0xa2372000-0xa2373fff]
[ 409.878045] PM: hibernation: Marking nosave pages: [mem 0xa2384000-0xa2384fff]
[ 409.878046] PM: hibernation: Marking nosave pages: [mem 0xb9c57000-0xb9ce7fff]
[ 409.878049] PM: hibernation: Marking nosave pages: [mem 0xbd9de000-0xcc3fdfff]
[ 409.878530] PM: hibernation: Marking nosave pages: [mem 0xce000000-0xffffffff]
[ 409.879306] PM: hibernation: Basic memory bitmaps created
[ 409.884500] PM: hibernation: Preallocating image memory
[ 412.146014] PM: hibernation: Allocated 2800864 pages for snapshot
[ 412.146022] PM: hibernation: Allocated 11203456 kbytes in 2.26 seconds (4957.28 MB/s)
[ 412.146025] Freezing remaining freezable tasks
[ 412.147610] Freezing remaining freezable tasks completed (elapsed 0.001 seconds)
[ 412.147829] printk: Suspending console(s) (use no_console_suspend to debug)
[ 412.158400] port 0000:02:00.1:0.0: PM: dpm_run_callback(): pm_runtime_force_suspend+0x0/0x120 returns -16
[ 412.158418] port 0000:02:00.1:0.0: PM: failed to freeze: error -16
[ 413.879379] PM: hibernation: Basic memory bitmaps freed
[ 413.879847] OOM killer enabled.
[ 413.879852] Restarting tasks ... done.
[ 413.882304] PM: hibernation: hibernation exit

Best,
--
Martin