From: Jonathan Cameron <jic23@kernel.org>
To: Dave Jiang <dave.jiang@intel.com>
Cc: linux-cxl@vger.kernel.org, dave@stgolabs.net,
alison.schofield@intel.com, djbw@kernel.org
Subject: Re: [PATCH 0/2] cxl/pci: Fix the incorrect check of pci_config_read/write*() returns
Date: Thu, 4 Jun 2026 11:17:44 +0100 [thread overview]
Message-ID: <20260604111744.74cfc2bb@jic23-huawei> (raw)
In-Reply-To: <20260603185752.4149725-1-dave.jiang@intel.com>
On Wed, 3 Jun 2026 11:57:50 -0700
Dave Jiang <dave.jiang@intel.com> wrote:
> The patches are inspired by comments from Richard Cheng WRT pci config
> accessors return PCIBIOS errors that are positive integers rather than
> negative errnos. I went and audited the cxl PCI code and found a few
> locations that need to be fixed. There are other locations that may
> trigger issues, but at this point we'll fix them as they happen.
>
Reviewed-by: Jonathan Cameron <jic23@kernel.org>
>
> Dave Jiang (2):
> cxl/pci: Fix the incorrect check of pci_read_config_word() return
> cxl/pci: Convert PCIBIOS errors to errno on DVSEC config accesses
>
> drivers/cxl/core/pci.c | 22 +++++++++++-----------
> 1 file changed, 11 insertions(+), 11 deletions(-)
>
>
> base-commit: e43ffb69e0438cddd72aaa30898b4dc446f664f8
next prev parent reply other threads:[~2026-06-04 10:17 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-06-03 18:57 [PATCH 0/2] cxl/pci: Fix the incorrect check of pci_config_read/write*() returns Dave Jiang
2026-06-03 18:57 ` [PATCH 1/2] cxl/pci: Fix the incorrect check of pci_read_config_word() return Dave Jiang
2026-06-04 10:45 ` Richard Cheng
2026-06-04 16:17 ` Alison Schofield
2026-06-03 18:57 ` [PATCH 2/2] cxl/pci: Convert PCIBIOS errors to errno on DVSEC config accesses Dave Jiang
2026-06-04 10:45 ` Richard Cheng
2026-06-04 16:46 ` Alison Schofield
2026-06-04 10:17 ` Jonathan Cameron [this message]
2026-06-04 10:30 ` [PATCH 0/2] cxl/pci: Fix the incorrect check of pci_config_read/write*() returns Richard Cheng
2026-06-04 10:51 ` Richard Cheng
2026-06-04 15:58 ` Dave Jiang
2026-06-04 16:10 ` Dave Jiang
2026-06-04 15:57 ` Dave Jiang
2026-06-04 16:19 ` Alison Schofield
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=20260604111744.74cfc2bb@jic23-huawei \
--to=jic23@kernel.org \
--cc=alison.schofield@intel.com \
--cc=dave.jiang@intel.com \
--cc=dave@stgolabs.net \
--cc=djbw@kernel.org \
--cc=linux-cxl@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox