From 66d7da19bced44f119a8cbd2843c523c6d15f081 Mon Sep 17 00:00:00 2001 From: JohnZ-CN <104251289+JohnZ-CN@users.noreply.github.com> Date: Fri, 2 Jun 2023 16:27:45 +0800 Subject: [PATCH] Update 0004-pci-Enable-overrides-for-missing-ACS-capabilities-4..patch fix asrock j3455-itx --- ...ci-Enable-overrides-for-missing-ACS-capabilities-4..patch | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/patches/kernel/0004-pci-Enable-overrides-for-missing-ACS-capabilities-4..patch b/patches/kernel/0004-pci-Enable-overrides-for-missing-ACS-capabilities-4..patch index f69c4e3..0c26a0f 100644 --- a/patches/kernel/0004-pci-Enable-overrides-for-missing-ACS-capabilities-4..patch +++ b/patches/kernel/0004-pci-Enable-overrides-for-missing-ACS-capabilities-4..patch @@ -78,7 +78,7 @@ diff --git a/drivers/pci/quirks.c b/drivers/pci/quirks.c index e84378684643..0bfa7199c974 100644 --- a/drivers/pci/quirks.c +++ b/drivers/pci/quirks.c -@@ -194,6 +194,106 @@ static int __init pci_apply_final_quirks(void) +@@ -194,6 +194,105 @@ static int __init pci_apply_final_quirks(void) } fs_initcall_sync(pci_apply_final_quirks); @@ -156,8 +156,7 @@ index e84378684643..0bfa7199c974 100644 + int i; + + /* Never override ACS for legacy devices or devices with ACS caps */ -+ if (!pci_is_pcie(dev) || -+ pci_find_ext_capability(dev, PCI_EXT_CAP_ID_ACS)) ++ if (!pci_is_pcie(dev)) + return -ENOTTY; + + for (i = 0; i < max_acs_id; i++)