]> git.ipfire.org Git - thirdparty/kernel/stable-queue.git/commitdiff
drop pci-switchtec-read-all-64-bits-of-part_event_bitmap.patch from 4.19 and 4.14
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 19 Dec 2019 10:44:39 +0000 (11:44 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 19 Dec 2019 10:44:39 +0000 (11:44 +0100)
queue-4.14/pci-switchtec-read-all-64-bits-of-part_event_bitmap.patch [deleted file]
queue-4.14/series
queue-4.19/pci-switchtec-read-all-64-bits-of-part_event_bitmap.patch [deleted file]
queue-4.19/series

diff --git a/queue-4.14/pci-switchtec-read-all-64-bits-of-part_event_bitmap.patch b/queue-4.14/pci-switchtec-read-all-64-bits-of-part_event_bitmap.patch
deleted file mode 100644 (file)
index 1e38af4..0000000
+++ /dev/null
@@ -1,36 +0,0 @@
-From 6acdf7e19b37cb3a9258603d0eab315079c19c5e Mon Sep 17 00:00:00 2001
-From: Logan Gunthorpe <logang@deltatee.com>
-Date: Tue, 10 Sep 2019 13:58:33 -0600
-Subject: PCI/switchtec: Read all 64 bits of part_event_bitmap
-
-From: Logan Gunthorpe <logang@deltatee.com>
-
-commit 6acdf7e19b37cb3a9258603d0eab315079c19c5e upstream.
-
-The part_event_bitmap register is 64 bits wide, so read it with ioread64()
-instead of the 32-bit ioread32().
-
-Fixes: 52eabba5bcdb ("switchtec: Add IOCTLs to the Switchtec driver")
-Link: https://lore.kernel.org/r/20190910195833.3891-1-logang@deltatee.com
-Reported-by: Doug Meyer <dmeyer@gigaio.com>
-Signed-off-by: Logan Gunthorpe <logang@deltatee.com>
-Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
-Cc: stable@vger.kernel.org     # v4.12+
-Cc: Kelvin Cao <Kelvin.Cao@microchip.com>
-Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-
----
- drivers/pci/switch/switchtec.c |    2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
---- a/drivers/pci/switch/switchtec.c
-+++ b/drivers/pci/switch/switchtec.c
-@@ -898,7 +898,7 @@ static int ioctl_event_summary(struct sw
-       u32 reg;
-       s.global = ioread32(&stdev->mmio_sw_event->global_summary);
--      s.part_bitmap = ioread32(&stdev->mmio_sw_event->part_event_bitmap);
-+      s.part_bitmap = ioread64(&stdev->mmio_sw_event->part_event_bitmap);
-       s.local_part = ioread32(&stdev->mmio_part_cfg->part_event_summary);
-       for (i = 0; i < stdev->partition_count; i++) {
index abd4e4246cf7d99b8c8736437e8a441393015029..be12d8af755efe3c2990f8ce8f31ae517da45f79 100644 (file)
@@ -11,7 +11,6 @@ tcp-protect-accesses-to-.ts_recent_stamp-with-read-write-_once.patch
 inet-protect-against-too-small-mtu-values.patch
 nvme-host-core-fix-precedence-of-ternary-operator.patch
 revert-regulator-defer-init-completion-for-a-while-after-late_initcall.patch
-pci-switchtec-read-all-64-bits-of-part_event_bitmap.patch
 pci-pm-always-return-devices-to-d0-when-thawing.patch
 pci-fix-intel-acs-quirk-updcr-register-address.patch
 pci-msi-fix-incorrect-msi-x-masking-on-resume.patch
diff --git a/queue-4.19/pci-switchtec-read-all-64-bits-of-part_event_bitmap.patch b/queue-4.19/pci-switchtec-read-all-64-bits-of-part_event_bitmap.patch
deleted file mode 100644 (file)
index 424dd5d..0000000
+++ /dev/null
@@ -1,36 +0,0 @@
-From 6acdf7e19b37cb3a9258603d0eab315079c19c5e Mon Sep 17 00:00:00 2001
-From: Logan Gunthorpe <logang@deltatee.com>
-Date: Tue, 10 Sep 2019 13:58:33 -0600
-Subject: PCI/switchtec: Read all 64 bits of part_event_bitmap
-
-From: Logan Gunthorpe <logang@deltatee.com>
-
-commit 6acdf7e19b37cb3a9258603d0eab315079c19c5e upstream.
-
-The part_event_bitmap register is 64 bits wide, so read it with ioread64()
-instead of the 32-bit ioread32().
-
-Fixes: 52eabba5bcdb ("switchtec: Add IOCTLs to the Switchtec driver")
-Link: https://lore.kernel.org/r/20190910195833.3891-1-logang@deltatee.com
-Reported-by: Doug Meyer <dmeyer@gigaio.com>
-Signed-off-by: Logan Gunthorpe <logang@deltatee.com>
-Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
-Cc: stable@vger.kernel.org     # v4.12+
-Cc: Kelvin Cao <Kelvin.Cao@microchip.com>
-Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-
----
- drivers/pci/switch/switchtec.c |    2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
---- a/drivers/pci/switch/switchtec.c
-+++ b/drivers/pci/switch/switchtec.c
-@@ -633,7 +633,7 @@ static int ioctl_event_summary(struct sw
-       u32 reg;
-       s.global = ioread32(&stdev->mmio_sw_event->global_summary);
--      s.part_bitmap = ioread32(&stdev->mmio_sw_event->part_event_bitmap);
-+      s.part_bitmap = ioread64(&stdev->mmio_sw_event->part_event_bitmap);
-       s.local_part = ioread32(&stdev->mmio_part_cfg->part_event_summary);
-       for (i = 0; i < stdev->partition_count; i++) {
index 306c8dda946d0c9d82cd421be7ec588fdd2dfe70..ae1869c8decf9fdff31b8e7bd0f33427a2209dd7 100644 (file)
@@ -15,7 +15,6 @@ tcp-protect-accesses-to-.ts_recent_stamp-with-read-write-_once.patch
 revert-arm64-preempt-fix-big-endian-when-checking-preempt-count-in-assembly.patch
 mmc-block-make-card_busy_detect-a-bit-more-generic.patch
 mmc-block-add-cmd13-polling-for-mmc-ioctls-with-r1b-response.patch
-pci-switchtec-read-all-64-bits-of-part_event_bitmap.patch
 pci-pm-always-return-devices-to-d0-when-thawing.patch
 pci-pciehp-avoid-returning-prematurely-from-sysfs-requests.patch
 pci-fix-intel-acs-quirk-updcr-register-address.patch