diff options
author | Koen Vandeputte <koen.vandeputte@ncentric.com> | 2017-02-08 09:44:14 +0100 |
---|---|---|
committer | Felix Fietkau <nbd@nbd.name> | 2017-04-12 12:12:49 +0200 |
commit | 2611f67423a2be18f6fe825e6aef3f1cc956eb65 (patch) | |
tree | 004857e175b10e70887c8dec1284f31eb50ade5b /target/linux/cns3xxx/patches-4.4/130-Extend-PCIE_BUS_PEER2PEER-to-set-MRSS-128-to-fix-CNS3xxx-BM-DMA..patch | |
parent | ffd055d5bbc1a223c80eb5bbc03a6465d0ac0bb4 (diff) | |
download | upstream-2611f67423a2be18f6fe825e6aef3f1cc956eb65.tar.gz upstream-2611f67423a2be18f6fe825e6aef3f1cc956eb65.tar.bz2 upstream-2611f67423a2be18f6fe825e6aef3f1cc956eb65.zip |
cns3xxx: remove linux 4.4 support
Signed-off-by: Koen Vandeputte <koen.vandeputte@ncentric.com>
Diffstat (limited to 'target/linux/cns3xxx/patches-4.4/130-Extend-PCIE_BUS_PEER2PEER-to-set-MRSS-128-to-fix-CNS3xxx-BM-DMA..patch')
-rw-r--r-- | target/linux/cns3xxx/patches-4.4/130-Extend-PCIE_BUS_PEER2PEER-to-set-MRSS-128-to-fix-CNS3xxx-BM-DMA..patch | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/target/linux/cns3xxx/patches-4.4/130-Extend-PCIE_BUS_PEER2PEER-to-set-MRSS-128-to-fix-CNS3xxx-BM-DMA..patch b/target/linux/cns3xxx/patches-4.4/130-Extend-PCIE_BUS_PEER2PEER-to-set-MRSS-128-to-fix-CNS3xxx-BM-DMA..patch deleted file mode 100644 index c1f565a307..0000000000 --- a/target/linux/cns3xxx/patches-4.4/130-Extend-PCIE_BUS_PEER2PEER-to-set-MRSS-128-to-fix-CNS3xxx-BM-DMA..patch +++ /dev/null @@ -1,23 +0,0 @@ ---- a/drivers/pci/probe.c -+++ b/drivers/pci/probe.c -@@ -1967,7 +1967,8 @@ static void pcie_write_mrrs(struct pci_d - /* In the "safe" case, do not configure the MRRS. There appear to be - * issues with setting MRRS to 0 on a number of devices. - */ -- if (pcie_bus_config != PCIE_BUS_PERFORMANCE) -+ if (pcie_bus_config != PCIE_BUS_PERFORMANCE && -+ pcie_bus_config != PCIE_BUS_PEER2PEER) - return; - - /* For Max performance, the MRRS must be set to the largest supported ---- a/include/linux/pci.h -+++ b/include/linux/pci.h -@@ -757,7 +757,7 @@ enum pcie_bus_config_types { - PCIE_BUS_DEFAULT, /* ensure MPS matches upstream bridge */ - PCIE_BUS_SAFE, /* use largest MPS boot-time devices support */ - PCIE_BUS_PERFORMANCE, /* use MPS and MRRS for best performance */ -- PCIE_BUS_PEER2PEER, /* set MPS = 128 for all devices */ -+ PCIE_BUS_PEER2PEER, /* set MPS and MRSS to 128 for all devices */ - }; - - extern enum pcie_bus_config_types pcie_bus_config; |