All of lore.kernel.org
 help / color / mirror / Atom feed
From: Paul Gover <pmw.gover@yahoo.co.uk>
To: stable@vger.kernel.org, Yan-Hsuan Chuang <tony0620emma@gmail.com>
Cc: regressions@lists.linux.dev, linux-wireless@vger.kernel.org
Subject: Resume after suspend broken, reboots instead on kernel 6.1 onwards x86_64 RTW88
Date: Thu, 09 Feb 2023 19:59:03 +0000	[thread overview]
Message-ID: <3739412.kQq0lBPeGt@ryzen> (raw)
In-Reply-To: 3739412.kQq0lBPeGt.ref@ryzen

Suspend/Resume was working OK on kernel 6.0.13, broken since 6.1.1
(I've not tried kernels between those, except in the bisect below.)
All subsequent 6,1 kernels exhibit the same behaviour.

Suspend works OK, but on Resume, there's a flicker, and then it reboots.
Sometimes the screen gets restored to its contents at the time of suspend. but 
less than a second later, it starts rebooting.
To reproduce, simply boot, suspend, and resume.

Git bisect blames RTW88
commit 6bf3a083407b5d404d70efc3a5ac75b472e5efa9

I'll attach bisect log, dmesg and configs to the bug I've opened 
	https://bugzilla.kernel.org/show_bug.cgi?id=217016

dmesg from the following boot show a hardware error.
It's not there when the system resumes or reboots with 6.0.13,
and if I don't suspend & resume, there are no reported errors.

The problem occurs under both Wayland and X11, and from the command line via 
echo mem>/sys/power.state


Vanilla kernels, untainted, compiled with GCC; my system is Gentoo FWIW, but I 
do my own kernels direct from a git clone of stable.

Couldn't find anything similar with Google or the mailing lists.

**Hardware:**

HP Laptop 15-bw0xx
AMD A9-9420 RADEON R5, 5 COMPUTE CORES
Stoney [Radeon R2/R3/R4/R5 Graphics]
4 GB memory
RTL8723DE PCIe adapter

**Kernel**

Kernel command line:
psmouse.synaptics_intertouch=1 pcie_aspm=force rdrand=force rootfstype=f2fs 
root=LABEL=gentoo

CONFIG_RTW88=m
CONFIG_RTW88_CORE=m
CONFIG_RTW88_PCI=m
CONFIG_RTW88_8723D=m
# CONFIG_RTW88_8822BE is not set
# CONFIG_RTW88_8822CE is not set
CONFIG_RTW88_8723DE=m
# CONFIG_RTW88_8821CE is not set
# CONFIG_RTW88_DEBUG is not set
# CONFIG_RTW88_DEBUGFS is not set
# CONFIG_RTW89 is not set



       reply	other threads:[~2023-02-09 19:59 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <3739412.kQq0lBPeGt.ref@ryzen>
2023-02-09 19:59 ` Paul Gover [this message]
2023-02-10 12:24   ` Resume after suspend broken, reboots instead on kernel 6.1 onwards x86_64 RTW88 Linux kernel regression tracking (Thorsten Leemhuis)
2023-02-13  3:42     ` Ping-Ke Shih
2023-02-13 12:23       ` Paul Gover
2023-02-16 14:18     ` Linux regression tracking #update (Thorsten Leemhuis)

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3739412.kQq0lBPeGt@ryzen \
    --to=pmw.gover@yahoo.co.uk \
    --cc=linux-wireless@vger.kernel.org \
    --cc=regressions@lists.linux.dev \
    --cc=stable@vger.kernel.org \
    --cc=tony0620emma@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.