Linux PCI subsystem development
 help / color / mirror / Atom feed
From: sashiko-bot@kernel.org
To: "Lukas Wunner" <lukas@wunner.de>
Cc: linux-pci@vger.kernel.org
Subject: Re: [PATCH] PCI: Add quirk for ID mutation of MSI Claw A8 cardreader
Date: Fri, 14 Aug 2026 09:24:43 +0000	[thread overview]
Message-ID: <20260814092448.4DF671F000E9@smtp.kernel.org> (raw)
In-Reply-To: <36578f6e0829bbcdf68659ffad27b65715a97768.1786698126.git.lukas@wunner.de>

> Derek reports a lockup on resume of the MSI Claw A8 if a card is inserted
> into the onboard Realtek RTS525A cardreader.  He has root-caused it to a
> mutation of the cardreader's Subsystem Vendor and Device ID:  Firmware
> sets an MSI-specific ID on boot, but neglects to reset it on resume.
> The ID thus changes to the generic Realtek Vendor and Device ID.
> 
> The firmware also incorrectly sets the Hot-Plug Capable bit on the Root
> Port and the PCIe hotplug driver interprets the ID mutation as removal of
> the cardreader during system sleep (see pciehp_device_replaced()).
> 
> The lockup is caused by the block layer being unaware of the hot-removal
> and waiting indefinitely in sync_filesystem().  That is fixed with a
> separate commit for the cardreader driver.  However despite that other
> commit, the cardreader is still hot-removed and re-enumerated the first
> time the system is put to sleep.  This is undesirable because it prevents
> [ ... ]
> Reported-by: Derek J. Clark <derekjohn.clark@gmail.com>
> Tested-by: Derek J. Clark <derekjohn.clark@gmail.com>
> Closes: https://lore.kernel.org/r/20260806214808.1202819-1-derekjohn.clark@gmail.com/
> Link: https://github.com/ValveSoftware/SteamOS/issues/2473
> Signed-off-by: Lukas Wunner <lukas@wunner.de>

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

-- 
Sashiko AI review · https://sashiko.dev/#/patchset/36578f6e0829bbcdf68659ffad27b65715a97768.1786698126.git.lukas@wunner.de?part=1


      reply	other threads:[~2026-08-14  9:24 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-08-14  9:06 [PATCH] PCI: Add quirk for ID mutation of MSI Claw A8 cardreader Lukas Wunner
2026-08-14  9:24 ` 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=20260814092448.4DF671F000E9@smtp.kernel.org \
    --to=sashiko-bot@kernel.org \
    --cc=linux-pci@vger.kernel.org \
    --cc=lukas@wunner.de \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox