From: sashiko-bot@kernel.org
To: raoxu <raoxu@uniontech.com>
Cc: linux-pci@vger.kernel.org
Subject: Re: [PATCH v2] PCI/MSI: Retry a mismatched MSI-X message once during restore
Date: Mon, 30 Nov 2026 07:59:32 +0000 [thread overview]
Message-ID: <sashiko-outbox-240633@kernel.org> (raw)
In-Reply-To: <86A15F7DC608A2E9+20261130075042.726555-1-raoxu@uniontech.com>
> From: Xu Rao <raoxu@uniontech.com>
>
> Repeated S3 cycles on an Inspur CE720F2 with a Phytium D3000 CPU
> leave its Renesas xHCI controller (0000:04:00.0, 1912:0014) without
> working interrupts. The keyboard and mouse stop responding, and
> newly attached USB devices cannot be used. Manually resetting the
> controller restores operation.
>
> The failure was reproduced on UOS 6.6.0-arm64-desktop, revision
> d7bafad345e0, build #5.
>
> The affected kernel already includes commit 231c7a57d193
> ("PCI/MSI: Enable memory decoding before restoring MSI-X messages").
> However, inconsistent MSI-X message readbacks still occur after the
> messages have been restored.
>
> Read back each non-virtual MSI-X message after restoring it when the
> device is in D0 and its PCI channel is online. If the message differs
> from the cached value, retry the write once before restoring vector
> control. Skip the readback when the PCI channel is offline, consistent
> with the existing MSI-X programming paths.
>
> In an earlier diagnostic run of 500 S3 cycles, nine initial MSI-X
> message readbacks differed from the cached values. All nine matched
> after one additional write. Subsequent testing of the single-retry
> approach completed 1000 S3 cycles without reproducing the failure.
>
> Signed-off-by: Xu Rao <raoxu@uniontech.com>
Sashiko has reviewed this patch and found no issues.
--
Sashiko AI review · https://sashiko.dev/#/patchset/86A15F7DC608A2E9+20261130075042.726555-1-raoxu@uniontech.com?part=1
prev parent reply other threads:[~2026-11-30 7:59 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-30 7:50 [PATCH v2] PCI/MSI: Retry a mismatched MSI-X message once during restore raoxu
2026-11-30 7:59 ` 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=sashiko-outbox-240633@kernel.org \
--to=sashiko-bot@kernel.org \
--cc=linux-pci@vger.kernel.org \
--cc=raoxu@uniontech.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox