All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/2] wifi: mt76: mt7921: fix hibernate and suspend resume
@ 2026-10-24 13:16 Hedi Ben Hamida
  2026-10-24 13:16 ` [PATCH v2 1/2] wifi: mt76: mt7921: add pci restore for hibernate Hedi Ben Hamida
  2026-10-24 13:16 ` [PATCH v2 2/2] wifi: mt76: mt7921: reset on HIF resume timeout Hedi Ben Hamida
  0 siblings, 2 replies; 3+ messages in thread
From: Hedi Ben Hamida @ 2026-10-24 13:16 UTC (permalink / raw)
  To: Felix Fietkau, Lorenzo Bianconi
  Cc: Ryder Lee, Shayne Chen, Sean Wang, linux-wireless, linux-mediatek,
	stable, Hedi Ben Hamida

This series fixes two MT7921/MT7922 power-management resume paths.

Patch 1 adds a dedicated .restore callback for hibernate. Without it the
S4 restore path runs the normal resume sequence and times out waiting for
the HIF suspend MCU handshake.

Patch 2 recovers from the same HIF resume timeout on S3: the firmware does
not return the HIF_CTRL response after D3, so reset the device and report
success instead of failing the resume.

Both were tested on MEDIATEK MT7922 (14c3:7922) on kernel 6.12.113.

v2: add the suspend resume fix; patch 1 is unchanged.


Hedi Ben Hamida (2):
  wifi: mt76: mt7921: add pci restore for hibernate
  wifi: mt76: mt7921: reset on HIF resume timeout

 .../net/wireless/mediatek/mt76/mt7921/pci.c   | 34 +++++++++++++++++--
 1 file changed, 31 insertions(+), 3 deletions(-)

-- 
2.47.3


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2026-10-24 13:18 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-10-24 13:16 [PATCH v2 0/2] wifi: mt76: mt7921: fix hibernate and suspend resume Hedi Ben Hamida
2026-10-24 13:16 ` [PATCH v2 1/2] wifi: mt76: mt7921: add pci restore for hibernate Hedi Ben Hamida
2026-10-24 13:16 ` [PATCH v2 2/2] wifi: mt76: mt7921: reset on HIF resume timeout Hedi Ben Hamida

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.