From: Feng Tang <feng.tang@linux.alibaba.com>
To: Christoph Hellwig <hch@infradead.org>
Cc: Bjorn Helgaas <bhelgaas@google.com>,
linux-pci@vger.kernel.org, linux-kernel@vger.kernel.org,
Anju Zheng <zaj01616726@alibaba-inc.com>
Subject: Re: [PATCH RFC] PCI: Add warning about possible danger for pcie_bus_perf mode
Date: Thu, 26 Nov 2026 17:48:33 +0800 [thread overview]
Message-ID: <awgAccPedwuAt-Tu@U-2FWC9VHC-2323.local> (raw)
In-Reply-To: <awfv0WKc6iblVA9E@infradead.org>
On Thu, Nov 26, 2026 at 12:37:37AM -0800, Christoph Hellwig wrote:
> On Wed, Nov 25, 2026 at 11:58:29PM +0800, Feng Tang wrote:
> > 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:
>
> Please add a quirk for these devices now that you have identified
> this problem.
Good suggestion! Will work on this.
One naughty point is, during the debug, we have 2 models from the
same vendor, which has the same Vendor ID and Device ID, one is
3.8TB, and the other is 1.9TB. Only the 1.9TB model has this
issue, while the 3.8TB one works fine with "pcie_bus_safe" mode.
'lspci -xvvv' of these 2 models are also almost the same, so there
is no way to tell these 2 models?
Any suggestion? Or we just add the quirks for this VID/DID for safe?
Thanks,
Feng
next prev parent reply other threads:[~2026-11-26 9:48 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-25 15:58 Feng Tang
2026-11-26 8:37 ` Christoph Hellwig
2026-11-26 9:48 ` Feng Tang [this message]
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=awgAccPedwuAt-Tu@U-2FWC9VHC-2323.local \
--to=feng.tang@linux.alibaba.com \
--cc=bhelgaas@google.com \
--cc=hch@infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pci@vger.kernel.org \
--cc=zaj01616726@alibaba-inc.com \
/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
all inboxes | Powered by JetHome®