]> git.ipfire.org Git - thirdparty/kernel/stable-queue.git/commitdiff
4.19-stable patches
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 16 Aug 2022 12:21:33 +0000 (14:21 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 16 Aug 2022 12:21:33 +0000 (14:21 +0200)
added patches:
pci-add-defines-for-normal-and-subtractive-pci-bridges.patch

queue-4.19/pci-add-defines-for-normal-and-subtractive-pci-bridges.patch [new file with mode: 0644]
queue-4.19/series

diff --git a/queue-4.19/pci-add-defines-for-normal-and-subtractive-pci-bridges.patch b/queue-4.19/pci-add-defines-for-normal-and-subtractive-pci-bridges.patch
new file mode 100644 (file)
index 0000000..b2614e7
--- /dev/null
@@ -0,0 +1,43 @@
+From 904b10fb189cc15376e9bfce1ef0282e68b0b004 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Pali=20Roh=C3=A1r?= <pali@kernel.org>
+Date: Mon, 14 Feb 2022 12:41:08 +0100
+Subject: PCI: Add defines for normal and subtractive PCI bridges
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+From: Pali Rohár <pali@kernel.org>
+
+commit 904b10fb189cc15376e9bfce1ef0282e68b0b004 upstream.
+
+Add these PCI class codes to pci_ids.h:
+
+  PCI_CLASS_BRIDGE_PCI_NORMAL
+  PCI_CLASS_BRIDGE_PCI_SUBTRACTIVE
+
+Use these defines in all kernel code for describing PCI class codes for
+normal and subtractive PCI bridges.
+
+[bhelgaas: similar change in pci-mvebu.c]
+Link: https://lore.kernel.org/r/20220214114109.26809-1-pali@kernel.org
+Signed-off-by: Pali Rohár <pali@kernel.org>
+Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
+Cc: Guenter Roeck <linux@roeck-us.net>a
+Cc: Naresh Kamboju <naresh.kamboju@linaro.org>
+[ gregkh - take only the pci_ids.h portion for stable backports ]
+Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
+---
+ include/linux/pci_ids.h |    2 ++
+ 1 file changed, 2 insertions(+)
+
+--- a/include/linux/pci_ids.h
++++ b/include/linux/pci_ids.h
+@@ -59,6 +59,8 @@
+ #define PCI_CLASS_BRIDGE_EISA         0x0602
+ #define PCI_CLASS_BRIDGE_MC           0x0603
+ #define PCI_CLASS_BRIDGE_PCI          0x0604
++#define PCI_CLASS_BRIDGE_PCI_NORMAL           0x060400
++#define PCI_CLASS_BRIDGE_PCI_SUBTRACTIVE      0x060401
+ #define PCI_CLASS_BRIDGE_PCMCIA               0x0605
+ #define PCI_CLASS_BRIDGE_NUBUS                0x0606
+ #define PCI_CLASS_BRIDGE_CARDBUS      0x0607
index 604c3fd04e551d99017872aaa486ae58d30d78c6..5d8b1549ac23520c9c737343cfbd0aee57b6fc77 100644 (file)
@@ -31,6 +31,7 @@ md-raid10-fix-kasan-warning.patch
 mbcache-don-t-reclaim-used-entries.patch
 mbcache-add-functions-to-delete-entry-if-unused.patch
 ia64-processor-fix-wincompatible-pointer-types-in-ia64_get_irr.patch
+pci-add-defines-for-normal-and-subtractive-pci-bridges.patch
 powerpc-fsl-pci-fix-class-code-of-pcie-root-port.patch
 powerpc-powernv-avoid-crashing-if-rng-is-null.patch
 mips-cpuinfo-fix-a-warning-for-config_cpumask_offstack.patch