]> git.ipfire.org Git - thirdparty/kernel/stable-queue.git/commitdiff
drop s390 patch
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 19 Oct 2025 12:00:38 +0000 (14:00 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 19 Oct 2025 12:00:38 +0000 (14:00 +0200)
queue-5.15/s390-cio-update-purge-function-to-unregister-the-unu.patch [deleted file]
queue-5.15/series
queue-6.1/s390-cio-update-purge-function-to-unregister-the-unu.patch [deleted file]
queue-6.1/series
queue-6.6/s390-cio-update-purge-function-to-unregister-the-unu.patch [deleted file]
queue-6.6/series

diff --git a/queue-5.15/s390-cio-update-purge-function-to-unregister-the-unu.patch b/queue-5.15/s390-cio-update-purge-function-to-unregister-the-unu.patch
deleted file mode 100644 (file)
index 2dd5441..0000000
+++ /dev/null
@@ -1,96 +0,0 @@
-From 74b0bb4c573f9eca8e5d9227f7c6e357c20a402b Mon Sep 17 00:00:00 2001
-From: Sasha Levin <sashal@kernel.org>
-Date: Wed, 1 Oct 2025 15:38:17 +0200
-Subject: s390/cio: Update purge function to unregister the unused subchannels
-
-From: Vineeth Vijayan <vneethv@linux.ibm.com>
-
-[ Upstream commit 9daa5a8795865f9a3c93d8d1066785b07ded6073 ]
-
-Starting with 'commit 2297791c92d0 ("s390/cio: dont unregister
-subchannel from child-drivers")', cio no longer unregisters
-subchannels when the attached device is invalid or unavailable.
-
-As an unintended side-effect, the cio_ignore purge function no longer
-removes subchannels for devices on the cio_ignore list if no CCW device
-is attached. This situation occurs when a CCW device is non-operational
-or unavailable
-
-To ensure the same outcome of the purge function as when the
-current cio_ignore list had been active during boot, update the purge
-function to remove I/O subchannels without working CCW devices if the
-associated device number is found on the cio_ignore list.
-
-Fixes: 2297791c92d0 ("s390/cio: dont unregister subchannel from child-drivers")
-Suggested-by: Peter Oberparleiter <oberpar@linux.ibm.com>
-Reviewed-by: Peter Oberparleiter <oberpar@linux.ibm.com>
-Signed-off-by: Vineeth Vijayan <vneethv@linux.ibm.com>
-Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
-Signed-off-by: Sasha Levin <sashal@kernel.org>
----
- drivers/s390/cio/device.c | 37 ++++++++++++++++++++++++-------------
- 1 file changed, 24 insertions(+), 13 deletions(-)
-
-diff --git a/drivers/s390/cio/device.c b/drivers/s390/cio/device.c
-index 70c5b85d2dfc9..22fa1296a5168 100644
---- a/drivers/s390/cio/device.c
-+++ b/drivers/s390/cio/device.c
-@@ -1323,23 +1323,34 @@ void ccw_device_schedule_recovery(void)
-       spin_unlock_irqrestore(&recovery_lock, flags);
- }
--static int purge_fn(struct device *dev, void *data)
-+static int purge_fn(struct subchannel *sch, void *data)
- {
--      struct ccw_device *cdev = to_ccwdev(dev);
--      struct ccw_dev_id *id = &cdev->private->dev_id;
--      struct subchannel *sch = to_subchannel(cdev->dev.parent);
-+      struct ccw_device *cdev;
--      spin_lock_irq(cdev->ccwlock);
--      if (is_blacklisted(id->ssid, id->devno) &&
--          (cdev->private->state == DEV_STATE_OFFLINE) &&
--          (atomic_cmpxchg(&cdev->private->onoff, 0, 1) == 0)) {
--              CIO_MSG_EVENT(3, "ccw: purging 0.%x.%04x\n", id->ssid,
--                            id->devno);
-+      spin_lock_irq(&sch->lock);
-+      if (sch->st != SUBCHANNEL_TYPE_IO || !sch->schib.pmcw.dnv)
-+              goto unlock;
-+
-+      if (!is_blacklisted(sch->schid.ssid, sch->schib.pmcw.dev))
-+              goto unlock;
-+
-+      cdev = sch_get_cdev(sch);
-+      if (cdev) {
-+              if (cdev->private->state != DEV_STATE_OFFLINE)
-+                      goto unlock;
-+
-+              if (atomic_cmpxchg(&cdev->private->onoff, 0, 1) != 0)
-+                      goto unlock;
-               ccw_device_sched_todo(cdev, CDEV_TODO_UNREG);
--              css_sched_sch_todo(sch, SCH_TODO_UNREG);
-               atomic_set(&cdev->private->onoff, 0);
-       }
--      spin_unlock_irq(cdev->ccwlock);
-+
-+      css_sched_sch_todo(sch, SCH_TODO_UNREG);
-+      CIO_MSG_EVENT(3, "ccw: purging 0.%x.%04x%s\n", sch->schid.ssid,
-+                    sch->schib.pmcw.dev, cdev ? "" : " (no cdev)");
-+
-+unlock:
-+      spin_unlock_irq(&sch->lock);
-       /* Abort loop in case of pending signal. */
-       if (signal_pending(current))
-               return -EINTR;
-@@ -1355,7 +1366,7 @@ static int purge_fn(struct device *dev, void *data)
- int ccw_purge_blacklisted(void)
- {
-       CIO_MSG_EVENT(2, "ccw: purging blacklisted devices\n");
--      bus_for_each_dev(&ccw_bus_type, NULL, NULL, purge_fn);
-+      for_each_subchannel_staged(purge_fn, NULL, NULL);
-       return 0;
- }
--- 
-2.51.0
-
index 486e596da0879b71f84248aa3f2d9544183b8bf5..91129dfbd3fb91c3a7eca88d56d084a3fae8c558 100644 (file)
@@ -143,7 +143,6 @@ scsi-mvsas-use-sas_task_find_rq-for-tagging.patch
 scsi-mvsas-fix-use-after-free-bugs-in-mvs_work_queue.patch
 net-mlx4-prevent-potential-use-after-free-in-mlx4_en.patch
 s390-cio-unregister-the-subchannel-while-purging.patch
-s390-cio-update-purge-function-to-unregister-the-unu.patch
 drm-vmwgfx-copy-drm-hash-table-code-into-driver.patch
 drm-vmwgfx-fix-use-after-free-in-validation.patch
 net-sctp-fix-a-null-dereference-in-sctp_disposition-.patch
diff --git a/queue-6.1/s390-cio-update-purge-function-to-unregister-the-unu.patch b/queue-6.1/s390-cio-update-purge-function-to-unregister-the-unu.patch
deleted file mode 100644 (file)
index d4cc914..0000000
+++ /dev/null
@@ -1,96 +0,0 @@
-From 39fe5b5fd2e22570728839a83d642a6d1dc04eef Mon Sep 17 00:00:00 2001
-From: Sasha Levin <sashal@kernel.org>
-Date: Wed, 1 Oct 2025 15:38:17 +0200
-Subject: s390/cio: Update purge function to unregister the unused subchannels
-
-From: Vineeth Vijayan <vneethv@linux.ibm.com>
-
-[ Upstream commit 9daa5a8795865f9a3c93d8d1066785b07ded6073 ]
-
-Starting with 'commit 2297791c92d0 ("s390/cio: dont unregister
-subchannel from child-drivers")', cio no longer unregisters
-subchannels when the attached device is invalid or unavailable.
-
-As an unintended side-effect, the cio_ignore purge function no longer
-removes subchannels for devices on the cio_ignore list if no CCW device
-is attached. This situation occurs when a CCW device is non-operational
-or unavailable
-
-To ensure the same outcome of the purge function as when the
-current cio_ignore list had been active during boot, update the purge
-function to remove I/O subchannels without working CCW devices if the
-associated device number is found on the cio_ignore list.
-
-Fixes: 2297791c92d0 ("s390/cio: dont unregister subchannel from child-drivers")
-Suggested-by: Peter Oberparleiter <oberpar@linux.ibm.com>
-Reviewed-by: Peter Oberparleiter <oberpar@linux.ibm.com>
-Signed-off-by: Vineeth Vijayan <vneethv@linux.ibm.com>
-Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
-Signed-off-by: Sasha Levin <sashal@kernel.org>
----
- drivers/s390/cio/device.c | 37 ++++++++++++++++++++++++-------------
- 1 file changed, 24 insertions(+), 13 deletions(-)
-
-diff --git a/drivers/s390/cio/device.c b/drivers/s390/cio/device.c
-index bdf5a50bd931d..c3cb73cbd0fc3 100644
---- a/drivers/s390/cio/device.c
-+++ b/drivers/s390/cio/device.c
-@@ -1309,23 +1309,34 @@ void ccw_device_schedule_recovery(void)
-       spin_unlock_irqrestore(&recovery_lock, flags);
- }
--static int purge_fn(struct device *dev, void *data)
-+static int purge_fn(struct subchannel *sch, void *data)
- {
--      struct ccw_device *cdev = to_ccwdev(dev);
--      struct ccw_dev_id *id = &cdev->private->dev_id;
--      struct subchannel *sch = to_subchannel(cdev->dev.parent);
-+      struct ccw_device *cdev;
--      spin_lock_irq(cdev->ccwlock);
--      if (is_blacklisted(id->ssid, id->devno) &&
--          (cdev->private->state == DEV_STATE_OFFLINE) &&
--          (atomic_cmpxchg(&cdev->private->onoff, 0, 1) == 0)) {
--              CIO_MSG_EVENT(3, "ccw: purging 0.%x.%04x\n", id->ssid,
--                            id->devno);
-+      spin_lock_irq(&sch->lock);
-+      if (sch->st != SUBCHANNEL_TYPE_IO || !sch->schib.pmcw.dnv)
-+              goto unlock;
-+
-+      if (!is_blacklisted(sch->schid.ssid, sch->schib.pmcw.dev))
-+              goto unlock;
-+
-+      cdev = sch_get_cdev(sch);
-+      if (cdev) {
-+              if (cdev->private->state != DEV_STATE_OFFLINE)
-+                      goto unlock;
-+
-+              if (atomic_cmpxchg(&cdev->private->onoff, 0, 1) != 0)
-+                      goto unlock;
-               ccw_device_sched_todo(cdev, CDEV_TODO_UNREG);
--              css_sched_sch_todo(sch, SCH_TODO_UNREG);
-               atomic_set(&cdev->private->onoff, 0);
-       }
--      spin_unlock_irq(cdev->ccwlock);
-+
-+      css_sched_sch_todo(sch, SCH_TODO_UNREG);
-+      CIO_MSG_EVENT(3, "ccw: purging 0.%x.%04x%s\n", sch->schid.ssid,
-+                    sch->schib.pmcw.dev, cdev ? "" : " (no cdev)");
-+
-+unlock:
-+      spin_unlock_irq(&sch->lock);
-       /* Abort loop in case of pending signal. */
-       if (signal_pending(current))
-               return -EINTR;
-@@ -1341,7 +1352,7 @@ static int purge_fn(struct device *dev, void *data)
- int ccw_purge_blacklisted(void)
- {
-       CIO_MSG_EVENT(2, "ccw: purging blacklisted devices\n");
--      bus_for_each_dev(&ccw_bus_type, NULL, NULL, purge_fn);
-+      for_each_subchannel_staged(purge_fn, NULL, NULL);
-       return 0;
- }
--- 
-2.51.0
-
index 9b206e70761476ee80bce945035688c64199b1e5..6e5cae096bef725461083c42bd594dbbaa707472 100644 (file)
@@ -28,7 +28,6 @@ scsi-mvsas-fix-use-after-free-bugs-in-mvs_work_queue.patch
 loongarch-remove-config_acpi_table_upgrade-in-platfo.patch
 loongarch-init-acpi_gbl_use_global_lock-to-false.patch
 net-mlx4-prevent-potential-use-after-free-in-mlx4_en.patch
-s390-cio-update-purge-function-to-unregister-the-unu.patch
 drm-vmwgfx-fix-use-after-free-in-validation.patch
 drm-vmwgfx-fix-copy-paste-typo-in-validation.patch
 net-sctp-fix-a-null-dereference-in-sctp_disposition-.patch
diff --git a/queue-6.6/s390-cio-update-purge-function-to-unregister-the-unu.patch b/queue-6.6/s390-cio-update-purge-function-to-unregister-the-unu.patch
deleted file mode 100644 (file)
index aa245f7..0000000
+++ /dev/null
@@ -1,96 +0,0 @@
-From 71dcc2d598c665b5ed9024b2da55750049efac57 Mon Sep 17 00:00:00 2001
-From: Sasha Levin <sashal@kernel.org>
-Date: Wed, 1 Oct 2025 15:38:17 +0200
-Subject: s390/cio: Update purge function to unregister the unused subchannels
-
-From: Vineeth Vijayan <vneethv@linux.ibm.com>
-
-[ Upstream commit 9daa5a8795865f9a3c93d8d1066785b07ded6073 ]
-
-Starting with 'commit 2297791c92d0 ("s390/cio: dont unregister
-subchannel from child-drivers")', cio no longer unregisters
-subchannels when the attached device is invalid or unavailable.
-
-As an unintended side-effect, the cio_ignore purge function no longer
-removes subchannels for devices on the cio_ignore list if no CCW device
-is attached. This situation occurs when a CCW device is non-operational
-or unavailable
-
-To ensure the same outcome of the purge function as when the
-current cio_ignore list had been active during boot, update the purge
-function to remove I/O subchannels without working CCW devices if the
-associated device number is found on the cio_ignore list.
-
-Fixes: 2297791c92d0 ("s390/cio: dont unregister subchannel from child-drivers")
-Suggested-by: Peter Oberparleiter <oberpar@linux.ibm.com>
-Reviewed-by: Peter Oberparleiter <oberpar@linux.ibm.com>
-Signed-off-by: Vineeth Vijayan <vneethv@linux.ibm.com>
-Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
-Signed-off-by: Sasha Levin <sashal@kernel.org>
----
- drivers/s390/cio/device.c | 37 ++++++++++++++++++++++++-------------
- 1 file changed, 24 insertions(+), 13 deletions(-)
-
-diff --git a/drivers/s390/cio/device.c b/drivers/s390/cio/device.c
-index 6b374026cd4f4..31f46b56e049d 100644
---- a/drivers/s390/cio/device.c
-+++ b/drivers/s390/cio/device.c
-@@ -1318,23 +1318,34 @@ void ccw_device_schedule_recovery(void)
-       spin_unlock_irqrestore(&recovery_lock, flags);
- }
--static int purge_fn(struct device *dev, void *data)
-+static int purge_fn(struct subchannel *sch, void *data)
- {
--      struct ccw_device *cdev = to_ccwdev(dev);
--      struct ccw_dev_id *id = &cdev->private->dev_id;
--      struct subchannel *sch = to_subchannel(cdev->dev.parent);
-+      struct ccw_device *cdev;
--      spin_lock_irq(cdev->ccwlock);
--      if (is_blacklisted(id->ssid, id->devno) &&
--          (cdev->private->state == DEV_STATE_OFFLINE) &&
--          (atomic_cmpxchg(&cdev->private->onoff, 0, 1) == 0)) {
--              CIO_MSG_EVENT(3, "ccw: purging 0.%x.%04x\n", id->ssid,
--                            id->devno);
-+      spin_lock_irq(&sch->lock);
-+      if (sch->st != SUBCHANNEL_TYPE_IO || !sch->schib.pmcw.dnv)
-+              goto unlock;
-+
-+      if (!is_blacklisted(sch->schid.ssid, sch->schib.pmcw.dev))
-+              goto unlock;
-+
-+      cdev = sch_get_cdev(sch);
-+      if (cdev) {
-+              if (cdev->private->state != DEV_STATE_OFFLINE)
-+                      goto unlock;
-+
-+              if (atomic_cmpxchg(&cdev->private->onoff, 0, 1) != 0)
-+                      goto unlock;
-               ccw_device_sched_todo(cdev, CDEV_TODO_UNREG);
--              css_sched_sch_todo(sch, SCH_TODO_UNREG);
-               atomic_set(&cdev->private->onoff, 0);
-       }
--      spin_unlock_irq(cdev->ccwlock);
-+
-+      css_sched_sch_todo(sch, SCH_TODO_UNREG);
-+      CIO_MSG_EVENT(3, "ccw: purging 0.%x.%04x%s\n", sch->schid.ssid,
-+                    sch->schib.pmcw.dev, cdev ? "" : " (no cdev)");
-+
-+unlock:
-+      spin_unlock_irq(&sch->lock);
-       /* Abort loop in case of pending signal. */
-       if (signal_pending(current))
-               return -EINTR;
-@@ -1350,7 +1361,7 @@ static int purge_fn(struct device *dev, void *data)
- int ccw_purge_blacklisted(void)
- {
-       CIO_MSG_EVENT(2, "ccw: purging blacklisted devices\n");
--      bus_for_each_dev(&ccw_bus_type, NULL, NULL, purge_fn);
-+      for_each_subchannel_staged(purge_fn, NULL, NULL);
-       return 0;
- }
--- 
-2.51.0
-
index 558737643ab9e4941c8c373f16a1c883110b5167..1ed866f6336c288ccc434a58ee974a82f1781f1c 100644 (file)
@@ -29,7 +29,6 @@ asoc-sof-ipc4-topology-correct-the-minimum-host-dma-.patch
 loongarch-remove-config_acpi_table_upgrade-in-platfo.patch
 loongarch-init-acpi_gbl_use_global_lock-to-false.patch
 net-mlx4-prevent-potential-use-after-free-in-mlx4_en.patch
-s390-cio-update-purge-function-to-unregister-the-unu.patch
 drm-vmwgfx-fix-a-null-ptr-access-in-the-cursor-snoop.patch
 drm-vmwgfx-fix-use-after-free-in-validation.patch
 drm-vmwgfx-fix-copy-paste-typo-in-validation.patch