mirror of
https://github.com/ibm-s390-linux/s390-tools.git
synced 2026-08-05 02:14:52 +00:00
zdev: Trigger generic_ccw devices on any kernel module loads.
Generic CCW device can use any driver, and the value of the driver is not known ahead of time. To avoid the race between loading and binding a kernel module, and devices added - retrigger generic-ccw devices on any kernel module load. Fixes: https://github.com/ibm-s390-tools/s390-tools/issues/37 Link: https://bugs.launchpad.net/ubuntu-z-systems/+bug/1794308 Closes: https://github.com/ibm-s390-tools/s390-tools/pull/45 Signed-off-by: Dimitri John Ledkov <xnox@ubuntu.com> Acked-by: Peter Oberparleiter <oberpar@linux.ibm.com> Signed-off-by: Jan Höppner <hoeppner@linux.ibm.com>
This commit is contained in:
committed by
Jan Höppner
parent
35348c302b
commit
07b11982e3
@@ -29,6 +29,7 @@
|
||||
static struct ccw_subtype_data generic_ccw_data = {
|
||||
.ccwdrv = NULL,
|
||||
.mod = NULL,
|
||||
.any_driver = true,
|
||||
};
|
||||
|
||||
/* Check if there is a non-generic subtype in the CCW namespace that uses the
|
||||
|
||||
Reference in New Issue
Block a user