|
|
@@ -1,13 +1,16 @@
|
|
|
-From 14fa9884ba1082e0280e8d477e22df917326fca5 Mon Sep 17 00:00:00 2001
|
|
|
+From e39d70502f7a981f821243160501303b7ee26d52 Mon Sep 17 00:00:00 2001
|
|
|
From: Mark Weiman <[email protected]>
|
|
|
Date: Sat, 29 Jul 2017 09:15:32 -0400
|
|
|
-Subject: [PATCH] pci: Enable overrides for missing ACS capabilities (4.12+)
|
|
|
+Subject: [PATCH 3/4] pci: Enable overrides for missing ACS capabilities
|
|
|
+ (4.12+)
|
|
|
+MIME-Version: 1.0
|
|
|
+Content-Type: text/plain; charset=UTF-8
|
|
|
+Content-Transfer-Encoding: 8bit
|
|
|
|
|
|
This an updated version of Alex Williamson's patch from:
|
|
|
https://lkml.org/lkml/2013/5/30/513
|
|
|
|
|
|
Original commit message follows:
|
|
|
----
|
|
|
PCIe ACS (Access Control Services) is the PCIe 2.0+ feature that
|
|
|
allows us to control whether transactions are allowed to be redirected
|
|
|
in various subnodes of a PCIe topology. For instance, if two
|
|
|
@@ -44,16 +47,18 @@ Note to hardware vendors, we have facilities to permanently quirk
|
|
|
specific devices which enforce isolation but not provide an ACS
|
|
|
capability. Please contact me to have your devices added and save
|
|
|
your customers the hassle of this boot option.
|
|
|
+
|
|
|
+Signed-off-by: Fabian Grünbichler <[email protected]>
|
|
|
---
|
|
|
Documentation/admin-guide/kernel-parameters.txt | 9 +++
|
|
|
drivers/pci/quirks.c | 102 ++++++++++++++++++++++++
|
|
|
2 files changed, 111 insertions(+)
|
|
|
|
|
|
diff --git a/Documentation/admin-guide/kernel-parameters.txt b/Documentation/admin-guide/kernel-parameters.txt
|
|
|
-index 7737ab5d04b2..e7353191fa5c 100644
|
|
|
+index f8ce2089146c..d4ace16bd59a 100644
|
|
|
--- a/Documentation/admin-guide/kernel-parameters.txt
|
|
|
+++ b/Documentation/admin-guide/kernel-parameters.txt
|
|
|
-@@ -2866,6 +2866,15 @@
|
|
|
+@@ -2918,6 +2918,15 @@
|
|
|
nomsi [MSI] If the PCI_MSI kernel config parameter is
|
|
|
enabled, this kernel boot option can be used to
|
|
|
disable the use of MSI interrupts system-wide.
|
|
|
@@ -70,10 +75,10 @@ index 7737ab5d04b2..e7353191fa5c 100644
|
|
|
Safety option to keep boot IRQs enabled. This
|
|
|
should never be necessary.
|
|
|
diff --git a/drivers/pci/quirks.c b/drivers/pci/quirks.c
|
|
|
-index 085fb787aa9e..73a2b4cb61a0 100644
|
|
|
+index b7832fd4dbf4..f128ca4aea2b 100644
|
|
|
--- a/drivers/pci/quirks.c
|
|
|
+++ b/drivers/pci/quirks.c
|
|
|
-@@ -3654,6 +3654,107 @@ static int __init pci_apply_final_quirks(void)
|
|
|
+@@ -3687,6 +3687,107 @@ static int __init pci_apply_final_quirks(void)
|
|
|
|
|
|
fs_initcall_sync(pci_apply_final_quirks);
|
|
|
|
|
|
@@ -181,7 +186,7 @@ index 085fb787aa9e..73a2b4cb61a0 100644
|
|
|
/*
|
|
|
* Following are device-specific reset methods which can be used to
|
|
|
* reset a single function if other methods (e.g. FLR, PM D0->D3) are
|
|
|
-@@ -4368,6 +4469,7 @@ static const struct pci_dev_acs_enabled {
|
|
|
+@@ -4490,6 +4591,7 @@ static const struct pci_dev_acs_enabled {
|
|
|
{ 0x10df, 0x720, pci_quirk_mf_endpoint_acs }, /* Emulex Skyhawk-R */
|
|
|
/* Cavium ThunderX */
|
|
|
{ PCI_VENDOR_ID_CAVIUM, PCI_ANY_ID, pci_quirk_cavium_acs },
|
|
|
@@ -190,5 +195,5 @@ index 085fb787aa9e..73a2b4cb61a0 100644
|
|
|
};
|
|
|
|
|
|
--
|
|
|
-2.13.3
|
|
|
+2.11.0
|
|
|
|