Skip to content

Commit 294ce43

Browse files
wangzhimin1179opsiff
authored andcommitted
PCI: Mark Px210 PCI-E Extended Tags as broken
Per PCIe r3.1, sec 2.2.6.2 and 7.8.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. Phytium Px210 chipset has some issues with 8-bit Tags enabled when doing DMA operations, add this quirk to disable Extended Tags for the entire hierarchy to avoid the problem. Signed-off-by: Liu Tao <liutao@phytium.com.cn> Signed-off-by: Chen Baozi <chenbaozi@phytium.com.cn> Signed-off-by: Wang Yinfeng <wangyinfeng@phytium.com.cn> Signed-off-by: Wang Zhimin <wangzhimin1179@phytium.com.cn> Signed-off-by: wangzhimin1179 <wangzhimin1179@phytium.com.cn> Link: deepin-community#223 (cherry picked from commit 9601517) Signed-off-by: Wentao Guan <guanwentao@uniontech.com>
1 parent c8f8f8c commit 294ce43

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

drivers/pci/quirks.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5588,6 +5588,7 @@ DECLARE_PCI_FIXUP_EARLY(PCI_VENDOR_ID_SERVERWORKS, 0x0142, quirk_no_ext_tags);
55885588
DECLARE_PCI_FIXUP_EARLY(PCI_VENDOR_ID_SERVERWORKS, 0x0144, quirk_no_ext_tags);
55895589
DECLARE_PCI_FIXUP_EARLY(PCI_VENDOR_ID_SERVERWORKS, 0x0420, quirk_no_ext_tags);
55905590
DECLARE_PCI_FIXUP_EARLY(PCI_VENDOR_ID_SERVERWORKS, 0x0422, quirk_no_ext_tags);
5591+
DECLARE_PCI_FIXUP_EARLY(PCI_VENDOR_ID_PHYTIUM, 0xdc3a, quirk_no_ext_tags);
55915592

55925593
#ifdef CONFIG_PCI_ATS
55935594
static void quirk_no_ats(struct pci_dev *pdev)

0 commit comments

Comments
 (0)