From: Xianhu Tan <xianhutan@asrmicro.com>
To: <linux-pci@vger.kernel.org>
Subject: Re: [PATCH] PCI/PM: Reject invalid PMCSR when checking PME status
Date: Wed, 2 Dec 2026 14:08:08 +0800 [thread overview]
Message-ID: <20261202140808.reply@asrmicro.com> (raw)
In-Reply-To: <aw6fVxkpUjuD3zV5@wunner.de>
Hi Lukas,
On Tue, Dec 01, 2026 at 11:20:07 +0100, Lukas Wunner wrote:
> You can just use PCI_POSSIBLE_ERROR() instead of checking for 0xffff.
> I'm not sure whether checking the return value is necessary or useful,
> usually checking for PCI_POSSIBLE_ERROR() is sufficient.
Agreed on both points. The PCI core already sets PCI_ERROR_RESPONSE
on failed config reads, so checking the return value of
pci_read_config_word() is redundant. v2 will use PCI_POSSIBLE_ERROR()
and drop the rc check.
Thanks for the review!
Best regards,
Xianhu Tan
prev parent reply other threads:[~2026-12-02 6:08 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-12-01 7:25 [PATCH] PCI/PM: Reject invalid PMCSR when checking PME status xianhutan
2026-12-01 7:32 ` sashiko-bot
2026-12-01 10:20 ` Lukas Wunner
2026-12-02 6:08 ` Xianhu Tan [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=20261202140808.reply@asrmicro.com \
--to=xianhutan@asrmicro.com \
--cc=linux-pci@vger.kernel.org \
/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.