[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <87wmqrzk0q.wl-tiwai@suse.de>
Date: Mon, 26 Feb 2024 09:50:45 +0100
From: Takashi Iwai <tiwai@...e.de>
To: Vlastimil Babka <vbabka@...e.cz>
Cc: Baochen Qiang <quic_bqiang@...cinc.com>,
Manivannan Sadhasivam <manivannan.sadhasivam@...aro.org>,
Jeff Johnson <quic_jjohnson@...cinc.com>,
Takashi Iwai <tiwai@...e.de>,
Jiri Slaby <jirislaby@...nel.org>,
Kalle Valo <kvalo@...nel.org>,
Linux Wireless <linux-wireless@...r.kernel.org>,
ath11k@...ts.infradead.org,
LKML <linux-kernel@...r.kernel.org>,
mhi@...ts.linux.dev,
linux-arm-msm@...r.kernel.org
Subject: Re: ath11k allocation failure on resume breaking wifi until power cycle
On Mon, 26 Feb 2024 09:45:17 +0100,
Vlastimil Babka wrote:
>
> On 2/26/24 03:09, Baochen Qiang wrote:
> >
> >
> > On 2/23/2024 11:28 PM, Vlastimil Babka wrote:
> >> On 2/22/24 06:47, Manivannan Sadhasivam wrote:
> >>> On Wed, Feb 21, 2024 at 08:34:23AM -0800, Jeff Johnson wrote:
> >>>> On 2/21/2024 6:39 AM, Vlastimil Babka wrote:
> >>>>> Hi,
> >>>>>
> >>>>> starting with 6.8 rc series, I'm experiencing problems on resume from s2idle
> >>>>> on my laptop, which is Lenovo T14s Gen3:
> >>>>>
> >>>>> LENOVO 21CRS0K63K/21CRS0K63K, BIOS R22ET65W (1.35 )
> >>>>> ath11k_pci 0000:01:00.0: wcn6855 hw2.1
> >>>>> ath11k_pci 0000:01:00.0: chip_id 0x12 chip_family 0xb board_id 0xff soc_id 0x400c1211
> >>>>> ath11k_pci 0000:01:00.0: fw_version 0x1106196e fw_build_timestamp 2024-01-12 11:30 fw_build_id WLAN.HSP.1.1-03125-QCAHSPSWPL_V1_V2_SILICONZ_LITE-3.6510.37
> >>>>>
> >>>>> The problem is an allocation failure happening on resume from s2idle. After
> >>>>> that the wifi stops working and even a reboot won't fix it, only a
> >>>>> poweroff/poweron cycle of the laptop.
> >>>>>
> >>>
> >>> Looks like WLAN is powered down during s2idle, which doesn't make sense. I hope
> >>> Jeff will figure out what's going on.
> >>
> >> You mean the firmware is supposed to power it down/up transparently without
> >> kernel involvement? Because it should be powered down to save the power, no?
> > Let me clarify: from backtrace info, seems you are using a kernel with
> > the hibernation-support patches [1] applied, which are not accepted yet
> > to mainline kernel or even
> > git://git.kernel.org/pub/scm/linux/kernel/git/mani/mhi.git.
>
> Oh, you're right. Sorry for confusing you all. The rc kernel builds we have
> for openSUSE have nearly no non-upstream patches so it didn't really occur
> to me to double check if there might be in the area.
>
> Seems Takashi (Cc'd) added them indeed to make hibernation work:
> https://bugzilla.suse.com/show_bug.cgi?id=1207948#c51
Yeah, and I'm afraid that we still have the ath11k hibernation patches
in our 6.8-rc default kernel (i.e. patches are in both master and
stable branches). But you can test vanilla flavor that has certainly
no downstream patches at all.
thanks,
Takashi
Powered by blists - more mailing lists