Re: [PATCH RFC] PCI: Add warning about possible danger for pcie_bus_perf mode

From: Feng Tang

Date: Thu Nov 26 2026 - 04:48:47 EST


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