Linux PCI subsystem development
 help / color / mirror / Atom feed
From: sashiko-bot@kernel.org
To: "Feng Tang" <feng.tang@linux.alibaba.com>, linux-pci@vger.kernel.org
Subject: Re: [PATCH RFC] PCI: Add warning about possible danger for pcie_bus_perf mode
Date: Wed, 25 Nov 2026 16:04:14 +0000	[thread overview]
Message-ID: <sashiko-outbox-233704@kernel.org> (raw)
In-Reply-To: <20261125155829.77269-1-feng.tang@linux.alibaba.com>

> During stability test, there was a bug that running 'mount' on a type
> of commercial NVME disk failed on an arm64 server and raised PCIe RAS
> error and panic the kernel later, when using "pci=pcie_bus_perf" kernel
> cmdline parameter.
> 
> The NVME device has MPS(Max Payload Size) capability of 256 bytes while
> its corresponding root port is capable of 512 bytes. When enabling
> PCIE_BUS_PERFORMANCE mode, its MPS and MRRS(Max Read Request Size) are
> both set to 256, while the root port's are both set to 512. But the
> NVME device doesn't comply with PCIe spec (v6.3), Section 7.5.3.4:
> 
> "
> Max_Read_Request_Size - This field sets the maximum Read Request size
> for the Function as a Requester. The Function must not generate Read
> Requests with a size exceeding the set value
> [ ... ]
> setting is no larger than its MPS setting, while the device breaks PCIe
> spec. It could still be meaningful to warn about the possible danger.
> 
> Reported-by: Anju Zheng <zaj01616726@alibaba-inc.com>
> Signed-off-by: Feng Tang <feng.tang@linux.alibaba.com>

Sashiko has reviewed this patch and found no issues.

-- 
Sashiko AI review · https://sashiko.dev/#/patchset/20261125155829.77269-1-feng.tang@linux.alibaba.com?part=1

  reply	other threads:[~2026-11-25 16:04 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-25 15:58 [PATCH RFC] PCI: Add warning about possible danger for pcie_bus_perf mode Feng Tang
2026-11-25 16:04 ` sashiko-bot [this message]
2026-11-26  8:37 ` Christoph Hellwig
2026-11-26  9:48   ` Feng Tang
2026-11-26  8:39 ` Niklas Cassel
2026-11-26 11:03   ` Feng Tang
2026-11-26 11:56     ` Niklas Cassel

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-233704@kernel.org \
    --to=sashiko-bot@kernel.org \
    --cc=feng.tang@linux.alibaba.com \
    --cc=linux-pci@vger.kernel.org \
    --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