]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
PCI: Mark 3ware-9650SA Root Port Extended Tags as broken
authorJörg Wedekind <joerg@wedekind.de>
Mon, 19 Jan 2026 14:31:10 +0000 (15:31 +0100)
committerBjorn Helgaas <bhelgaas@google.com>
Thu, 22 Jan 2026 00:11:01 +0000 (18:11 -0600)
commit959ac08a2c2811305be8c2779779e8b0932e5a99
tree305d29f8ee1d5672136bf8fc28a4aa8f037e573e
parent73711730a1128d91ebca1a6994ceeb18f36cb0cd
PCI: Mark 3ware-9650SA Root Port Extended Tags as broken

Per PCIe r7.0, sec 2.2.6.2.1 and 7.5.3.4, a Requester may not use 8-bit Tags
unless its Extended Tag Field Enable is set, but all Receivers/Completers
must handle 8-bit Tags correctly regardless of their Extended Tag Field
Enable.

Some devices do not handle 8-bit Tags as Completers, so add a quirk for
them.  If we find such a device, we disable Extended Tags for the entire
hierarchy to make peer-to-peer DMA possible.

The 3ware 9650SA seems to have issues with handling 8-bit tags. Mark it as
broken.

This fixes PCI Parity Errors like :

  3w-9xxx: scsi0: ERROR: (0x06:0x000C): PCI Parity Error: clearing.
  3w-9xxx: scsi0: ERROR: (0x06:0x000D): PCI Abort: clearing.
  3w-9xxx: scsi0: ERROR: (0x06:0x000E): Controller Queue Error: clearing.
  3w-9xxx: scsi0: ERROR: (0x06:0x0010): Microcontroller Error: clearing.

Fixes: 60db3a4d8cc9 ("PCI: Enable PCIe Extended Tags if supported")
Closes: https://bugzilla.kernel.org/show_bug.cgi?id=202425
Signed-off-by: Jörg Wedekind <joerg@wedekind.de>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Link: https://patch.msgid.link/20260119143114.21948-1-joerg@wedekind.de
drivers/pci/quirks.c