All of lore.kernel.org
 help / color / mirror / Atom feed
From: sashiko-bot@kernel.org
To: "Navon John Lukose" <navonjohnlukose@gmail.com>
Cc: linux-pci@vger.kernel.org
Subject: Re: [PATCH wireless 2/2] wifi: iwlwifi: pcie: request a product reset when the device is gone after resume
Date: Sat, 29 Aug 2026 10:06:42 +0000	[thread overview]
Message-ID: <20260829100642.642771F000E9@smtp.kernel.org> (raw)
In-Reply-To: <20260829095437.44716-3-navonjohnlukose@gmail.com>

> On platforms where D3cold removes the WiFi module's power rail, the
> device can come back from suspend completely absent from the bus: config
> space reads 0xffffffff and the downstream link never trains.
> _iwl_pci_resume() currently notices only a subset of this (scratch ==
> ~0U, and only when the device was enabled), then "hopes for the best" by
> re-initialising over PCI, which cannot work - the hardware is not there.
> The result is several seconds of handshake timeouts and a bogus
> ADVANCED_SYSASSERT dump before giving up, and the device stays gone
> until reboot.
> 
> Check whether the device answers config cycles at all, and if not ask
> for a product reset, which power-cycles the module and re-enumerates it.
> 
> The check is deliberately placed before the STATUS_DEVICE_ENABLED block:
> that block is skipped entirely when the device was idle or down at
> suspend time, which is a common case (e.g. the radio was switched off)
> and one where the device is just as dead.
> 
> Fixes: 9673c35486d4 ("wifi: iwlwifi: implement product reset for TOP errors")
> Closes: https://bugzilla.kernel.org/show_bug.cgi?id=221695
> Cc: stable@vger.kernel.org
> Signed-off-by: Navon John Lukose <navonjohnlukose@gmail.com>

Sashiko has reviewed this patch and found no issues. It looks great!

-- 
Sashiko AI review · https://sashiko.dev/#/patchset/20260829095437.44716-1-navonjohnlukose@gmail.com?part=2


      reply	other threads:[~2026-08-29 10:06 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-08-29  9:54 [PATCH wireless 0/2] wifi: iwlwifi: recover the device after it loses power in D3cold Navon John Lukose
2026-08-29  9:54 ` [PATCH wireless 1/2] wifi: iwlwifi: pcie: arm the product reset at probe Navon John Lukose
2026-08-29 10:07   ` sashiko-bot
2026-08-29 12:37     ` Navon John Lukose
2026-08-29  9:54 ` [PATCH wireless 2/2] wifi: iwlwifi: pcie: request a product reset when the device is gone after resume Navon John Lukose
2026-08-29 10:06   ` sashiko-bot [this message]

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=20260829100642.642771F000E9@smtp.kernel.org \
    --to=sashiko-bot@kernel.org \
    --cc=linux-pci@vger.kernel.org \
    --cc=navonjohnlukose@gmail.com \
    --cc=sashiko-reviews@lists.linux.dev \
    /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.